What is the project about?
Community Upvote Bot is a bot written in Python and intended to be deployed and run on a free Heroku dyno.
The bot assumes two things:
a member of the community is every steem account followed by the bot's steem account. The members are listed and removed by following and unfollowing their steem blogs.
a member is using a community tag on the post he or she wants the bot to vote on
How the Bot Works?
The bot runs as a Heroku task. It reads its settings from Heroku environment and then:
- It pulls the list of accounts followed by its steem account
- it goes through the list and fetches the latest blog entry
- it checks the post for the community tag
- it votes on the post (if it hasn't already voted on)
How To Setup the Bot?
Login to Heroku, create the app, and add scheduler addon to it:
$ heroku login
$ heroku create <your_app or leave it out>
$ heroku addons:create scheduler:standard
Configure the bot:
$ heroku config:set STEEMIT_ACCOUNT=<bot account>
$ heroku config:set VOTE_WEIGHT=<default vote weight>
$ heroku config:set PRIVATE_ACTIVE_KEY=<private active key>
$ heroku config:set COMMUNITY_TAG=<your community tag>
Open the scheduler dashboard and set the desired run interval:
$ heroku addons:open scheduler
Make sure everything is set correctly by doing a test run:
$ heroku run python vote.py
Technology Stack
The bot is written in Python and uses the following libraries: flask, gunicorn, and steem. It runs on the Heroku platform.
Roadmap
The planned features included:
- Web-based configuration
- Per member vote weight settings
- Daily upvote limits
If you want the code dm me on Discord: beat-the-bookies#6054