Skip to content

sgml/slingshotSMS

 
 

Repository files navigation

SlingshotSMS

This is SlingshotSMS, a minimal SMS server which connects GSM modems to websites and applications via a simple HTTP interface.

Experimental

Hi! This is the experimental branch of SlingshotSMS. Here's what's different and better:

  • Minimal slingshotsms.py core: it's lost a hundred lines of code since Goliath and does things in a much more concise fashion
  • Multiple messages with JSON: now fewer POSTs required when you have a lot of messages going from place to place
  • Way better testing functionality: interactive mode lets you test web applications quickly
  • More straightforward configuration
  • Uses CherryPy's logging facilities, so logs are easily redirected and repurposed

Requirements

  • AT-compatible GSM modem

Modem Compatibility

Mac

  • Double-click on SlingshotSMS.command

Windows

  • Double-click on slingshotsms.exe

Running Manually

python slingshotsms.py

Manual Installation

  • Install required libraries
  • Drop into directory
  • Edit slingshotsms.txt
  • run python slingshotsms.py

Configuration

  • mock=yes

    will run sms_server without trying to connect to a server, to test applications on the ability to POST and receive POST data

  • sms_poll

    is the wait time between asking the modem for new messages database_file can specify what file the database will be on. Since this uses sqlObject, the database engine itself is flexible, but thread safety is a concern because the poller runs on a separate thread from the web server

About

A tiny RESTful modem server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Tcl 41.1%
  • PLpgSQL 37.0%
  • Python 10.3%
  • Makefile 4.5%
  • C 2.6%
  • PHP 2.0%
  • Other 2.5%