https://github.com/johnnyjayjay/programming-takes
Mastodon bot that posts randomly generated opinions on programming topics
https://github.com/johnnyjayjay/programming-takes
Last synced: 5 months ago
JSON representation
Mastodon bot that posts randomly generated opinions on programming topics
- Host: GitHub
- URL: https://github.com/johnnyjayjay/programming-takes
- Owner: JohnnyJayJay
- License: mit
- Created: 2022-11-25T11:12:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-09T19:34:55.000Z (over 2 years ago)
- Last Synced: 2025-07-14T07:53:02.097Z (6 months ago)
- Language: JavaScript
- Size: 143 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Programming Takes
This is a small adaptation of the [hotTakes module](https://github.com/TheDeveloperDen/DevDenBot/blob/master/src/modules/hotTakes/hotTakes.util.ts) used in the [Developer Den](https://developerden.net/) Discord bot. This repo simply adds a periodic task to post generated hot takes to [Mastodon](https://joinmastodon.org).
Future endeavours include a feature that enables user interaction (i.e., users mention the bot -> it responds with a hot take). For now though, this is very simple.
## Run it
To run it yourself, first edit [config.template.json](./config.template.json) to suit your needs. The configuration options should mostly be self-explanatory. `interval` is in milliseconds.
After you've done your configuration, simply rename the file to `config.json`, run `npm install` and then `npm start`.
You can also use this to generate some hot takes without posting them anywhere. To do this, run `npm start -- --dry-run `.
The repository also contains a [Dockerfile](./Dockerfile) if you prefer running via Docker.