Play Lightbot on Mastodon
- JavaScript 100%
| .vscode | update gitignore | |
| util | move some constants to the config file | |
| .gitignore | update gitignore | |
| config_example.js | [minor] defaults cheats to false | |
| index.js | [minor] deactivate saving the "update" event to a file | |
| LICENSE | Initial commit | |
| package-lock.json | Merge branch 'master' into dev | |
| package.json | [WIP] started working on the rate-limiter | |
| README.md | add link to the bot in the Readme | |
Lightbot for Mastodon
A small game rewarding patience.
Take a deep breath and look into the lights.
Lightbot is a Mastodon bot that generate images for you. Like a desk plant, your image is persistent and evolves over time.
Example of a picture made by Lightbot Example of a picture made by Lightbot
Play
Lightbot's profile: https://botsin.space/@lightbot
Send a toot to the bot: @lightbot@botsin.space
Alternate versions:
- For Discord: https://github.com/narFnarF/lightbot
- Original game for desktop and web browser: https://narf.itch.io/light-game
How to install on your own machine
You can install Lightbot on your own server, computer or Raspberry Pi. It is recommended to use a machine that will stay online 24/7 but you can really install it on whatever computer you want.
- Get the repo
- (TODO: write how!)
npm install(On a Raspberry Pi, this can take 20-30 minutes and sometime look stuck for long durations. Leave it running until it's done.)- Setup your auth key:
- TODO: Update this
- rename
auth_example.jsontoauth.json - Get your bot authorization key from Discord and copy it at the appropriate place in
auth.json
- Setup your config:
- Rename
config_example.jsontoconfig.json - Edit
config.jsonfollowing the instructions in the comments
- Rename