What is this?
httpSMS turns an Android phone into an SMS gateway: you call a simple HTTP API and it triggers the phone to send a text, and incoming SMS on the phone can be forwarded to your webhook.
Is this a hosted service or something I self-host?
It is a self-hostable stack (Go API, web UI, Postgres, Redis) that you run with Docker Compose, plus an Android app that actually sends the SMS.
How do I get the self-hosted version running?
Clone the repo, set up Firebase (for push notifications to the phone), an SMTP service, and Cloudflare Turnstile, fill in the .env files for the web and api directories, then run docker-compose.yml, create a system user in the database, and finally build the Android app in Android Studio with your google-services.json.
What external services do I need before I can self-host it?
You need a Firebase project (for Cloud Messaging push notifications and auth), an SMTP server for transactional emails, and a Cloudflare Turnstile site for captcha protection on the search endpoint.
Does the phone always send messages right away?
No — delivery depends on the phone receiving the push notification in time, so the README recommends setting a message expiration timeout so you get notified if it fails rather than waiting forever.
Does the server ever see the content of my messages?
If you enable end-to-end encryption, messages are encrypted with AES-256 and the key stays only on your phone, so the server can't read the SMS content.
Can I control how fast SMS messages get sent?
Yes, you can set a rate limit such as 3 messages per minute (back pressure), so even bulk API calls to 100 recipients get throttled to that rate.
Are there client libraries for calling the API?
Yes, official API clients are listed for Go and JavaScript/TypeScript.
Where does the received SMS data go?
Incoming SMS messages on the Android phone can be forwarded to a webhook/callback URL you configure on your own server.
Can I test the whole send/receive flow before deploying?
Yes, the project ships end-to-end integration tests that run the full API, PostgreSQL, and Redis stack in Docker alongside a phone emulator, and these also run automatically in CI.
What are similar projects?
ledgerforge, rankme.fast, omnara, sentio, goclaw, open-im-server, centrifugo, appwrite
Which topics is it in?
sms, firebase, end-to-end-encryption, webhooks, messaging, android-app, redis, agpl, encryption, postgresql, backend, docker-compose