Create A Free, Open-Source Voting Bot With FOSSBOT

in #bot8 years ago (edited)

You know what the word, bot means but what about FOSSbot? FOSS stands for free, open-source software. This Steem voting bot which @personz created is free and open-source. I just deployed my FOSSbot a few days ago and wanted to share this incredible resource with you so you can benefit also. The reason I prefer this voting bot is that I have control over my private keys and don’t have to trust anyone else.

GitHub: https://github.com/

Heroku: https://www.heroku.com/

Heroku is a cloud provider. This means you will not have to run your bot on your own computer. It will run on the Heroku cloud. When creating your free Heroku account, it will ask for your credit card information. This is because some dynos can cost money on Heroku but steem-fossbot-voter was designed to operate within the free account. Even several copies will not break into the paid services that Heroku provides. It will not use your credit card without you upgrading your account manually. By the way, I don’t work for Heroku_._ I’m only a user. So far, I’m using the voting bot as a free account.

In GitHub, go to the ++steem-fossbot-voter++ project.

Scroll down until you get to ‘Installation’.

CLICK THE PURPLE BUTTON: DEPLOY TO HEROKU

FILL IN THESE FIELDS:

STEEM_USER: Put your Steem account name here without the @

POSTING_KEY_PRV: Your private posting key goes here

BOT_API_KEY: a password for your bot
Note: this should not have any spaces and be random, for example:
AOUNA039NA9SDJ

THAT IS ALL THE REQUIRED INFO YOU FILL IN.

You can leave these blank:
EMAIL_ADDRESS_TO
EMAIL_ADDRESS_SENDER
SENDGRID_API_KEY

You can leave these as the default:
COOKIE_SECRET
VERBOSE_LOGGING

HIT THE DEPLOY BUTTON

Wait a few minutes. The deployment can take several minutes and below the deploy button you will see it happening. Give it time to complete. If you have a failure because of sendgrid you can contact Heroku support and they will fix it. I had to create a support ticket in Heroku for the sendgrid issue, but it was resolved quickly.

The reason you need to fork the project is to ensure that your voting bot gets automatically updated when changes are made to the GitHub project.

Return to the ++steem-fossbot-voter on GitHub++.

At the top right you will see a grey button that says _FORK._

Click that FORK button to create your own repository. You can use it for one or more bots you only have to fork it once.

Now that it is forked you will return to Heroku and click the purple hexagon icon for your voting bot application in the Dashboard.

Inside the Heroku dashboard for that app you will see a DEPLOY tab, click it.

Select GitHub as the deployment method and type steem-fossbot-voter in the search box.

Select your repository when it finds it.

To automatically update your voting bot when @personz makes a change scroll down and click ENABLE AUTOMATIC UPDATES.

Now you need to make your bot vote hourly, and also tell it which authors to vote for. There are many different aspects of your bot’s algorithm to configure, but for simplicity, we are only going to set the bot to vote every hour, and to vote for certain authors.

Go to the RESOURCES tab in your Heroku Dashboard and click on the HEROKU SCHEDULER.

  1. A new browser tab or window will open with the add-on settings.
  2. Click the Add New Job button.
  3. Type in node bot.js into the text box.
  4. Set the frequency from Daily to Every Hour.
  5. Click the Save button.

The task has now been created.

To add authors to your voting bot, you need to CLICK THE OPEN APP BUTTON

Then CLICK ON EDIT ALGORITHM

Add the names of authors to a whitelist, putting a blank space in between each name.

YOU’RE DONE!

This is a very barebones tutorial, and to get the most out of your voting bot, you’ll need to experiment with the different parameters of the algorithm.

You can vote for @personz, the creator of the STEEM FOSSbot Voter: ++https://steemit.com/@personz++

Follow Empath on Steemit: ++https://steemit.com/@empath++

Follow me on Steemit: ++https://steemit.com/@stellabelle++

If you find any errors in my instructions, let me know. I only deployed this bot a week ago, and I’m very new to this. I combined the instructions from 3 people to create this tutorial. By the way, Steemit has been having some technical issues this week, so I would advise waiting a bit to deploy your bot.

We are doing a three-way split for the rewards on this post since we all contributed.

Sort:  

Thanks for sharing! A link to your post was included in the Steem.center wiki article about Bots. Thanks and good luck again!

thanks for this! here have an upvote!

A note from @personz: you need to use the author_is_whitelisted
metric with some positive weight, like say 100 for example. it will do nothing without at least one metric. After you type in the list of authors on your whitelist, and add a metric, in the EDIT ALGO section, you're done.

You can also try autosteem. Its a bot already made. Autosteem is listed in steemtools.com

