Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
SMS command line!

Quick start:

* Sign up for a free trial account on Twilio:
https://www.twilio.com/try-twilio

* Take note of your account SID, auth token, sandbox phone number, and 
  PIN number on the dashboard page - you'll need them in a sec

* Validate your cell number:
  https://www.twilio.com/user/account/phone-numbers/
  Add Caller ID
  Once your number is validated, you'll be able to send SMS to it

* Forward port 8080 to your computer
  If you're not firewalled, don't worry about this step

* Run this command. Stuff in <>s is for you to fill in:
  (phone numbers are written with no spaces, and no country code if 
  you're in the US)
./sms_demo_receive.py <your cell number> | ./exec_stream.py | ./sms_demo_send.py --from=<your sandbox phone number> --to=<your cell number> --auth_sid=<your account SID> --auth_token=<your auth token> --demo_pin=<your demo pin>

* Send a SMS to the sandbox phone number listed on your dashboard page.
  Use this format: xxxx-xxxx some command here
  where xxxx-xxxx is your demo pin

* wait a few minutes
  For some reason Twilio has a few minutes latency when it receives SMS.
  Upgrading to a real account might help, haven't tried yet.

* When you get the response, marvel.

Few things to note:
* You can use pipes and other operators like that.
* If the command takes longer than a minute, it'll be killed.
* The response is truncated to 150 characters. Still working on having
  it send multiple messages for long output

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.