This project lets you interact with GitHub (summarize repos, issues, PRs, etc.) via SMS using Twilio and OpenAI.
git clone https://github.com/your-username/git-sms.git
cd git-smspython3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate a file named .env in the project root and add your credentials:
# OpenAI
OPENAI_API_KEY=your_openai_api_key
# GitHub authentication (optional, read-only)
# Only public read-only access is supported; write operations are disabled.uvicorn main:app --reloadYour server will be available at: http://127.0.0.1:8000
In a separate terminal window:
ngrok http 8000Copy the HTTPS URL it provides (e.g., https://abc123.ngrok.io).
- Go to your Twilio Console
- Navigate to your Phone Number > Messaging > Webhook
- Set the webhook URL to:
https://abc123.ngrok.io/webhook
- Set the method to
POST
Try texting your Twilio number with:
help
summarize github/github
summarize owner/repo issue 123
Let the bots do the rest.