An open API service indexing awesome lists of open source software.

https://github.com/ckampfe/twirl

no-hassle write-only tweeting from the command line
https://github.com/ckampfe/twirl

Last synced: 12 months ago
JSON representation

no-hassle write-only tweeting from the command line

Awesome Lists containing this project

README

          

# twirl
no-hassle write-only tweeting from the command line

[![CircleCI](https://circleci.com/gh/ckampfe/twirl.svg?style=svg)](https://circleci.com/gh/ckampfe/twirl)

## use

By default Twirl will look for a `.twitter_credentials.json` file
in your home directory. That file should have a format like the one in
`.twitter_credentials.json.example`.

You should go to https://developer.twitter.com and register your own
app to get tokens for this purpose. This is an easy process
and should take less than 5 minutes if you already have a Twitter account.

```
clark$> twirl -h
twirl 0.1.0
Clark Kampfe

USAGE:
twirl [OPTIONS] [tweet]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-l, --credentials-location

ARGS:

```

You can also tweets into twirl via stdin,
like `$ echo "my great tweet!!!1111" | twirl`

## building

```
$ git clone git@github.com:ckampfe/twirl.git
$ cd twirl
$ cargo install --path . --force
$ touch ~/.twitter_credentials.json # elsewhere
# enter your twitter credentials like the ones in .twitter_credentials.json.example
```