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
- Host: GitHub
- URL: https://github.com/ckampfe/twirl
- Owner: ckampfe
- License: agpl-3.0
- Created: 2019-03-20T03:56:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T23:32:38.000Z (over 4 years ago)
- Last Synced: 2025-02-01T20:11:16.830Z (over 1 year ago)
- Language: Rust
- Size: 244 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twirl
no-hassle write-only tweeting from the command line
[](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
```