I see, who has control over private keys in autosteem?

who has the control on this? I'm a little confused

The dev, but its the posting key only.

No, only you have control over them, no dev.

@stellabella princess leah with her magical smart person post ( ͡° ͜ʖ ͡°)━☆゚.*・。゚

You should really come back to steemspeak.com cuz @fyrtsikken has it under control and everyone gets along real well and i learned to calm down and be an adult too! (kinda) its a real swell place i promise! I wanna see u inspire all the girls there! they need a leader like you with the actual Steempower to boot, yadadamean? You can be like the Elaine from Seinfeld character and Ill be Cosmo Kramer , fyrtsikken can play norweigan George Kastanza and Dan can play Jerry Seinfeld

And dude yeah this post looks super snazzy for sure! The optics are great! You makin yourself look like u could beat everyone at chess!

7200+ followers godamn .... gooodaaammmnn i am finding old instagram posts where youre talkin about havin like 2000 followers!!!!! Youre killllin it broooo u gotta like .... get on TV dude you should have a youtube Ad Tai Lopez style.... pay to have a video blasted out on youtube where you like show your steemit success and explain to people how they can get on steemit and be creative and sell themselves and get a following and you could become like a gateway for a bunch of talent on youtube who arent getting anywhere

i really liked that post about Grimes andher Crazzy music video i still think about sometimes with all the oil and the fire and swords and stuff it was crazy psychedelic and cutting edge and she will definitely join steemit to fund her crazy projects and we will see a lot of people just say Fuck it and join steemit for complete ultimate freedom and this will include celebrities who will wanna invest to become a steemit whale... these will become MEGA whales.... these will be a whole new class of whale... it will make other whales WISH they would have bought more steem! And these mega whales will be celebrities outside of steemit and so they will getw hales to follow them... whales will talk to these megawhales the way minnows talk to whales !

Its gonna be realy cool! Its gonna get us some negative attention eventually and thats scarey but steemit cannot be stopped and its NO ONES business but our OWN! What are they gonna do? tryand shut us down? How? we dont HAVE a centarl website! Steemit inc can be shut down and they would just all move to busy.org and while everyone used busy theyd set up a new website to take steemits place it would be really simple even if they did commit some illegal act on steemit.com

also its crazy that just because we are successful they would want to shut ius down but thats how the world works.. they claim we dont force our users to pay taxes or some shit.... its gonna be ridiculous and we will need some sort of Dark Steem hahah darknet steem where we can always make money maybe we shoudl all just use anon asteem accounts from now on, or OOH OOH we need teem Mixers to mix steem transactions so we can never have them be traced! we need a way to send steem to an account that everyone can use that mixes all the steem together inone wallet lol, and you get an Upvote from the account in Steempower to launder the money HAH you send it SBD or steem and you get an Upvote automatically or some shit hahahaha and we have a steemit mixer! oh shit maybe some fo the upvote for sale services are just big money laundering operations?? Oh SHIT hahaha XD Steem Crime! Steem MAFIA! Steem gang is REAL!

This is something I will try soon...I want to do my own bots and it does look do-able .. if I can figure it out I will..lol thanks once again for shining a flashlight for those, like me in the dark on programming. You have earned a 🐝 AWARD. "And that's not all (like on the game shows) Lol tip! .20

@stellabelle - This is cool. I do not yet have sufficient steem power so that my auto-votes would matter but I guess I can provide whatever little value I can to some Steemians with my tiny vote.
Thank you for explaining it in detail. Will try it out.
Hope my blogs will be worthy enough some day to be on your upvote bot list I will continue to work hard to create good original content.

Regards,

@vm2904

Hey, did you see the GIF i made for you?

Yes @stellabelle. It is awesome. Initially I was confused with responses from some other address on your behalf. I think it is your bot? I am unable to access Steemit on my laptop since yesterday. So I am unable to transfer SBD since I am in eSteem app right now. I hope I get a good connection from my laptop tomorrow and will transfer 5 SBD. Hope that is ok. I am sorry for the delay. Also - I know it is a small amount to pay for a gif from an illustrious personality like you but it is all I can afford right now. I hope I earn more SBD in future to be able to pay better.

It's ok! I use the umami bot account to do some work, as a virtual assistant kind of thing. Yeah, umami is my voting bot.....
Don't worry, I was just wondering if you had the chance to see it or not. If you're not 100% satisfied, let me know and I'll re-do it.

yeah, umami is my bot. Well, he's not a real AI-powered bot, but he's my helper, and i've programmed him to vote for people...

Exactly what I was looking for :-) FossBot ... thanks @stellabelle

Can I skip the Heroku part and install it in my computer? the problem I see is GitHub only have the source code, not binaries.

