Experimental Mastodon bot for Octoprint.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jason J. Gullickson f7b763e139
Cleanup.
2 months ago
.gitignore It toots the printer status. 2 months ago
LICENSE Initial commit 2 months ago
README.md It toots the printer status. 2 months ago
config.yaml.example It toots the printer status. 2 months ago
go.mod It toots the printer status. 2 months ago
go.sum It toots the printer status. 2 months ago
octotoot Basic reply to mention functionality working. 2 months ago
octotoot.go Cleanup. 2 months ago
setup It toots the printer status. 2 months ago
setup.go It toots the printer status. 2 months ago

README.md

octotoot

Experimental Mastodon bot for Octoprint.

Status

Currently not ready for general use, but it can call the API of the configured Octoprint server and post the status of the printer to Mastodon.

Usage

You probably shouldn't (see above), but if you insist...

  1. You'll need to configure this as an application on your Mastodon instance (the setup program will do this for you eventually, but you can probably do it manually as well)
  2. Copy config.yaml.example to config.yaml
  3. Edit config.yaml to access your Octoprint and Mastodon servers/accounts
  4. Run octotoot (you may need to compile it with go build octotoot.go if the included binary doesn't suit your architecture)

A lot of debugging info will get dumped to the console, but if it works you should see the status of your printer posted to the fedivers!

TODO

  • Finish the setup program
  • Run continuously and post updates for print progress and status changes
  • Listen for toots requesting status
  • Allow authorized Mastodon accounts to perform some commands (stop in particular)
  • Post pictures of the print when finished, and respond with pictures when status is requested