Skip to content

textbelt

REST API and Node module for sending SMS through carrier email gateways

Permissive (OSI) · MIT

Listed by , founder & editor

20

Health

Dormant

Overview

Stars

3,394

Last commit

3 years ago

Mar 2024

Repository age

14 years

since Apr 2012

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

JavaScript

TextBelt Open Source is a REST API that sends outgoing text messages. It delivers them through carrier-specific email gateways, so there is no per-message fee and no ads. Success means the message was handed to the gateway, not that it arrived.

You can run it as a standalone Express server, which listens on port 9090 by default and needs Redis on port 6379. You can also use it as a Node module inside your own project. Email sending goes through nodemailer, configured in lib/config.js. A POST to the text endpoint with number and message parameters sends a text. Regions for the US, Canada and international numbers are supported, though coverage outside the US may be incomplete.

It is a free, self-hosted alternative to paid SMS APIs, including the hosted Textbelt service. The project is dormant, with the last commit in March 2024.

Who it's for

Developers sending low-volume alerts from their own apps

A simple POST request or module call sends a text without a paid SMS account.

Skip if: You need guaranteed delivery and delivery reports.

Self-hosters wiring notifications into home or internal tools

It runs on a private server with Redis and an SMTP transport.

Skip if: You want software that receives regular updates.

The problem it solves

Paid SMS APIs charge per message, which is a lot for small alerts. This project sends texts for free through carrier gateways that you control.

Strengths

  • Simple HTTP API with number and message parameters
  • Works as a standalone server or a Node module
  • MIT license
  • Regional options for US, Canada and international

Trade-offs

  • Dormant, with no commits since March 2024
  • Relies on carrier gateways, so delivery is not guaranteed
  • Needs Redis and a configured email transport
  • Canadian and international support may be incomplete

Self-host textbelt

Self-hostable
Yes

Frequently asked questions

Is it free?

Yes. It sends through carrier gateways at no cost. A separate paid hosted version exists.

Can I self-host it?

Yes. Run node server/app.js after npm install, with Redis running.

Does it guarantee delivery?

No. Success means the message reached the gateway providers.

What port does it use?

It listens on port 9090 by default.

Similar tools in Telephony and SMS

Kamailio

Telephony and SMS

High-volume SIP signaling server in C for VoIP operators and telephony engineers

3k 1.2k today Thriving GPL-2.0

ShizuCallRecorder

Telephony and SMS

Android call recorder that works without root by using Shizuku and ADB permissions

2.2k 102 today Thriving GPL-3.0

SIPCAPTURE Homer

Telephony and SMS

Self-hosted VoIP capture and troubleshooting server for SIP and HEP traffic

2k 296 4 days ago Thriving AGPL-3.0

Mikopbx

Telephony and SMS

599 92 today Thriving GPL-3.0