GithubHelp home page GithubHelp logo

sudoferraz / swarmbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from comakery/swarmbot

1.0 1.0 0.0 4.25 MB

Welcome friend! I am here to help you contribute to projects and receive project coins!

Home Page: http://swarmbot.io

License: Other

CoffeeScript 99.82% Shell 0.18%

swarmbot's Introduction

Swarmbot

Latest build: Travis CI

Project Vision

Swarmbot hangs out in Slack and creates Project Coins on a trusty blockchain. It helps you to distribute profit and tracks your fair share of projects you work on. Swarmbot helps you run a Dynamic Equity Organization.

Current Implementation Status

This project is an initial prototype and not currently in development or actively supported. We are currently rewriting from the ground up in a different technology stack here: https://github.com/CoMakery/comakery-app.

We are planning to license it as a Dynamic Equity Organization. The structure is being legally reviewed for use in Swarmbot and on your projects.

To learn more when we release it, sign up for our mailing list over at www.swarmbot.io

Here's What Swarmbot Can Do

Swarmbot UX

Development

Project setup is pretty easy, make sure you have something close to these versions from Homebrew (make sure to run brew update first

node -v => v5.3.0

npm -v => 3.3.12

redis-server -v => Redis server v=3.0.7 ...

The Swarmbot is based on Hubot, and is configured specifically for Slack.

npm install

You can start the bot locally by running:

npm run devbot

Start a redis server

redis-server

OR if you have foreman installed gem install foreman, you can start everything in one terminal

foreman start -f Procfile.dev

This will also load environment variables from your local .env file. (Don't do this if you have a redis server running already!)

You can run tests with:

npm test

Deploying

Heroku Deploy

heroku create
heroku addons:create redistogo:nano  # Optional. Colu caches to Redis if available.
heroku addons:create airbrake:free_heroku  # error reporting, optional
git push heroku master
heroku ps:type hobby  # will be available 24/7, but costs $

App configuration

Configuration is done through environment variables, described below:

HUBOT_SLACK_TOKEN           # your slack token, from Slack -> Integrations -> Hubot

# register for a Colu account at https://dashboard.colu.co/register
COLU_PRIVATE_SEED_WIF       # WIF = Wallet Info Format
COLU_NETWORK                # testnet or mainnet
COLU_MAINNET_APIKEY         # if on mainnet

FIREBASE_URL                # visit https://www.firebase.com/ to create DB
FIREBASE_SECRET             # found in the "Secrets" tab of your Firebase instance

KEENIO_PROJECT_ID           # keen.io analytics, optional
KEENIO_API_TOKEN            #

AIRBRAKE_API_KEY            # Airbrake error reporting, optional

APP_NAME                    # friendly app name for keen.io, airbrake, etc

NODE_ENV=production         # recommended settings for Node on Heroku
NODE_MODULES_CACHE=false    #
NPM_CONFIG_PRODUCTION=true  #

DEBUG=app                   # for verbose debugging info in logs

# Optionally, you may send a percentage of all awards back to your organization:
HOST_NAME                   # Friendly name
HOST_PERCENTAGE             # Percentage of awards to send to host (eg 3.5)
HOST_BTC_ADDRESS            # Bitcoin address of host

License

Swarmbot is being developed under the experimental Peer Production Royalty Token License.

swarmbot's People

Contributors

fractastical avatar gleenn avatar aquabu avatar harlantwood avatar greenkeeperio-bot avatar dukejones avatar

Stargazers

Gabriel Ferraz avatar

Watchers

Gabriel Ferraz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.