Build your own Free SMS to Twitter gateway with open source tools and cheap hardware March 27, 2011Posted by GuySoft in Crictor, diy, Electronics, Hamakor, IGF, ITU, linux, open source, programming, python.
Tags: cellphones, gammu, internet, linux, open source, python, release, sms, twitter
I am releasing here set of instructions and source that will enable anyone to set up a phone number, that if you SMS it, will post your massage on to your own twitter account. This service is called “Twiter SMS Gate”. The service handles multiple users, and should be easily modified to support other services like statusnet (and with a bit more code maybe even other social networks). The SMS hardware required is any cheap cellphone that can work with gammu-smsd (mine is a fake Nokia from India). Twiter SMS Gate also lets users easily register to it with their own cellphone.
I hope that people that like this idea would start hosting more SMS gates, as we create a wide network of those around the world. SMS Twitter Gate-IL , The Israeli Gate, has been running for a few weeks now and even got covered in the local media here.
The source is written in Python, which includes the phone hardware hooks, webserver, twitter client and database access.
Here is the cellphone used to run my server, just to show you how simple it is to do this, no super-expensive hardware required! (server is also my personal Linux-running PC:
- Source is available here on GitHub, along with basic instructions on how to set it up.
- Working example of an SMS Twitter Gate in Israel
- List of working gates (one at the time of writing this)
If you have any kind of difficulty setting this up, please give me feedback, so we can make it as easy as possible.