Steem Community Upvote Bot by beat-the-bookies

View this thread on steempeak.com
· @beat-the-bookies · (edited)
$1.86
Steem Community Upvote Bot
<center>![scb.jpeg](https://steemitimages.com/DQmVdQSh1MVKnKaj9e6K7wf8hFx5Qx2y8eTaXK9JCjUXPRb/scb.jpeg)</center>



### 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:

1. 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.

2. a member is using a community tag on the post he or she wants the bot to vote on

<br>

#### How the Bot Works?

The bot runs as a Heroku task. It reads its settings from Heroku environment and then:

1. It pulls the list of accounts followed by its steem account
2. it goes through the list and fetches the latest blog entry
3. it checks the post for the community tag
3. it votes on the post (if it hasn't already voted on)



<br>


#### How To Setup the Bot?

<br>

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

```

<br>


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>

```

<br>


Open the scheduler dashboard and set the desired run interval:

```
$ heroku addons:open scheduler

```

<br>

Make sure everything is set correctly by doing a test run:

```
$ heroku run python vote.py

```

<br>



---


### Technology Stack

---

The bot is written in Python and uses the following libraries: [flask](http://flask.pocoo.org/), [gunicorn](http://gunicorn.org/), and [steem](https://github.com/steemit/steem-python). It runs on the Heroku platform.


<br>

### Roadmap

---

The planned features included:

1. Web-based configuration
2. Per member vote weight settings
3. Daily upvote limits

---

<br>


If you want the code dm me on Discord: **beat-the-bookies#6054**
👍  , , , , , , , , , , , , , , , ,
properties (23)
post_id48,861,625
authorbeat-the-bookies
permlinksteem-community-upvote-bot
categoryutopian-io
json_metadata"{"image": ["https://steemitimages.com/DQmVdQSh1MVKnKaj9e6K7wf8hFx5Qx2y8eTaXK9JCjUXPRb/scb.jpeg"], "app": "steemit/0.1", "format": "markdown", "links": ["http://flask.pocoo.org/", "http://gunicorn.org/", "https://github.com/steemit/steem-python"], "tags": ["why", "bother", "utopian-io"]}"
created2018-05-16 17:10:15
last_update2018-05-17 15:03:30
depth0
children1
net_rshares382,037,511,543
last_payout2018-05-23 17:10:15
cashout_time1969-12-31 23:59:59
total_payout_value1.475 SBD
curator_payout_value0.380 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,077
author_reputation19,952,623,149,688
root_title"Steem Community Upvote Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (17)
@amosbastian · (edited)
Thanks for the contribution!

It's a cool idea, but I think the code is a bit too trivial. If you want to get rewarded for future contributions to this project then I would recommend that you make sure there aren't any other projects that already do this (I think there are quite a few similar Python scripts like this) and that you work on improving the quality of your code. 

I love Python and football, so if you ever need help with anything you can contact me on Discord at Amos#4622.

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
properties (22)
post_id48,987,218
authoramosbastian
permlinkre-beat-the-bookies-steem-community-upvote-bot-20180517t134203957z
categoryutopian-io
json_metadata"{"links": ["https://support.utopian.io/", "https://discord.gg/uTyJkNm", "https://join.utopian.io/"], "tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-17 13:42:03
last_update2018-05-17 15:58:48
depth1
children0
net_rshares0
last_payout2018-05-24 13:42:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length659
author_reputation174,225,255,912,876
root_title"Steem Community Upvote Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000