Skip to main content

A command line interface for sending anything anywhere.

Project description

# babel

The `babel` command line interface provides a single command for sending *messages* to *endpoints*. Endpoints can (currently) be HTTP addresses, SMS numbers, user defined aliases, or (planned) public keys and hashes.

## Usage

Send a text message:
```
babel 4041234567 "Ohai thar"
```

Use an alias:
```
babel bob "Wazzaap!"
```

Make an HTTP request:
```
babel -r http://ipinfo.io/json
```

## Installation

To send SMS messages, you'll first need to set up a [Twilio](https://www.twilio.com) account. Follow the instructions for your platform, then run
```
babel YOUR_PHONE_NUMBER Hello World
```
and edit `~/.babel/sms.toml` with your Twilio account settings. Save it and try again.

### Ubuntu

```
# Install Pip
sudo apt-get install python3-pip

# Install babel-cli
sudo pip3 install babel-cli
```

### Mac OS X

```
# Install Homebrew
sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install Python 3 from Homebrew
sudo brew install python3
sudo brew link --overwrite

# Install babel-cli
sudo pip3 install babel-cli
```

## Contributing

See the [design doc](https://docs.google.com/document/d/1B8_FC-u9iGq4RVdUB0VTxRnriBtdFCxIbqk3bhIdidU/edit#) for long term goals. Drop me a line if you're interested in contributing! :-)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

babel-cli-0.3.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page