diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2024-05-20 16:28:48 -0600 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:26:17 -0600 |
| commit | 3a7c55a6e5e02edfe48d38c861a760fdb5aabb4a (patch) | |
| tree | 4e5b1d6c3297f1524ab42c166c7d5c30c7451c68 /readme.md | |
| parent | 2618b264f3b32b67c479833f4ece9c6dcf6d0d92 (diff) | |
It's a fork now
Most notably, I've moved a bunch of options to a
separate config file and added the ability to not
use a CW by leaving that field blank. Plus updated
the README
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..707a096 --- /dev/null +++ b/readme.md @@ -0,0 +1,25 @@ +Basic Markov bot for Misskey. Fork of https://activitypub.software/kopper/markov + +## Setup + +- Install dependencies: +``` +pip install -r requirements.txt +python -m spacy download en_core_web_sm +``` +- Export your notes from Misskey and generate a model: +``` +python import-misskey.py notes-XXXX-XX-XX-XX-XX-XX.json +``` +- Generate an API token for the bot account and use it here: +``` +echo "TOKEN='yourtoken'" > secrets__.py +``` +- Copy `config__.default.py` to `config__.py` and edit as needed + +## Usage + +``` +python generate.py +``` +Point a cronjob to this file to post automatically |
