An ebooks bot for mastodon and pleroma. Forked from https://github.com/AgathaSorceress/mstdn-ebooks
Go to file
Lynne 0625086b4c
???
2018-12-12 15:42:33 +10:00
.editorconfig EditorConfig config 2018-11-24 23:58:09 +00:00
.gitignore initial commit 2018-10-09 11:11:51 +10:00
Dockerfile Add a Dockerfile. 2018-11-14 00:38:07 -06:00
LICENSE initial commit 2018-10-09 11:11:51 +10:00
README.md WIP heroku support 2018-12-05 12:45:03 +10:00
app.json oops forgot to add the app.json 2018-12-05 12:48:33 +10:00
config.json ??? 2018-12-12 15:42:33 +10:00
create.py less memey error message 2018-11-22 15:47:26 +10:00
gen.py Add support for content warnings on posts. 2018-11-24 13:13:02 -06:00
main.py less indentified 2018-11-29 05:36:05 +10:00
reply.py Add support for content warnings on posts. 2018-11-24 13:13:02 -06:00
requirements.txt Update requirements.txt 2018-10-11 12:21:44 +10:00

README.md

mstdn-ebooks

Deploy

Lynnear Edition

This version makes quite a few changes from the original, such as:

  • Unicode support
  • Non-Markov stuff
  • Stores toots in a sqlite database rather than a text file
    • Doesn't unecessarily redownload all toots every time

Install/usage guide

An installation and usage guide is available here. It's primarily targeted at Linux, but it should be possible on BSD, macOS, etc. I've also put some effort into providing steps for Windows, but I can't make any guarantees as to its effectiveness.

Original README

hey look it's an ebooks bot

python3

install the requirements with sudo pip3 install -r requirements.txt

make a bot (probably on bots in space) and follow the target accounts

run python3 main.py to login and scrape

run python3 gen.py to make a toot

cron is an okay choice to make it toot regularly