curobot - Your personal curation bot on the steem networksteemCreated with Sketch.

in #utopian-io7 years ago (edited)

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

Sort:  

Hey @emrebeyler I am @utopian-io. I have just super-voted you at 20% Power!

Suggestions https://utopian.io/rules

  • Your contribution is less informative than others in this category.

Achievements

  • I am a bot...I love developers... <3
  • You have less than 500 followers. Just gave you a gift ;)
  • Seems like you contribute quite often. AMAZING!
  • You have a good amount of votes on your contributions. Good job!
    Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Erroneous comma:

{"author": "fetch", "weight": 50.0, "vote_delay": 30},

Do you have a github?

After fixing the above this still fails for me, and I don't know why:

Traceback (most recent call last):
  File "/usr/local/bin/curobot", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/curobot/curobot.py", line 178, in main
    return listen(config)
  File "/usr/local/lib/python3.6/dist-packages/curobot/curobot.py", line 169, in listen
    tx_listener = TransactionListener(steem, config)
  File "/usr/local/lib/python3.6/dist-packages/curobot/curobot.py", line 28, in __init__
    self.minimum_vp = config["minimum_vp"]
KeyError: 'minimum_vp'

add minimum_vp to the config.

beware; curobot is not in use for a good amount of time. It might need some tweaks for hf20 changes.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Is there a domain like as steemvoter.com? I see, some users want to vote to active users. curobot may helpful for they

Time is a river,this is 2 years old !BEER

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63271.81
ETH 2568.70
USDT 1.00
SBD 2.80