jump to navigation

Build your own Free SMS to Twitter gateway with open source tools and cheap hardware March 27, 2011

Posted by GuySoft in Crictor, diy, Electronics, Hamakor, IGF, ITU, linux, open source, programming, python.
Tags: , , , , , , , ,
SMS Twitter Gateway

SMS Twitter Gateway logo

Hey all,

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:

Fake Nokia Cellphone acting as a dedicated SMS server

Fake Nokia Cellphone acting as a dedicated SMS server

If you have any kind of difficulty setting this up, please give me feedback, so we can make it as easy as possible.

3arabi – Arabic chat to English translator December 4, 2010

Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming, python.
Tags: , , , , ,
3arabi Logo

3arabi Logo

Hi  all,

As some might have noticed, Arabic speakers on the net use a form of writing called ‘Arabic chat‘ or 3arabi, which involves using Latin characters and Hindu-Arabic numerals to write words in Arabic. I wrote a small service called 3arabi that lets you translate this Arabic chat directly to English.

Apparently there are tools to do transliteration (converting Latin letters back to Arabic), and also translation. But nothing that does them both. That is why I wrote a small script that uses Google’s transliteration service and ‘Google Translate’. This does the job, but is not perfect, however, it does actually help me understand some messages.

The source is also available in GitHub (its in python). If anyone contributes better code I’ll merge it back to the service.

Thanks to Ira Abramov for hosting the service!

Thanks to Rajesh who wrote the transliteration API though after using it I moved to the javascript google tool with his help.

Thanks Muhammad Khatib who wrote Google Translate python API and for releasing it.



Update: Google seem to be blocking the translation service, thinking its spam, if anyone knows how to contact them and asking them to lift that ban would be appreciated.

Using CHDK to photograph blackboards in University Courses August 5, 2010

Posted by GuySoft in Crictor, diy, Hamakor, ITU, linux, open source, programming, python.
Tags: , , , , , ,
CHDK in University

CHDK used in university for capturing blackboards

Hi all,
During last semester I developed a set of scripts that lets me photograph pictures of the blackboards during my university courses, categorize them while I am taking them and automatically generate PDF document for each course week. Because physics equations are not the simplest things to input in to a laptop in realtime, I have developed the following method. I am writing the post because I have a feeling this tool could help people in many ways, since it did change how I study in lectures.

You can see my blackboard photographs here (and here is a simple pdf example, if you get lost in the Hebrew).

How it works in a nutshell

The Work Flow

The work flow - photograph, store, generate pdfs

During the lesson I take the photographs of the blackboard with a script I wrote for CHDK. In the script you set the course and week of the semester and this is stored per-picture on the SD card.

Twitter hashtag support in non-Latin letters using Greasemonkey July 30, 2010

Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming.
Tags: , , , , ,
1 comment so far
Hashtags working in Hebrew

Hashtags working in Hebrew

Hello all,

I have been using twitter quite a lot recently and to users that are using non-Latin tweets, it might have occurred that the hashtags don’t work.

So I took the time to write a greasemonkey script that does the job (for Firefox, Chrome, Webkit and others).

It will add a search link on the word, unfortunately due to a twitter bug, I had to remove the number sign (#) because twitter can’t search with it.

  • The script should work with all non-Latin languages (tested Hebrew, Arabic and Chinese)
  • The script does not work when the “more” button is pressed. If anyone knows how to solve that please contact me. fixed!

I hope this becomes a useful tool for people.

Qutecom Portable – a sip phone for your USB Flash Drive April 18, 2010

Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming.
Tags: , , , , ,

QuteCom PortableHey all,

I came across the need for a portable VOIP phone for windows, apparently there is no package out there for this.

So I repackaged QuteCom, a cross-platform softphone. Just adding a simple parameter did the job!

You can download the package here.

Extract it and simply run the “runme.bat” file in the folder.

The package is kindly hosted for me on Hamakor FOSS Society. There is also a wiki page with additional information about Qutecom portable there.

Cheaper Than SkypeOut!

Thanks to this package I can now call anywhere on my VOIP accounts. Where usually only skype was available, meaning I have a cheaper-than-skype providers :) (Curently using voipvoip.com and callcentric). I really think standard VOIP should be more out there among the people giving a healthy competition.

Would love to hear feedback!

Bumble-B and an ADC with OpenGL make an oscilloscope February 22, 2010

Posted by GuySoft in Crictor, diy, Electronics, Hamakor, ITU, linux, open source, programming, python.
Tags: , , , , , , ,

Hi all,

During my small semester break I managed to connect my Bumble-b chip to an analog-digital converter (ADC).

With this I can read voltage changes and send the information to the computer to plot live.

Here is a demonstration video:

How its all connected


Pidgin and X-chat plugins to execute a command on new messages February 14, 2010

Posted by GuySoft in Crictor, Hamakor, ITU, linux, open source, programming, python.
Tags: , , , , ,

Hi all,

A while ago, when I coded message alert plugins for pidgin and X-chat so each time I get a new message my bumble-b LED display would flash, so I thought I might release the code here for people to use.

Both plugins will execute a command of your choice when receiving a new message.

Thanks to Simo Mattila who wrote the base code for the pidgin plugin :)

  • Source code for the pidgin plugin
    • You will have to follow the README file and compile the plugin. Then place the created .so file in ~/.purple/plugins/ .
    • In the plugin menu there would be a configuration window to set the command.
  • Source code for the X-chat plugin
    • You will have to set the command inside the python file. Then copy it to ~/.xchat2/
    • The X-chat plugin also is able to return the name of the user that sent the message.

Here is a video of the X-chat plugin in action:

I hope to find more time to posts the things I am doing, but as usual, university takes up all my time. Stay tuned

Brewing Cider December 24, 2009

Posted by GuySoft in Crictor, diy, Hamakor, Uncategorized.
Tags: , , , ,

My cider (we call it Chateau la Sheffer)

Hey all,

During the semester break, I brewed alcoholic Cider (not to mix with apple juice, which is no-alcoholic). My cider has 7.2% alcohol.

Although some readers might think that making alcohol out of plain apple juice might involve black magic, its actually quite simple. The only thing it really takes is time – about 3 months total to start drinking, but if you wait 5 months, you will get something that tastes much better. Its quite fun, and one can create unique flavors.

IGF Day 4 and last, Privacy – Incident with China – Human network – more Open Standards – Jordan FOSS – and Final statement November 24, 2009

Posted by GuySoft in Crictor, Hamakor, IGF, ITU, open source, Uncategorized.
Tags: , , , , , , ,

Hi all,
This is the second day of the IGF 2009 and the 4th and last day of my journey.

There was a lot to write about, and I had little time back in Israel, so it took a while to publish.
I recommend you read my closing statement.
Scroll to the titles that interest you:

IGF Day 3, Backdoor Censorship – Open Standards – founder of W3C – ISOC IL and IDNs – one of the fathers of the Internet November 16, 2009

Posted by GuySoft in Crictor, Hamakor, IGF, ITU, open source.
Tags: , , , ,

Hi all,

Today is the third day of my trip and the first day off the IGF conference.

Today was full and exciting as expected!

Scroll down to the subject that interests you.



Get every new post delivered to your Inbox.