Sentient Dwarf Fortress was inevitable.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Fix toot loading not going to the next page. Aug 18, 2018
Dockerfile Update golang Docker tag to v1.11.4 Dec 18, 2018
LICENSE Initial commit Aug 17, 2018
README.md Add rel="me" to README links; clarify the difference between the Fedi… Dec 17, 2018
announcements.txt.go Initial commit Aug 17, 2018
cleanup.go
config.example.go Implement fuzzy duplicate checking. Aug 19, 2018
cp437.go Initial commit Aug 17, 2018
df-ai.json.go
game.go Implement fuzzy duplicate checking. Aug 19, 2018
go.mod Update golang.org/x/sys commit hash to 074acd4 Dec 18, 2018
go.sum Update golang.org/x/sys commit hash to 074acd4 Dec 18, 2018
main.go Fix toot loading not going to the next page. Aug 18, 2018
mastodon.example.go Fix toot loading not going to the next page. Aug 18, 2018
mastodon.go
renovate.json
run.bash
seccomp.json

README.md

Sentient Dwarf Fortress was inevitable.

The source code that powers @it_was_inevitable and @it_was_inevitable_slow on botsin.space in the Fediverse.

See the entry on BotWiki.org.

To run locally:

  1. If you haven't already, install Docker.
  2. Create an application on your Mastodon instance on the bot account.
  3. Have at least these scopes selected:
  • read:accounts and read:statuses (or just read)
  • write:statuses (or just write)
  1. Copy config.example.go and make the following changes:
  • Change example in the // +build example line to some other word (for example, yourtag).
  • Replace the placeholder data in the config object with the data from your Mastodon application. (The application interface lists the data in the same order it is defined in config.example.go.)
  • Optional: Modify the other constants in the file.
  1. Run ./run.bash yourtag

To run locally without a Mastodon account:

  1. If you haven't already, install Docker.
  2. Run ./run.bash example
  3. When you're done watching the example, push Ctrl+C.