It's only been two days since I've created the Post Promoter JavaScript voting bot software and it's already had a good bit of interest. As I suspected there's a bunch of people like myself who are familiar with JavaScript but not Ruby and would prefer a JS-based voting bot so they can make changes to the code themselves.
Anyway, I spent some time today knocking a few more items off the to-do list to bring it closer to par with the feature-set of the drotto bot software.
The following new features have been added:
Ability to change the vote weight / bid window length
Set the "batch_vote_weight" config setting to the total weight of the votes the bot gives out each batch or round. 100 means the bot will give a total of a 100% upvote every 2.4 hours, 50 means the bot will give a total of a 50% upvote every 1.2 hours, etc.
Added a blacklist option
There's been a lot of concern lately about spammers using voting bots to promote their posts, so now you can blacklist them from your bot! Just add their account names to the "blacklist" array config setting like so:
"blacklist": ["account1", "account2"]
Auto-refund ability for invalid bids
If any bids are sent that are invalid or unable to be upvoted for any reason (post too old, already voted on by the bot, bid amount outside accepted range, etc) the bot can automatically refund the bid amount to the sender. Enable this by setting the "refunds_enabled" setting to true.
You will need to set the ACTIVE_KEY environment variable to the private active key for your bot account in order for the bot to be able to issue refunds. You can do that like so:
export ACTIVE_KEY=[active_key]
Also you can specify a list of accounts that should not get a refund. This is useful for exchanges like bittrex, blocktrades, etc. If you use those to fund your bot account you don't want it to send it back! You can add any account names to which you don't want the bot to send refunds to the "no_refund" array in the config settings like so:
"no_refund": ["bittrex", "poloniex", "openledger", "blocktrades"]
Note that bids sent for posts authored by accounts on the blacklist will not get refunded!
Disabled mode
If you want to shut down your bot and/or stop accepting bids for any reason, you can put it in "disabled_mode" which means it will automatically refund ALL bids sent to it. This is a good practice since users may not know you've shut down your bot and continue to send it bids for a while. Just set "disabled_mode" to true in the config settings.
That's it for now, but I think that gets it to a point where it's a viable alternative for drotto for those of you who would prefer JS over Ruby. I forgot to mention in my initial post that this is the first nodejs project I've ever done, so please let me know if I've done anything incorrectly or if there's a better way to do things. I really appreciate any contributions from the great coders out there in the Steem community!
Link to code commit: https://github.com/MattyIce/postpromoter/commit/fc790747396931ceeb858c3e4db901ac1d8d6d72
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Really, cool what's the license? I couldnt find it.
Hey, I love the bot tracker. I noticed something tonight that could be tweaked for the better. Can you contact @michaeldavid so we can discuss what I noticed? Thanks :)
Absolutely! Can you reach out to me on https://steemit.chat and we can discuss?
I'm writing you there now actually
Great initial commits. Might consider .gitignore-ing node_modules and sprinkling in some ES2015 love. Starred the project. I like where you are going.
Hey @itsmikechu - as i mentioned this is my first nodejs project so thanks for giving me some tips! I'll look into that stuff when i have time, but if you want to go ahead and submit a pull request with your changes that would be even better!
You've made it so easy for people to start their own bidding bots. First they can list on your Tracker themselves, and now there is an alternate bot program!
I think this is great for minnows to have more promotion options, as long as all bot owners are reviewing content periodically and blacklisting spammers.
Can I also open a bottle account a??
Hey @yabapmatt I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
Danke für info
#TR
You got a 58.89% upvote from @postpromoter courtesy of @yabapmatt!
Great work
Thank you for this great article. I wish you success because the way to write a good article will get to the best. Thank you again
Danke für info aber Wie kann ich dass machen??
Können sie bitte mit video zeigen??
Bilgi icin tesekkürler fakat bu anlatilani nasil yapabilirim??
Herhangibir videolu anlatim var mi?
#TR
I didn't realize that you made and run post promoter
Sir there is a bug in your home screen site
STEEM BOT TRACKER
THE MENU OPTION IS NOT WORKING PROPERLY ON MOBILE INTERFACE PLEASE FIX THE BUG @yabapmatt
The bug has been fixed...no need to shout!
Yes sir i have seen that but i am not shouting i am only informing u @yabapmatt
interesting. id like to try this bot as well.. is there any tutorial on how to get it setup and working? thank you in advance!
Hi there,
Sent a bid 20 minutes ago. It all looks correct, but did not receive upvote. My bid did not show up on up "Current Round" or "Last Round" on Bot Tracker either. Not sure what is up. Can you please take care of this for me?
Thanks,
Bucky
buckydurddle transfer 1 STEEM to postpromoter https://steemit.com/openmic/@buckydurddle/steemit-open-mic-week-63-jingle-bells-sing-along-musician-friends
You're right, it looks like it did miss your bid. It seems like your bid came in right in between when the voting round ended and it started voting and somehow it missed it. I'll work on fixing that issue in the code as soon as i can.
In the mean time I sent you a refund for your bid plus some extra for the trouble.
Much appreciated. No need for the extra steem, but it is appreciated. I will place my bid with you again asap.
Cheers,
Bucky
every time u shareing very nice post.
thanks @kakon
This is honestly really cool.
If you wanna teach me how to code a bot hmu! I know a little bit about java and I would love to learn