A textfile markov bot for Mastodon API compatible instances.
转到文件
Lynne Megido 1accbedd0f gitignore model.json 2019-05-30 20:37:02 +10:00
.gitignore gitignore model.json 2019-05-30 20:37:02 +10:00
LICENSE initial commit 2019-05-30 20:22:11 +10:00
README.md initial commit 2019-05-30 20:22:11 +10:00
create.py initial commit 2019-05-30 20:22:11 +10:00
gen.py fixed 401 error 2019-05-30 20:32:05 +10:00
main.py removed reference to mstdn-ebooks 2019-05-30 20:33:29 +10:00
requirements.txt initial commit 2019-05-30 20:22:11 +10:00

txtbooks

A simple bot for posting sentences generated with markov chains.

Instructions

  • Clone this repo
  • Install the requirements in requirements.txt with pip (python 3 required)
  • Supply a corpus.txt in any format.
  • Run main.py and authenticate with the account you want the bot to post from.
  • Run gen.py to post!