All Projects → typpo → Textbelt

typpo / Textbelt

Licence: mit
Free API for outgoing SMS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Textbelt

laravel-sms-api
Laravel package to provide SMS API integration.
Stars: ✭ 84 (-96.36%)
Mutual labels:  sms, sms-api
sms-spring-boot-project
短信服务Spring Boot Starter ,目前支持腾讯、阿里、赛邮和云之讯短信服务,腾讯、阿里、赛邮和云之讯短信均已验证,期待各位小伙伴合作完善这个项目
Stars: ✭ 79 (-96.57%)
Mutual labels:  sms, sms-api
jasmin-web-panel
📨 Jasmin Web Panel for Jasmin SMS Gateway
Stars: ✭ 33 (-98.57%)
Mutual labels:  sms, sms-api
smscenter
Класс для работы с сервисом smsc.ru (SMS-Центр)
Stars: ✭ 42 (-98.18%)
Mutual labels:  sms, sms-api
docs
blaulichtSMS API (Schnittstellenbeschreibung)
Stars: ✭ 15 (-99.35%)
Mutual labels:  sms, sms-api
Gearsystem
Sega Master System / Game Gear / SG-1000 emulator for iOS, macOS, Raspberry Pi, Windows, Linux and RetroArch.
Stars: ✭ 114 (-95.05%)
Mutual labels:  sms
Android Silent Ping Sms
Silent Ping SMS for Android (does not require rooted device)
Stars: ✭ 144 (-93.75%)
Mutual labels:  sms
Bomb3r
SMS bomb3r | Made with ❤ in IN.
Stars: ✭ 113 (-95.1%)
Mutual labels:  sms
Cat Facts
Daily cat facts! 🐱
Stars: ✭ 110 (-95.23%)
Mutual labels:  sms
Esplay Retro Emulation
Retro Emulation Collection for ESPlay Hardware, an ESP32 based game console
Stars: ✭ 183 (-92.06%)
Mutual labels:  sms
Multiotp
multiOTP open source strong two factor authentication PHP library, OATH certified, with TOTP, HOTP, Mobile-OTP, YubiKey, SMS, QRcode provisioning, etc.
Stars: ✭ 173 (-92.49%)
Mutual labels:  sms
Google Messages For Desktop
A "native-like" OS X, Windows, & Linux desktop app for Google Messages
Stars: ✭ 140 (-93.93%)
Mutual labels:  sms
Flutter sms
A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. Maintainer: @rodydavis
Stars: ✭ 123 (-94.66%)
Mutual labels:  sms
Notifme Sdk
A Node.js library to send all kinds of transactional notifications.
Stars: ✭ 1,854 (-19.57%)
Mutual labels:  sms
Sms Wp To Android
📱 Converts .msg (WP) file to standard XML (Android)
Stars: ✭ 114 (-95.05%)
Mutual labels:  sms
Bungholio
Get text alerts when products become available on Amazon.
Stars: ✭ 174 (-92.45%)
Mutual labels:  sms
Python Smpplib
SMPP library for Python
Stars: ✭ 112 (-95.14%)
Mutual labels:  sms
Vonage Python Sdk
Vonage Server SDK for Python. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 134 (-94.19%)
Mutual labels:  sms
Android Http Server
A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
Stars: ✭ 158 (-93.15%)
Mutual labels:  sms
Spring Backend Boilerplate
The modularized backend boilerplate based on Spring Boot Framework, easy to get started and add your business part.
Stars: ✭ 134 (-94.19%)
Mutual labels:  sms

TextBelt Open Source

TextBelt Open Source is a REST API that sends outgoing SMS. It uses a free mechanism for sending texts, different from the more reliable paid version available at https://textbelt.com.

This project uses carrier-specific gateways to deliver your text messages for free, and without ads. The service is fairly reliable when configured on a private server and has sent over 1 million texts.

Send a text with a simple POST request:

$ curl -X POST http://my_textbelt_server/text \
   -d number=5551234567 \
   -d "message=I sent this message for free with Textbelt"

number and message parameters are required.

If you are using the paid version at https://textbelt.com, run the following (more examples available on the homepage):

$ curl -X POST https://textbelt.com/text \
   -d number=5551234567 \
   -d "message=I sent this message for free with Textbelt" \
   -d key=abcdef123456

Success and Failure

Sample success:

{"success":true}

Note that success means that the message was sent to Textbelt's list of providers. We can't guarantee delivery on your network.

Sample failure:

{"success":false,"message":"Exceeded quota for this phone number."}

Usage as a module

Though this repository contains an express server so you may run your own instance of the web app, you may also use it to send text messages in your project.

Configuration:

This project uses nodemailer for sending emails. Set up lib/config.js with the following:

  • transport should be a Nodemailer transport documented here
  • mailOptions fields should include at least include the from field, but you can include any of the fields documented here.

