twilio-opencode

A lightweight express server to handle Twilio voice and messaging webhooks for prompting Opencode.
git clone https://unitehenry.com/git/twilio-opencode.git
Log | Files | Refs | README | LICENSE

commit 9a06ef86bd0740d6a8228a5cecb8649eb9b01b24
parent 76027efe73e4168550c4c82dfd5ca2a63c218692
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun,  8 Mar 2026 00:34:12 +0000

docs: configure twilio usage

Diffstat:
MREADME.md | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -27,7 +27,16 @@ docker run twilio-opencode \ ### Configure twilio -*todo: twilio settings* +Use the `/configure` endpoint to programatically update Twilio phone number settings. + +```bash +TWILIO_ACCOUNT_SID="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ +TWILIO_PHONE_NUMBER_SID="PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ +TWILIO_AUTH_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ +curl -X POST \ + "http://localhost:3000/configure" \ + -d "twilioAccountSid=$TWILIO_ACCOUNT_SID&twilioPhoneNumberSid=$TWILIO_PHONE_NUMBER_SID&twilioAuthToken=$TWILIO_AUTH_TOKEN" +``` ## Build an image