gorse-io / gitrec

A recommender system for GitHub repositories based on Gorse
https://gitrec.gorse.io
Do What The F*ck You Want To Public License
401 stars 41 forks source link
flask github python recommender-system vue

GitRec

test Website Discord Twitter Follow

GitRec is the missing recommender system for GitHub repositories based on Gorse.

Browser Extensions

Chrome Web Store Chrome Web Store Chrome Web Store Mozilla Add-on Mozilla Add-on Mozilla Add-on

The browser extension integrates GitHub with GitRec.

  1. Recommends repositories to GitHub users based on starred repositories.
  2. Finds related repositories for popular repositories.

Quick Start

git clone https://github.com/zhenghaoz/gitrec.git
cd gitrec
# Gorse secrets
GORSE_DASHBOARD_USER_NAME=********
GORSE_DASHBOARD_PASSWORD=********
GORSE_API_KEY=********

# GitHub secrets
GITHUB_ACCESS_TOKEN=********
GITHUB_OAUTH_CLIENT_ID=********
GITHUB_OAUTH_CLIENT_SECRET=********

# GitRec secrets
SECRET_KEY=********

# S3 secrets for backup
S3_ACCESS_KEY=********
S3_SECRET_KEY=********
S3_BUCKET_LOCATION=US
S3_HOST_BASE=s3.amazonaws.com
S3_HOST_BUCKET=%(bucket)s.s3.amazonaws.com
GITHUB_ACCESS_TOKEN=xxxxxxxx # personal access token
GITHUB_OAUTH_CLIENT_ID=xxxxxxxx     # client ID
GITHUB_OAUTH_CLIENT_SECRET=xxxxxxxx # client secret
SECRET_KEY=xxxxxxxx                 # random string
docker-compose up -d
mysql -h 127.0.0.1 -u gorse -pgorse_pass gorse < github.sql
docker-compose restart
Entry Link
GitRec http://127.0.0.1:5000/
Grafana Dashboard http://127.0.0.1:3000/
Master Dashboard http://127.0.0.1:8088/

Acknowledgments