An open API service indexing awesome lists of open source software.

https://github.com/zevv/bambucli


https://github.com/zevv/bambucli

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

![NPeg](/bambucli.png)

This is an experimental CLI interface to the Bambu printer family. I
exclusively use my printer in LAN only mode, and it makes me happy to see that
Bambu chose to use standard open protocols for their interface.

## Building

- `nimble install nmqtt`
- `nim c -d:ssl bambucli.nim`

## Usage

Create a file `~/.bambu` containing one line with the IP address of your printer and the password, separated by a `:`, mine looks
like this:

```
10.0.0.30:734f29a1
```

run `./bambucli`

Note: for true color display on linux, you might need to set the `COLORTERM` environment variable:

```
export COLORTERM=truecolro
```

## TODO

- basic control (pause, resume, etc)
- uPnP device discovery