A sample transport with SMTP sending is included.

For example, to send a text using the default settings:

var text = require('textbelt');

text.send('9491234567', 'A sample text message!', undefined, function(err) {
  if (err) {
    console.log(err);
  }
});

You can also supply a region (valid choices are us, intl, or canada)

var text = require('textbelt');

// Canada
text.send('9491234567', 'A sample text message!', 'canada', function(err) {
...
});

// International
text.send('1119491234567', 'Bonjour!', 'intl', function(err) {
...
});

Usage as a standalone server

Textbelt can be run as a standalone server with: node server/app.js. Be sure to install dependencies first with npm install and you've configured nodemailer in lib/config.js. This project also relies on redis. To install redis locally, please see the redis documentation. Before launching the app, ensure redis is running on port 6379 with redis-server.

By default, the server listens on port 9090.

Don't forget to set fromAddress in lib/config.js to the email address you want to send from.

Canadian and International endpoints

The /text endpoint supports U.S. phone numbers (and parts of Canada).

For Canadian texts, curl http://textbelt.com/canada.

For international texts, curl http://textbelt.com/intl.

Canadian and international support may not be complete. Refer to the list of supported carriers.

Textbelt Clients

Notes and Limitations

  • Some carriers are picky about which messages they deliver. A "success" response from Textbelt means that your message was given to the carrier.

  • Some carriers may deliver text messages from "[email protected]", "[email protected]", or whatever you have configured as fromAddress in lib/config.js.

  • Supported U.S. carriers: Alltel, Ameritech, AT&T Wireless, Boost, CellularOne, Cingular, Edge Wireless, Nex-Tech Wireless, Project Fi, Sprint PCS, Telus Mobility, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Ting, US Cellular, Verizon, Virgin Mobile.

  • Supported U.S. and Canadian carriers (/canada): 3 River Wireless, ACS Wireless, AT&T, Alltel, BPL Mobile, Bell Canada, Bell Mobility, Bell Mobility (Canada), Blue Sky Frog, Bluegrass Cellular, Boost Mobile, Carolina West Wireless, Cellular One, Cellular South, Centennial Wireless, CenturyTel, Cingular (Now AT&T), Clearnet, Comcast, Corr Wireless Communications, Dobson, Edge Wireless, Fido, Golden Telecom, Helio, Houston Cellular, Idea Cellular, Illinois Valley Cellular, Inland Cellular Telephone, MCI, MTS, Metro PCS, Metrocall, Metrocall 2-way, Microcell, Midwest Wireless, Mobilcomm, Nextel, OnlineBeep, PCS One, President's Choice, Public Service Cellular, Qwest, Republic Wireless, Rogers AT&T Wireless, Rogers Canada, Satellink, Solo Mobile, Southwestern Bell, Sprint, Sumcom, Surewest Communicaitons, T-Mobile, Telus, Tracfone, Triton, US Cellular, US West, Unicel, Verizon, Virgin Mobile, Virgin Mobile Canada, West Central Wireless, Western Wireless

  • Supported international carriers (/intl): Chennai RPG Cellular, Chennai Skycell / Airtel, Comviq, DT T-Mobile, Delhi Aritel, Delhi Hutch, Dutchtone / Orange-NL, EMT, Escotel, German T-Mobile, Goa BPLMobil, Golden Telecom, Gujarat Celforce, JSM Tele-Page, Kerala Escotel, Kolkata Airtel, Kyivstar, LMT, Lauttamus Communication, Maharashtra BPL Mobile, Maharashtra Idea Cellular, Manitoba Telecom Systems, Meteor, MiWorld, Mobileone, Mobilfone, Mobility Bermuda, Mobistar Belgium, Mobitel Tanzania, Mobtel Srbija, Movistar, Mumbai BPL Mobile, Netcom, Ntelos, O2, O2 (M-mail), One Connect Austria, OnlineBeep, Optus Mobile, Orange, Orange Mumbai, Orange NL / Dutchtone, Oskar, P&T Luxembourg, Personal Communication, Pondicherry BPL Mobile, Primtel, SCS-900, SFR France, Safaricom, Satelindo GSM, Simple Freedom, Smart Telecom, Southern LINC, Sunrise Mobile, Surewest Communications, Swisscom, Telcel Mexico, T-Mobile Austria, T-Mobile Germany, T-Mobile UK, TIM, TSR Wireless, Tamil Nadu BPL Mobile, Tele2 Latvia, Telefonica Movistar, Telenor, Teletouch, Telia Denmark, UMC, Uraltel, Uttar Pradesh Escotel, Vessotel, Vodafone Italy, Vodafone Japan, Vodafone UK, Wyndtell

License (MIT)

TextBelt Copyright (C) 2018 by Ian Webster

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].