Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mattanimation/quick_sms

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mattanimation/quick_sms

  • v0.1.0-alpha
  • Source
  • Go
  • Socket score

Version published
Created
Source

quick_sms

A simple service to send an sms to a phone number via email.

Built on top of:

  • go
  • echo

About

The most common use case for something like this is when you need to send an an SMS notification to a relatively small set of numbers, sometimes its better to use a larger service (like TWILLIO) if you need to send to a large set of numbers and the provider for the numbers is not known. Also this approach doesn't really work for messaging back and forth.


Setup

  • rename the .env-example to .env and replace the variables with your own
  • update the knownNumbers.json file with numbers you might expect to use.
  • if using gmail, the setup for unsafe apps needs to be set see this link

Dev

  • make any changes to code
  • use the ./scripts/run.sh to run locally

Docker

  • docker-compose up

Test

  • use postman or something to POST a body to https://127.0.0.1/sms

Example Payload

{
    "number":"5550003333",
    "message":"I have a belly button.",
    "provider":"T-Mobile" (optional)
}

if no provider is set, then the known numbers will be checked to get that info.

FAQs

Package last updated on 05 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc