-
npm install
-
add enviromental variables
// https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps
export MY_GITHUB_API_VERSION=2022-11-28
export MY_GITHUB_CLIENT_ID=YOUR_ID
export MY_GITHUB_CLIENT_SECRET=YOUR_SECRET
// https://docs.github.com/en/rest/search#search-repositories
export MY_GITHUB_MAX_COUNT=100
// https://platform.openai.com/docs/api-reference/authentication
export MY_OPENAI_API_KEY=YOUR_KEY
// https://www.mongodb.com/docs/manual/reference/connection-string/
export MY_MONGO_DB_NAME=YOUR_NAME
export MY_MONGO_URL=YOUR_MONGO_DB_URL (e.g. mongodb://my_db_id:my_db_password@my_company_db.com:9999/my_db_1)
-
Set up a ppublic URL like ngrok linked to localhost:3000 for your GitHub application URL and callback (the callback nedds to be
YOUR_APP_URL/result). -
npm start
-
access YOUR_PUBLIC_URL (e.g. https://********.jp.ngrok.io)
- Add OpenAI model tuning
- Add Google search