Feb 17, 2009

Terminal tool for websms (NTC service)

Websms is a service provided by NTC.
It is service that allows us to send 10 SMS per day via its web-interface.

Each time when I need to send a SMS, I had to open the site,login(no auto remember facility) and send SMS. So I thought to create a tool that would save time.

You can download the debian package from here: websms_1.01_all.deb

Install it using:
dpkg -i ./path/to/websms_1.01_all.deb

Synopse:
websms help
This displays the help for this tool.

websms addcontact <nick> <Mobile Number>
You can store the mobile number with (nick)name in the contacts list. Later you can use the (nick)name to send SMS to him/her.

websms viewcontacts
You can view the complete list of your contacts.

websms send <nick | Mobile Number> <Message>
Send the SMS by Mobile Number or by (nick)name that you stored earlier.The message length cannot exceed above 142.

Examples:

  • $ websms addcontact sweety 98********

  • $ websms send sweety "I will be late."

  • $ websms send 98******** "Call me back. --suraj"

  • $ cat joke | websms send 98********

    Be sure that the size of file "joke" doesnt exceed 142 bytes.

  • $ websms viewcontacts



Enjoy!

Note:The secure-info and the contact-list are located in ~/.websms directory.

EDIT:
On the request of you Guys I have added the RPM package too:

Direct Download Link:websms-1.01-2.noarch.rpm
[Note:The RPM package was generated with alien.]

Jan 5, 2009

Search with single click

Searching cant be any more easy than this.Just select and click.
Here is how you can search anything you select with just a single click.
First install this package "googlizer"
apt-get install googlizer

Just drag it to the panel(from Applications->Internet) for easy access and enjoy.
Select any text anywhere and just click on it.

You can even use it with other links.. May be answers.com or wikipedia.org. Here's, how you do it.

Right click on the googlizer button on the panel and open its properties. And in the command text area type the following to convert it to answerizer ;)
googlizer -u "http://www.answers.com/topic/"

If you want to look it better click on the googlizer Icon at the top left of the properties dialog and change it as you want.

The core thing that the googlizer does is just copies the text in X'selection and appends it to the end of the link that you provide, and finally opens it in Browser. If you do not provide any link then it uses "http://www.google.com/search?q=".


For Wikipedia-izer, whatsoever,
googlizer -u "http://en.wikipedia.org/wiki/"


*Please leave in comment if you use it for any other.