This repository has been archived on 2022-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Ben Lubar db7b9d6e10
Rewrite in Go.
2018-10-20 16:09:16 -05:00
.gitignore initial commit 2018-10-09 11:11:51 +10:00
Dockerfile Rewrite in Go. 2018-10-20 16:09:16 -05:00
LICENSE initial commit 2018-10-09 11:11:51 +10:00
README.md Rewrite in Go. 2018-10-20 16:09:16 -05:00
auth.go Rewrite in Go. 2018-10-20 16:09:16 -05:00
gen.go Rewrite in Go. 2018-10-20 16:09:16 -05:00
go.mod Rewrite in Go. 2018-10-20 16:09:16 -05:00
go.sum Rewrite in Go. 2018-10-20 16:09:16 -05:00
main.go Rewrite in Go. 2018-10-20 16:09:16 -05:00
markov.go Rewrite in Go. 2018-10-20 16:09:16 -05:00
status.go Rewrite in Go. 2018-10-20 16:09:16 -05:00

README.md

mstdn-ebooks

Lynnear Edition

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

  • Unicode support
  • Non-Markov stuff
  • Doesn't unecessarily redownload all toots every time
  • Uses an API called "webfinger" to allow downloading toots not known to your bot's instance
  • Self-contained executable handles scheduling
  • Docker support
  • Written in Go

Installation

  1. Build mstdn-ebooks the same way you would build any Go program (go get, etc.) Alternatively, if you don't want to build it yourself, download a precompiled release version.
  2. If you haven't already, create an account on botsin.space or another instance.
  3. Make sure the bot account is ONLY following you. Remove any default follows.
  4. Run the mstdn-ebooks command. If your instance is not botsin.space, run the command as mstdn-ebooks -server https://[your instance].
  5. Copy the URL it generates into a browser logged into your bot account, and copy the code that Mastodon generates back to the program.
  6. Congratulations! Your ebooks bot is now running. To restart it, you only need to redo step 4.