Mirror of github.com/ewanc26/mastodon-markov
  • Rust 88.4%
  • Nix 11.6%
Find a file
2026-07-16 18:22:46 +01:00
src docs: add comments to source files 2026-06-29 22:00:16 +01:00
.gitattributes Initial commit 2024-03-02 16:13:50 +00:00
.gitignore get rid of .DS_Store files 2024-09-22 05:43:35 +01:00
.pre-commit-config.yaml docs: add comments to source files 2026-06-29 22:00:16 +01:00
AGENTS.md docs: correct agent guidance after source audit 2026-07-16 18:22:46 +01:00
Cargo.lock Convert from Python to Rust 2026-06-14 16:27:40 +01:00
Cargo.toml Convert from Python to Rust 2026-06-14 16:27:40 +01:00
flake.nix docs: add comments to source files 2026-06-29 22:00:16 +01:00
LICENSE Initial commit 2024-03-02 16:13:50 +00:00
README.md Convert from Python to Rust 2026-06-14 16:27:40 +01:00

Mastodon Markov Bot

No Maintenance Intended

A Rust tool to create and post Markov chain-generated content to a Mastodon account.

Requirements

  • Rust 1.85+ (Cargo)

Installation

  1. Clone the repository:

    git clone https://github.com/ewanc26/mastodon-markov.git
    cd mastodon-markov
    
  2. Build the project:

    cargo build --release
    
  3. Configuration:
    Create a .env file 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.