Giter VIP home page Giter VIP logo

starbot's Introduction

๐ŸŒŸ Starbot

Starbot

js-standard-style

Starbot is GitHub's trending open-source page, reincarnated as a Slack bot. It is also the sample referenced in the "How to Deploy Your Slack Bots to Heroku" blog post.

Supported /slash commands

Create a /starbot custom slash command, using the URL: {app-name}.herokuapp.com/commands/starbot. Take note of the provided token, this is used to verify requests come from Slack.

  • /starbot or /starbot help - List available commands
  • /starbot repos - Display trending GitHub projects

Install

$ npm install

Copy .env-example to .env

$ cp .env-example .env

Configure

SLACK_TEAM_TOKEN=xoxb...8WRqKWx
NODE_ENV=development
PORT=3000

Run

$ npm start

๐Ÿš€ Starbot LIVES on PORT 3000 ๐Ÿš€

Visit localhost:3000.

Deploy

Deploy

Or with the Heroku Toolbelt

$ heroku create {optional-app-name}

Creating app... done, stack is cedar-14
https://blooming-scrubland-64464.herokuapp.com/

$ git push heroku master
...
remote: -----> Node.js app detected
...
remote:        https://blooming-scrubland-64464.herokuapp.com/ deployed to Heroku
...
To https://git.heroku.com/blooming-scrubland-64464.git
 * [new branch]      master -> master

$ heroku open

License

This project is licensed under the terms of the MIT license. -- Need your own? There's a button for that ๐Ÿ˜‰

starbot's People

Contributors

ntassone avatar vrana2011 avatar peterbytes avatar

Watchers

James Cloos avatar Mir Ali 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.