Giter VIP home page Giter VIP logo

rudolph's Introduction

Rudolph

Swift Version Heroku License

Giving gp to Hack Clubbers who contribute to open source!

๐Ÿ– The flow:

  1. Post a message to scrapbook and react with the special emoji (rudolph)
  2. Rudolph runs some basic checks on, to make sure they aren't spam Pull Requests
  3. The total amount of gp you earn is calculated which is 15gp plus any events that the PR is eligible for
  4. That is submitted to the review channel to be checked to see if it is a spam PR
  5. Your gp is given to you by the friendly bankerapi bot!

โš™๏ธ Setup:

  1. Install Swift: https://swift.org/download/#releases It's available for OS X/Windows/Linux and the toolchain doesn't take up too much space.
  2. You also need to have vapor installed: brew install vapor on OS X, or install it for Linux.
  3. To use the database, you need to also need to install postgres: brew install postgres and make a user called "rudolph". There's no password.
  4. Finally, you need to have the slack bot set up:
  • It needs the scopes:
    • channel:read
    • channel:history
    • chat:write
    • reactions:read
  • Set the events api up, pointing it at https://[YOUR SERVER].com/slack/events
    • The only event subscription it needs is the reactions_read.
  1. Finally, finally, you need to fill in all the information in .env.example. To check that it can build, you can just fill it with nonsense, but, of course, it won't run/talk with slack.

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.