Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dariusk/sorting-bot
The Sorting Hat Bot (@SortingBot on Twitter)
https://github.com/dariusk/sorting-bot
Last synced: 23 days ago
JSON representation
The Sorting Hat Bot (@SortingBot on Twitter)
- Host: GitHub
- URL: https://github.com/dariusk/sorting-bot
- Owner: dariusk
- License: mit
- Created: 2015-04-13T18:22:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T18:31:00.000Z (over 9 years ago)
- Last Synced: 2024-10-13T21:35:09.090Z (about 1 month ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 40
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# sorting-hat (Sorting Hat)
The source code to [@SortingBot](http://twitter.com/SortingBot).
For a partial explanation of this code, see [this blog post](http://tinysubversions.com/notes/sorting-bot).
This consists of two programs:
* `watcher.js` - This is watching for new follows and adding them to the `queue` list in a Redis DB. Runs persistently (run on boot and use [forever](http://npmjs.org/package/forever) or similar as a wrapper).
* `index.js` - This runs once a minute and pops the queue, generating a poem for the next person in line.
You need to be running a redis database for the bot to work.
## License
Copyright (c) 2015 Kazemi, Darius
Licensed under the MIT license.