5 releases
0.2.0 | Feb 8, 2021 |
---|---|
0.1.12 | Feb 7, 2021 |
0.1.11 | Feb 7, 2021 |
0.1.1 | Feb 7, 2021 |
0.1.0 | Feb 6, 2021 |
#664 in Command-line interface
17KB
392 lines
RTWI (Real Twitter)
What is RTWI?
On twitter, you don't need to find other person's tweets because twitter
means a person who tweet
. On RTWI, you can only tweet, so you can experience Real Twitter
.
High Performance
Here is a table which includes times to tweet 'hello everyone' for each client.
Client | time(sec) |
---|---|
Twitter Web App | 8.63 |
rtwi | 7.34 |
Installation
- Install from github
$ git clone https://github.com/earlgray283/rtwi.git
$ cd rtwi
$ cargo build --release
$ cp ./target/release/rtwi path/to/dir
or
$ cargo install rtwi
Usage
1. login
To use rtwi
, you must generate Twitter API keys.
Following console, please create api keys.
$ rtwi login
.
.
also you can login by creating $HOME/.config/rtwi/Config.toml
.
Please see https://github.com/earlgray283/rtwi/blob/main/Config.toml.
$ mkdir -p $HOME/.config/rtwi/
$ echo '
name = "@earlgrayyyy!!!!"
[twitter_api_info]
api_key = "api_keyyyy!!!!"
api_secret_key = "api_secret_keyyyy!!!!"
access_token = "access_tokennnn!!!!"
access_token_secret = "amazing_mightyyyy!!!!"' > $HOME/.config/rtwi/Config.toml
2. tweet
$ rtwi tweet 'hello from rtwi. I use †Real Twitter†.'
status: tweeted
3. status
$ rtwi status
display name: あーるぐれい
user_id: @earlgray329
bio: セイロンが好きです
Configuration(TODO)
If you hope, you can escape from Real Twitter
and can watch Timeline
on rtwi.
[config]
real_twitter = false
Dependencies
~9–21MB
~304K SLoC