mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-20 04:11:13 -05:00
cfd7b74d3d708323c2a24f914dc77d235828930a
- Use .env file for secrets/config values - Maintain follower/following parity periodically TODO: - Support banned terms (override #valid_tweet?) - Commands via DM (at least "tweet" command from owner should work) - Investigate (anti)social behavior more deeply THEN: - Spooling/wait-for-config state for post-deploy, pre-config - Archive/model creation post-deploy - Archive/model periodic refresh
ebooks_example
As requested, this is the twitter_ebooks app which I use to run most of my own bots. It tweets one guaranteed tweet every 24h, always responds to interactions, and has some small unprompted interaction probability based on keyword matching.
Usage
git clone https://github.com/mispy/ebooks_example.git
cd ebooks_example
bundle install
ebooks archive username corpus/username.json
ebooks consume corpus/username.json
Populate bots.rb with your auth details, the bot username and model name, then:
ebooks start
Also runs as a Heroku app! See the twitter_ebooks README for more information.
Description
Languages
Ruby
99.7%
Procfile
0.3%