curobot - Your personal curation bot on the steem network

Words
301
Reading
2 min
Listen
Play
9y

Hello,

I have been using steemvoter in the last couple of weeks. I like the idea of auto-casting votes for the selected accounts.

Yesterday, I realized I have run out my free limits at steemvoter and found out if you ever want to increase that limit, you have to pay 3 SBD monthly.

That gave me the idea that I can build and run a small CLI app that can do the same thing for me.

I know 3SBD is not much. But I do like creating my own stuff generally and this was a great example of it.

Curobot

Curation + Robot.

Curobot has the same functionality of steemvoter except you don't have any web interface, form inputs.

It automatically casts votes for the selected users' posts. You can set your vote weight, vote delay in minutes per account.

It's not end user-friendly, but if you know about python and use servers, this can work in a small server -- even in your computer.

It's -of course- open source and licensed with MIT. You can see it @github/emre/curobot

Installation

(sudo) pip install curobot

You're all set. (You need python 3.6+)

Running

$ curobot config_file.json

Configuration Details

{
  "rules": [
    {"author": "keepcalmanddread", "weight": 50.0, "vote_delay": 30},
    {"author": "fetch", "weight": 50.0, "vote_delay": 30},
  ],
  "keys": ["PRIVATE_KEY"],
  "account": "emrebeyler",
  "mysql_uri": "mysql+pymysql://root:pass@localhost/curobot",
  "nodes": ["https://rpc.buildteam.io"]
}

rules

authorweightvote_delay
account usernamevote power in percentageX minutes before vote

keys

Your private posting key

account

Voter account name

mysql_uri

mySQL connection string

nodes

Public RPC nodes to connect.

Database setup

curobot stores logs in mysql. Just set your connection uri in the config. No need to do anything else. curobot handles creation of related tables.

You can then see the action in your mysql console:

Also, curobot gives helpful logging information to the stdout which you can check what's the bot doing.

Disclaimer

Please, don't use curobot for spamming network with upvotes. It's designed to be helpful for your manual curations.


Open Source Contribution posted via Utopian.io

curobot - Your personal curation bot on the steem network | Ecency