ATREAY / oss.gg

Gamify Open Source Contributions

Home Page:https://oss.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oss.gg 🕹️

Run Locally

  1. Clone the project
  git clone https://github.com/formbricks/oss.gg.git
  cd oss.gg
  1. Install dependencies
  pnpm install
  1. Copy .env.example to .env and fill in the required environment variables
    cp .env.example .env

The Github Env Vars (incl the webhook secret) can be accessed from your GitHub App Settings

  1. Start the server
  pnpm dev
  1. Run the Webhook Proxy
  smee --url https://smee.io/<your-smee-path> --path /api/github-webhook --port 3000

GitHub App Configuration

  • Callback URL: http://localhost:3000/api/auth/callback
  • Setup URL: http://localhost:3000/select-repo (Check the Redirect on Update option)
  • Webhook set to Active and get a URL from https://smee.io/ by clicking on Start a new channel and then paste the URL in the Webhook URL field.
  • Disable SSL verification for now
  • Hit "Create GitHub App"
  • Copy the Client ID and keep it in the .env file (at the top of the page)
  • Generate a Client Secret and keep it in the .env file
  • Generate a Private Key and keep it in the .env file
  • Now Hit the Save Changes button

About

Gamify Open Source Contributions

https://oss.gg

License:MIT License


Languages

Language:TypeScript 96.0%Language:JavaScript 2.1%Language:CSS 1.8%Language:Shell 0.1%