plugins/omi-github-app/QUICKSTART.md
cd /Users/aaravgarg/omi-ai/Code/apps/github
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
OMI GitHub Issueshttp://localhost:8000http://localhost:8000/auth/callbackcp .env.example .env
nano .env # or use any editor
Add your keys:
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
OPENAI_API_KEY=sk-...your_openai_key_here
OAUTH_REDIRECT_URL=http://localhost:8000/auth/callback
APP_HOST=0.0.0.0
APP_PORT=8000
python main.py
You should see:
š OMI GitHub Issues Integration
==================================================
ā
Using file-based storage
š Starting on 0.0.0.0:8000
==================================================
Feedback Post, testing the app to make sure it works correctly with all the features and settings
http://localhost:8000/webhookhttp://localhost:8000/authhttp://localhost:8000/setup-completed# Change port in .env
APP_PORT=8001
# Or kill existing process
lsof -ti:8000 | xargs kill -9
Make sure .env has:
OAUTH_REDIRECT_URL=http://localhost:8000/auth/callback
And GitHub OAuth app has the same callback URL.
repo scopeRailway (recommended):
# Push to GitHub
git init
git add .
git commit -m "Initial commit"
git push
# Deploy on railway.app
# Add environment variables
# Update OAUTH_REDIRECT_URL to Railway URL
Update GitHub OAuth app:
https://your-app.up.railway.app/auth/callbackConfigure OMI:
TRIGGER_PHRASES in issue_detector.py>= 5 in main.py to collect more/lesslabels=["voice-feedback"] in webhook handlerget_mobile_css() in main.pyOMI Device
ā (voice) "Feedback Post, ..."
Webhook Endpoint (/webhook)
ā (collect 5 segments)
Issue Detector (AI)
ā (generate title + description)
GitHub API
ā (create issue)
User Notification ā
main.py - FastAPI app, endpoints, UIgithub_client.py - GitHub API callsissue_detector.py - AI processingsimple_storage.py - User data persistenceprint() statementshttp://localhost:8000/healthcat users_data.jsonReady to go! š
Say "Feedback Post" to your OMI and watch the magic happen.