Skip to content

tomislacker/docker-gvoice-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Voice SMS Sender

This is a small Docker container that runs a web-service to facilitate sending of SMS.

Usage

Dependencies

  1. Docker

Building

# Clone the repo
git clone https://github.com/tomislacker/docker-gvoice-sender.git

# Build the container
docker build -t btomasik/gvoice-sender docker-gvoice-sender

Running

# Start the container (tag will be dependent on the above build call)
docker run --rm \
  -e 'GV_EMAIL=googleUser@gmail.com' \
  -e 'GV_PASSWD=yourPassword' \
  -p 55000:5000 \
  btomasik/gvoice-sender

Calling

To send a message, a PUT API call can be made against the container or a forwarded port to the container:

curl -sXPUT \
  --data-urlencode 'to=13335554444' \
  --data-urlencode 'msg=This is my testing message' \
  http://127.0.0.1:55000/msg

About

Google Voice SMS Sending Docker Container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors