프로젝트
GitHub에서 보기
gorse-io/gitrec
소개
Gorse를 기반으로 GitHub 저장소를 추천하는 시스템으로, 개인화된 추천과 유사한 저장소를 제공합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGitRec
GitRec is the missing recommender system for GitHub repositories based on Gorse.

Browser Extensions
|
|
|
The browser extension integrates GitHub with GitRec.
- Recommends repositories to GitHub users based on starred repositories.
- Finds related repositories for popular repositories.

Quick Start
- First, clone the repository and enter the folder.
git clone https://github.com/zhenghaoz/gitrec.git
cd gitrec
- Create a
.envfile.
# 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
# Open AI
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_KEY=********
OPENAI_MODEL=gpt-6-luna
- Generate a personal access token from GitHub and fill the
GITHUB_ACCESS_TOKENvariable in the.envfile.
GITHUB_ACCESS_TOKEN=xxxxxxxx # personal access token
- Create a GitHub OAuth app. The authorization callback URL should
be
http://127.0.0.1:5000/login/github/authorized. Then, fill following variables in the.envfile.
GITHUB_OAUTH_CLIENT_ID=xxxxxxxx # client ID
GITHUB_OAUTH_CLIENT_SECRET=xxxxxxxx # client secret
SECRET_KEY=xxxxxxxx # random string
- Start the cluster using Docker Compose.
docker-compose up -d
- Download the SQL file github.sql and import it to the MySQL instance.
mysql -h 127.0.0.1 -u gorse -pgorse_pass gorse < github.sql
- Restart the master node to apply imported data.
docker-compose restart
- Play with GitRec:
| Entry | Link |
|---|---|
| GitRec | http://127.0.0.1:5000/ |
| Gorse Dashboard | http://127.0.0.1:8088/ |
관련 프로젝트 살펴보기
불러오는 중…