Py2sms is an CUI based Terminal App using which you can send SMS from your Terminal using your www.way2sms.com account. So You need to create an account in www.way2sms.com before using this app.
JavaScript Shell Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING
README.md
license
w2sms
w2sms-install
w2sms-login
w2sms-logout
w2sms-remove

README.md

Update: This script is outdated, may not work. Also am not in a plan to continue this now. May-be sometime later. Anyone is welcome to fork this and modify to make it work. No restrictions.

Py2sms is an CUI based Terminal App using which you can send SMS from your Terminal using your www.way2sms.com account. So You need to create an account in www.way2sms.com before using this app.

Download tar or zip file and Extract it. Rename the Extracted folder to Py2sms.

Note:- This app is not from Way2sms Team.

Installing:

  • Open your Terminal

  • Fedora / Redhat / CentOS users :-

      sudo yum install python-mechanize
    
  • Ubuntu / LinuxMint / Debian :-

      sudo apt-get install python-mechanize
    
  • Common steps :-

      cd ~/Downloads/Py2sms
      sudo sh w2sms-install
    

Usage:

  • Open your Terminal

      $ w2sms-login
    

The above command is a one-time command, you do not need to execute this everytime, once you enter Login Credentials it will be saved.

  • You can find a variable named 'act' in the file 'w2sms', this value changes according to every user, In order for the script to work for you, you have to find the action value for your account in way2sms.com, You have to find it by inspecting element in Browser to find that and open the file and paste the value in the code, save it and then proceed below.

      $ sudo gedit /usr/bin/w2sms
    

    Code will be opened in text editor, now paste the value of action in between the double qoutes to the variable named "act"

  • Enter the Login Details

      $ w2sms
    

Removing:

  • Open your Terminal

      $w2sms-remove
    

Updating:

  • Open your Terminal

      $ git clone git@github.com:PrasannaVenkadesh/Py2SMS.git
      $ cd Py2SMS
      $ w2sms-remove
      $ ./w2sms-install
    

Obviously this is not the better way to update, I will write a shell script or python script for that.