highlight
[rainbowstream.git] / README.md
CommitLineData
91476ec3 1## Rainbow Stream
c7ef0402
O
2Terminal-based Twitter Client with Streaming API support.
3Realtime tweetstream, compose, search ... and much more fun directly from terminal.
4Only supports Python 2.7 or later.
cd300211
O
5
6This package build on the top of [Python Twitter Tool](http://mike.verdone.ca/twitter/) and [Twitter Streaming API](https://dev.twitter.com/docs/api/streaming) and inspired by [EarthQuake](https://github.com/jugyo/earthquake)
f5dcec85
O
7
8## Screenshot
1985f23e 9![v0.0.1](https://raw.githubusercontent.com/DTVD/rainbowstream/master/screenshot/RainbowStreamvSS.png)
91476ec3
O
10
11## Install
cf26c0a3
O
12You will need Python 2.7+ and pip to install
13
c7ef0402 14**The recommened way:**
c267927c 15* Clone this repo
f5dcec85 16* Create virtualenv (optional but recommended)
c267927c
O
17* Install dependencies
18* Install the package itself
19
91476ec3 20```bash
99f13828 21git clone git@github.com:DTVD/rainbowstream.git
c267927c 22cd rainbowstream
4ec25373 23virtualenv venv # Assume that you have virtualenv installed by "pip install virtualenv"
f5dcec85 24source venv/bin/activate
91476ec3
O
25pip install -e .
26```
4ec25373 27**The quick way:**
c267927c
O
28* Install everything over the air
29
30```bash
4ec25373 31sudo pip install git+https://github.com/DTVD/rainbowstream.git
c267927c 32```
91476ec3
O
33
34## Usage
f36f4df7
O
35#### The stream
36Just type
91476ec3 37```bash
20ba76f5 38rainbow
91476ec3 39```
f36f4df7
O
40and see your stream.
41
9f72f0f5 42In the first time you will be asked for authorization of Rainbow Stream app at Twitter.
4e2680f6 43Just click the "Authorize access" button and paste PIN number to the terminal, the rainbow will start.
91476ec3 44
f36f4df7
O
45#### The interactive mode
46While the rainbow stream is continued, you are also ready to tweet, search, reply, retweet... directly from console.
47Simply hit Enter key and type "h" to view the help
48
49Input is in interactive mode. It means that you can use arrow key to move up and down history, tab-autocomplete or 2 tab to view available suggestion
50
51Here is full list of supported command
52
aeacba5f 53* ```home```will show your timeline. ```home 10``` will print exactly 10 tweet.
f36f4df7 54
aeacba5f 55* ```view @mdo```will show @mdo 's timeline. ```view @dmo 9``` will print exactly 9 tweet.
f36f4df7 56
aeacba5f 57* ```t the rainbow is god's promise to noah```will tweet exactly *'the rainbow is god's promise to noah'*
f36f4df7 58
da4e013a 59* ```rt 12```will retweet the tweet with *[id=12]*. You can see id of each tweet beside the time.
c7ef0402 60
aeacba5f 61* ```rep 12 Really```will reply *'Really'* to the tweet with *[id=12]*.
f36f4df7 62
da4e013a 63* ```del 12```will delete thw tweet with *[id=12]*.
f36f4df7 64
aeacba5f 65* ```s #noah```will search the word *'noah'*. Result will come back with highlight.
f36f4df7 66
da4e013a 67* ```fr```will list all friend (You are following people).
f36f4df7 68
da4e013a 69* ```fl```will list all follower.
f36f4df7 70
da4e013a 71* ```h```will show the help.
f36f4df7 72
da4e013a 73* ```c```will clear the screen.
f36f4df7 74
da4e013a 75* ```q```will quit.
7b2f82ad 76
72b9e670
O
77For example see the screenshot above.
78
6a26fca1
O
79## Bug Report
80Please [create an issue](https://github.com/DTVD/rainbowstream/issues/new)
81or contact me at [@dtvd88](https://twitter.com/dtvd88)
82
f5dcec85 83## License
13b5b854 84Rainbow Stream are released under an MIT License. See LICENSE.txt for details