This is a Fediverse bot which uses the cubeglobe library to generate images and post them via the Mastodon API.
In normal mode, you will need SDL2 installed on your system. Check out rust-sdl2's readme for more details on this. With SDL2 installed, you can build with Cargo:
cargo build --releaseTo use rust-sdl2 bundled mode, enable feature sdlbundled:
cargo build --release --features sdlbundled- Copy
example.config.tomltoconfig.toml. - Fill out
config.tomlwith the relevant credentials. This program does not register as an app or obtain a token, you will have to do it yourself. - Take a look at
cubeglobe/assets/full-tiles.toml. It contains the path to the assets directory. You may wish to copy this file and edit the path so it reflects the situation on your system and points to where the assets directory is. - Run with
cubeglobe-bot --tiles path/to/your/full-tiles.toml