mirror of
https://github.com/ewanc26/mastodon-markov.git
synced 2026-07-21 15:33:20 +00:00
Mirror of github.com/ewanc26/mastodon-markov
- Rust 88.4%
- Nix 11.6%
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Mastodon Markov Bot
A Rust tool to create and post Markov chain-generated content to a Mastodon account.
Requirements
- Rust 1.85+ (Cargo)
Installation
-
Clone the repository:
git clone https://github.com/ewanc26/mastodon-markov.git cd mastodon-markov -
Build the project:
cargo build --release -
Configuration:
Create a.envfile in the root directory with the following variables:MASTODON_BASE_URL=... MASTODON_ACCESS_TOKEN=... DESTINATION_MASTODON_BASE_URL=... DESTINATION_MASTODON_ACCESS_TOKEN=... SOURCE_MASTODON_ACCOUNT_ID=...
Usage
Run the bot:
cargo run --release
License
This project is licensed under the MIT License. See the LICENSE file for details.