No description
Find a file
2023-02-17 17:01:11 +01:00
src code formatting 2023-02-13 18:53:24 +01:00
.gitignore initial commit 2023-02-13 07:23:17 +01:00
Cargo.lock switch build to musl and static linked binaries 2023-02-17 17:01:11 +01:00
Cargo.toml switch build to musl and static linked binaries 2023-02-17 17:01:11 +01:00
README.md very basic readme 2023-02-13 19:34:32 +01:00

MarkovGesetz

Configuration

MARKOV_CORPUS_PATH = path to a text file containing the corpus

MARKOV_BASE_URL = base url of the mastodon instance e.g. https://social.example.com

MARKOV_ACCESS_TOKEN = accesstoken of the mastodon account

MARKOV_LAW_MAX_TRIES = maximum number of tries to find a law shorter then MARKOV_LAW_MAX_LENGTH

MARKOV_LAW_MAX_TRIES = maximum length of a generated law

MARKOV_HASHTAGS = comma separated list of hashtags eg. foo,bar,baz the # are added automatically.