1 stable release

1.0.0 Dec 28, 2024

#19 in Robotics

Download history 127/week @ 2024-12-24 2/week @ 2024-12-31

129 downloads per month

MIT license

44KB
875 lines

Blot CLI

CLI for the Hack Club Blot

Install it from the latest release or from crates.io:

cargo install blot-cli

Demo: https://asciinema.org/a/696324

About

Blot is a drawing machine made by Hack Club. You can program it using JavaScript in the Blot editor online. However, the controls on the online editor felt a little lacking, and I wanted to be able to control Blot from my headless Raspberry Pi. So I made a CLI!

Usage

CLI for the Hack Club Blot

Usage: blot [OPTIONS] <COMMAND>

Commands:
  go           Move the pen to the specified coordinates
  motors       Manage the Blot's stepper motors
  origin       Manage the Blot's origin
  pen          Manage the Blot's pen
  interactive  Enter interactive mode
  help         Print this message or the help of the given subcommand(s)

Options:
  -p, --port <PORT>  
  -h, --help         Print help
  -V, --version      Print version

The Blot CLI features standalone commands for each function that the stock Blot firmware supports. It also has an interactive mode, where you can use a simple TUI to control the Blot.

Dependencies

~11–23MB
~343K SLoC