STEEM Bot Framework - With One Click Deploy To HerokusteemCreated with Sketch.

in #utopian-io7 years ago (edited)

STEEM Bot Framework

STEEM Bot Framework is a Ruby on Rails application that allows for multiple users, admins, bots, and customized permissions. Users can make multiple bot accounts perform actions simultaneously. The actions are scheduled and performed in the background. Any errors detected during these actions will be logged and the action will be scheduled to be retried. In the case of commenting/voting too fast, or other minor issues, this will allow the comment to go thru later without getting lost.

Foreword

This framework is meant to be a starting ground for development for other developers.. however, it is completely operational from a one click deploy to Heroku. All you need to do after deploying the application is to login to the admin panel and create a new Bot user.

Please refer to the documentation in the repository's README file if you need help getting started.

Features

  • Default tags
  • Failure logging
  • Comment/Vote/Resteem
  • Add comment beneficiary
  • Custom json_metadata
  • One-Click-Deploy to Heroku
  • Customizable configuration
  • Complete administration panel
  • Automatic retry for certain failures

Screenshots

  • Bot Interface
  • Admin Interface

Dependencies

  • Ruby ~> 2.0
  • Bundler ~> 1.14
  • Linux/Mac/Windows

What is Heroku

Heroku is a container-based cloud Platform as a Service (PaaS). Developers use Heroku to deploy, manage, and scale modern apps.

Heroku is fully managed, giving developers the freedom to focus on their core product without the distraction of maintaining servers, hardware, or infrastructure. The Heroku experience provides services, tools, workflows, and polyglot support—all designed to enhance developer productivity.

Source

Default Admin User

  • user: admin
  • password: welcomeadmin

Quickstart Guide

  • Click Deploy to Heroku at the top of this repo
  • Log into your Heroku account (or create one -- it's free)
  • Name your application
  • Customize the environment variables
  • Login with user: admin, password: welcomeadmin
  • Go to https://your-app-name.herokuapp.com/admin and be sure to change your admin user's password

Getting Started with Development

  • git clone https://github.com/netuoso/steem-bot-framework
  • cd steem-bot-framework
  • bundle exec rails sbf:setup
  • bundle exec rails s
  • http://localhost:3000/

Admin Interface

  • http://localhost:3000/admin

Configuration Files

  • Default Settings
    • config/settings.yml
  • Environment Specific (takes precendence over defaults)
    • config/environments/test.yml
    • config/environments/production.yml
    • config/environments/development.yml

How to Regenerate SSL Certificate:

  • bundle exec rails sbf:create_certs
  • answer yes if replacing old certificate with new
    note: replacing the SSL certificate will cause previously encrypted passwords to require a reset

Questions or Comments

You can reach out to me on SteemIt.chat, on SteemDevs Discord Server, or by sending me large sums of money with memos attached to my Steem account.

Vote for @netuoso as Witness

By giving a witness vote (or by making me your witness proxy), you help ensure that I am able to continue to provide for the Steem community without having to consume too much of my own resources. It is such a simple thing to do that really benefits those you support.

Support Open Source

Also please be sure to show your support and gratitude to all of the developers that are helping to make Steem a better blockchain for everyone. Do your part!


Open Source Contribution posted via https://utopian.io

Sort:  

Did you really use Utopian @netuoso or am I dreaming right now?????

Greetings @netuoso Do you think Steemit has what it takes to be one of the top 10 global social media platforms?

We do! Are you willing to help us do what it takes to fix steemits vulernabilities so we can bring this platform to the mainstream?

I represent an media alliance with over 10 million followers. We see that steemit needs a few small, but very important changes to make it to the next level.

Please share your solutions with us! And help us attract the attention of steem developers. Share your wisdom and thoughts with us at
https://steemit.com/steem/@earthnation/solutions-to-bring-steemit-to-the-mainstream-discussion-thread-share-your-solutions-help-us-attract-steem-developers-attention

Together, we will bring steem to the Mainstream!

I trust @transisto and he has been quite the advocate of Utopian. Figured the best way to learn is to participate and see the results.

Let me know if there is anything you might need help with. I'm usually around somewhere or lurking.

You can't understand what an achievement this is for me. Bringing influent developers like you on the platform is my main mission. Sorry if Utopian is not ready for everything you may need to run a project but it is 2 weeks old. I am working hard to give the best out of it. @transisto was the first advocate of this project and wouldn't have been possible without his guidance. Thank you so much

dam, you guys got me interested in it now!! lol..Ok ..Off to Utopian :)

Screen Shot 2017-10-24 at 6.18.28 PM.png

I have seen your delegation @netuoso. Busy days here and I could not thank you enough in time.

THANK YOU SO MUCH!

utopian is a real revolutionary concept. It will give acceleration to open source development and will be hugely benefitial to all. Although I was not a fan of open source as it lacks support and breakneck speed that a centralized development team at say Apple can achieve. However, with concept of utopian, I believe a group of individuals can form a loose association and work with a shared aim with inputs from the overall community and they can share the rewards prortional to their work.
Anyways, nice work !!

glad to see you both intimate like that. hoping to be born an even bigger project in the future as a result of the chemistry...;)

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

Achievements

-I am a bot...I love developers... <3
-You are writing more than the average for this category. Good job!
-This is your first accepted contribution here in Utopian. Welcome!
Up-vote this comment to grow my power and help Open Source contributions like this one.

Im interested what the application of this would be, I'm having a hard time imagining what one would do with it. Well, I can imagine a few things I'd rather folk wouldn't do with it.

Looking forward to hearing what cool ideas people have for this.

Ask @minnowsupport. They currently have about 23 bot accounts in the framework with 58 users having permissions to perform some actions with some of the accounts.

Essentially giving a massive amount of SP to the control of many people that work together as a team to curate and promote content on Steem. That is just one example of how this EXACT version of the system can be used.

However, this is open source and anyone can take it and modify it by adding pull requests, new features, new designs, and much much more.

The point of open source is mainly to serve as a learning tool. Hopefully someone can learn from this repository the way I did putting the pieces together in the first place.

Very cool! Thank you for the lightning quick response!

so.... I was just thinking of a way this would be really useful, anyways, thank you!

This post has been resteemed by @nettybot courtesy of @netuoso from the Minnow Support Project ( @minnowsupport ). Join us in Discord.

Be sure to go to https://steemit.com/~witnesses, scroll to the bottom of the page, and vote for @netuoso.

This post has been resteemed by @minnowsupport courtesy of @netuoso from the Minnow Support Project ( @minnowsupport ). Join us in Discord.

Upvoting this comment will help support @minnowsupport.

going to give it a try thanks a lot for sharing

Hi @netuoso,

Nice documentation you have got here. But I need you to revisit this article and make it too simple as if you are writing to a novice. And tell us what heroku is all about.

@stevenmosoes, I am from utopian discord channel. My job is to ensure your article is ready for review.

I must say. You nail it. But make few changes as advice.
Thank you.

I will add a brief overview of the description of Heroku, but as far as making it more simple ... it's is about as simple as it can get. Step by step instructions on how to setup the dev environment along with a One-Click fully configurable deploy to Heroku for an instant hands-off setup.

Btw: Your comments are spamming this post. Guessing you encountered a bug :)

Added a brief description of Heroku and a link to their own about page.

Thank you for your absolute quick response. I did not encounter a bug though. Just network ish...

Since you have added a brief description of heroku. We are all good.

@stevenmosoes
Goodluck

Wonderful @netuoso
Its really great

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 62182.25
ETH 2437.70
USDT 1.00
SBD 2.61