yeah, but I don't know how to do that....

That's actually a really good idea. I've been wanting to convert one of my old mobile phones into a bot server. This might be the right test case for that.

Hi, great post, (late reply).
Do you think this could be altered to work on Weku?

This is fabulous news for those of us who don't know how to create one of these from scratch. And I also very much appreciate the tutorial. Thank you!

Get your bots up people, I particularly like the feature of being in control of your private keys. With the current phishing going on if you could hold on to any of your keys that would just be peachy. Thanks for this.

hmm....I posted this on Busy, but it is not displaying that great! Are you using steemit right now? Yeah, control over one's keys is vital.

I am on steemit.com. It is working ok and the post displays well.

hmmm .... interesting @stellabelle. Thank you for sharing.

Voting bots eh, they are great for projects especially if you want to help certain people. I'm working with a bunch of people to get a but running that can upvote good contents from a specific region, using tags and all that. But this can be a start.

Thanks for this.

Till I get to a point I can use the bot, meanwhile I will bookmark this post and keep whenever I need it, will come over and learn it. Thanks for sharing @stellabelle.

And I would love to know your say in this @appics new development.☺

what is appics?

Let me send you the link, its all about the steemit smart token, appics is an app that pays its users just like steemit.. Its a mini project supported by steemit. Appics is more like Instagram as steemit is more like Facebook. Let me go get the link.

I've been using FOSSBot for a few months now - it really is amazing!! Welcome to world of bot voting ☺️

This is really great. I never thought bot deployment and creation is this simple. I should get one soon. Bookmarking this and I have a question,

dont we have to create a steemit account for the bot before we configure it?

Good tutorials as always @stellabelle.

You can use your personal account or make a new account,up to you

I will try this as soon as I can just because I love trying new things and this sounds pretty nice!
I just have a few questions:
Is there possibility to adjust the % of the vote?
Do you think it will have the ability to vote at certain time after the post is created?(like steemvoter)
Where do I click to make it handsome?

I hope this madness of steemit is fixed soon!

Great tutorial @stellabelle this was really needed, FOSSBOt is a great piece of open source code to help people on Steemit perform some really good curation.

And you you have provided invaluable information here for Steemians to get started using it.

I guess that is how Umami was created? I saw the vid.

Thanks for sharing!

This is fantastic. Thank you. I just tried out Steemvoter, which is nice because the voting bot also kind of acts like a bookmarker. But I'm not sure I want to pay 3 SBD for the premium service. I know it's not a lot, and for non-programmer types, it's a great service, but if I can make something myself, I'd rather do that.

Ooooo you might just have made something I have been mulling over a reality. Thanks for the tutorial!

I was looking the other days for bot deployment and creation and this is really helpful.

This is really Bot for dummies lol. Thank @stellabelle for this

Awesome, I will check it out ...good job @personz and thanks to you my dear Stella for always furnishing us with great contents...keep steeming to more success and I wish you a blessed week.

I commented on your former posts however my comments were lost hence why you didnt see it... due to bug
that caused posts visibility to be low. It affeced my latest post which outlined some solutions about the problem, feel free to see it and note the tips

I will try this soon... I am not really a technical person but I want to learn more about Steemit.

would love to test it... by the way, don't forget vto make picture of my daughters creation steemfest. she would love to receive it..
I also hope that you vote for me as witness.. I am new, fresh and ready to be the new kid on the blockchain..

would love to test it... by the way, don't forget vto make picture of my daughters creation steemfest. she would love to receive it..
I also hope that you vote for me as witness.. I am new, fresh and ready to be the new kid on the blockchain..

Stellabelle, After I have been using steemit for more than six months. I realize that manual vote is better for me (but there is an exceptional for me). You have influenced me so far, to focus how to make a good posting. Also this habit make me to change how to search and read a good post and vote manually. Anyway good posting :)

I do both manual and bot voting because I cannot keep track of all the people I want to vote for. The automation makes it possible to do both, and keep more people happy. I have seperate accounts for this though.

Yes me too, for my old friends on steemit, I use steemvoter for them except for you, ha..ha., I check your posting manually. For steemians who considering as good contributor on steemit, I vote them manually and I remember it when I free time and read their posting. Sometimes I missed their posting but I do not miss their existence in my mind. I remember their account name. Nice :)

This post has received a 30.00 % upvote from @lovejuice thanks to: @abh12345. They love you, so does Aggroed. Please be sure to vote for Witnesses at https://steemit.com/~witnesses.

Write more abaut algoritm!

@stellabelle Im now trying to deploy my own bot but its asking for my creditcard info, is the bot been updated that it need credit card infos now ?? hope you response :)