- Title: drdoogie.rb - Vote Trail Bot for Hive
- Tags: radiator ruby curation
- Notes:
Added support for Hive.
- YAML config.
global
mode
head
- the last blockirreversible
- (default) the block that is confirmed by 2/3 of all block producers and is thus irreversible!
scale_votes
- scale votes in %max_age
- only vote if the post is under this number in minutesallow_upvote
- trail upvotesallow_downvote
- trail downvotesenable_comments
- vote for commentsskip_tags
- do not vote if the post contains any of these tagsonly_tags
- only vote if the post includes at least one of these tags
Dr. Doogie (drdoogie.rb
) is a voting bot that will trail the votes of other accounts in order to then mirror their voting pattern.
To use this Radiator script:
See: rvm.io
$ gem install bundler
First, clone this gist and install the dependencies:
$ git clone https://gist.github.com/d57c9bc744f05ada01d173521c01df8a.git drdoogie
$ cd drdoogie
$ bundle install
$ ruby drdoogie.rb
Check here to see an updated version of this script:
https://gist.github.com/inertia186/d57c9bc744f05ada01d173521c01df8a
Typically, you can upgrade to the latest version by this command, from the original directory you cloned into:
$ git pull
Usually, this works fine as long as you haven't modified anything. If you get an error, try this:
$ git stash --all
$ git pull --rebase
$ git stash pop
If you're still having problems, I suggest starting a new clone.
drdoogie.yml:1: syntax error, unexpected ':', expecting end-of-input
`from_base58': Invalid version (RuntimeError)
Make sure the .yml
file voters
item have the correct account name and WIF posting key.
Is there a list of nodes?
https://developers.hive.io/quickstart/#quickstart-hive-full-nodes
See my previous Ruby How To posts in: #radiator #ruby
If you're using drdoogie, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on Hive.
I don't believe in intellectual "property". If you do, consider drdoogie as licensed under a Creative Commons License.