bambu

Crates.iobambu
lib.rsbambu
version0.3.1
created_at2025-01-28 17:13:38.775491+00
updated_at2025-02-23 23:08:20.961186+00
descriptionRust crate that provides a high-level API for interacting with the BambuLab 3D printers.
homepage
repositoryhttps://github.com/mpapierski/bambu-rs/
max_upload_size
id1533771
size129,203
Michał Papierski (mpapierski)

documentation

README

Bambu library

Bambu is a library for Rust ecosystem that interacts with BambuLab 3D printers that are LAN mode enabled.

Supported features

  • Interact with MQTT server to send requests and receive responses.
  • Access the camera feed.
  • Access files stored on the SD card.

Getting Started

Prerequisites

  • Rust and Cargo installed.

Building the Project

To build the project, run:

cargo build

Running examples

One of the examples is a simple mjpeg stream server. Run it with:

export BAMBU_ACCESS_CODE=12345678
export BAMBU_IP=192.168.1.135
export BAMBU_SERIAL_NUMBER=123456789ABCDE
cargo run --example mjpeg_stream

Running the Project

To run the tests, use:

cargo test

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Commit count: 19

cargo fmt