How to send SMS in 5 seconds right from your Terminal?
Rohan Sawant

Rohan Sawant @rohansawant

About: Hi! I'm Rohan, a Full Stack Software Engineer, with a background of working with Deep Learning and AI, who loves to use his skills to create products that are at the intersection of all of these!

Location:
Mumbai, India
Joined:
Jul 11, 2018

How to send SMS in 5 seconds right from your Terminal?

Publish Date: Apr 11 '20
18 1

📨Shell-SMS-Shender

A Simple command line tool to send SMS from the command line using the Twilio API.

Send SMSes Swiftly right from your Shell

Alt Text

GitHub logo CT83 / Shell-SMS-Shender

A Simple command line tool to send SMS from the command line using the Twilio API.

Getting Started

  1. Clone the repo. git clone https://github.com/CT83/Shell-SMS-Shender.git, cd into it
  2. chmod 775 sss-client
  3. Head to the Twilio console. Either log-in or sign up for a free account, and look for the Account Summary, make sure you have already bought a Twilio Phone Number. Alt Text
  4. Copy the credentials and your phone number in a new file .config, and add it to the root of the repo, like so.```bash

ACCOUNTSID=XXXXXXXXXXXXXXXXXXXXXXXX
AUTHTOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXX
CALLERID=507-697-0XXX

5. Done! Type `./sss-client` 

### License

MIT License. You are free to do anything. 🙃

### References

I found [this](https://www.twilio.com/labs/bash/sms) too by Twilio while researching, I modified it to suit my needs.
Enter fullscreen mode Exit fullscreen mode

Comments 1 total

  • davemcdavid
    davemcdavidJun 13, 2021

    Here is a single one line curl command in linux terminal to send SMS text messages with textgun.io.

    curl -i --user username:password -d "number=19179362841&message=hello world!" textgun.io/send-sms

Add comment