fix setup.py
[rainbowstream.git] / README.rst
CommitLineData
3108149e 1Rainbow Stream\r
2--------------\r
3\r
4Terminal-based Twitter Client. Realtime tweetstream, compose, search ,\r
5favorite … and much more fun directly from terminal.\r
6\r
7This package build on the top of `Python Twitter Tool`_ and `Twitter\r
8Streaming API`_ and inspired by `EarthQuake`_\r
9\r
10Screenshot\r
11----------\r
12\r
13.. figure:: https://raw.githubusercontent.com/DTVD/rainbowstream/master/screenshot/RainbowStreamvSS.png\r
14 :alt: v0.0.1\r
15\r
4373c17c
O
16.. figure:: https://raw.githubusercontent.com/DTVD/rainbowstream/master/screenshot/RainbowStreamvSS(Image).png\r
17 :alt: v0.0.2\r
3108149e 18\r
19Install\r
20-------\r
21\r
22You will need Python 2.7+ and pip.\r
23\r
24.. code:: bash\r
25\r
26 pip install rainbowstream\r
27\r
28Usage\r
29-----\r
30\r
31The stream\r
32^^^^^^^^^^\r
33\r
34Just type\r
35\r
36.. code:: bash\r
37\r
38 rainbow\r
39\r
40and see your stream.\r
41\r
4373c17c
O
42In the case you want to see photos directly in terminal, the command is \r
43\r
44.. code:: bash\r
45\r
46 rainbow -img 1 # Or rainbow --image 1\r
47\r
3108149e 48In the first time you will be asked for authorization of Rainbow Stream\r
49app at Twitter. Just click the “Authorize access” button and paste PIN\r
50number to the terminal, the rainbow will start.\r
51\r
52The interactive mode\r
53^^^^^^^^^^^^^^^^^^^^\r
54\r
55While your personal stream is continued, you are also ready to tweet,\r
56search, reply, retweet… directly from console. Simply type “h” and hit\r
57the Enter key to see the help\r
58\r
59Input is in interactive mode. It means that you can use arrow key to\r
60move up and down history, tab-autocomplete or 2 tab to view available\r
61suggestion\r
62\r
63Here is full list of supported command\r
64\r
eccdc3c0 65**Stream Command**\r
3108149e 66\r
67- ``switch public #AKB48`` will switch current stream to public stream and track keyword ``AKB48``\r
68\r
69- ``switch public #AKB48 -f`` will do exactly as above but will ask you\r
70 to provide 2 list:\r
71\r
72 ``Only nicks`` decide what nicks will be include only.\r
73\r
74 ``Ignore nicks`` decide what nicks will be exclude.\r
75\r
76- ``switch public #AKB48 -d`` will apply filter to *ONLY\_LIST* and\r
77 *IGNORE\_LIST*. You can setup 2 list above at ``config.py``\r
78\r
79- ``switch mine`` will switch current stream to personal stream. ``-f``\r
80 and ``-d`` will work as well.\r
81\r
82**Action Command**\r
83\r
84- ``home`` will show your timeline. ``home 10`` will print exactly 10\r
85 tweet.\r
86\r
87- ``view @mdo`` will show @mdo ’s timeline. ``view @dmo 9`` will print\r
88 exactly 9 tweet.\r
89\r
90- ``t the rainbow is god's promise to noah`` will tweet exactly *‘the\r
91 rainbow is god’s promise to noah’*\r
92\r
93- ``rt 12`` will retweet the tweet with *[id=12]*. You can see id of\r
94 each tweet beside the time.\r
95\r
96- ``fav 12`` will favorite the tweet with *[id=12]*.\r
97\r
98- ``rep 12 Really`` will reply *‘Really’* to the tweet with *[id=12]*.\r
99\r
100- ``del 12`` will delete tweet with *[id=12]*.\r
101\r
102- ``ufav 12`` will unfavorite tweet with *[id=12]*.\r
103\r
104- ``s #noah`` will search the word *‘noah’*. Result will come back\r
105 with highlight.\r
106\r
107- ``fr`` will list all friend (You are following people).\r
108\r
109- ``fl`` will list all follower.\r
110\r
111- ``h`` will show the help.\r
112\r
113- ``c`` will clear the screen.\r
114\r
115- ``q`` will quit.\r
116\r
117For example see the screenshot above.\r
118\r
119Bug Report\r
120----------\r
121\r
1db6c021 122Please `create an issue`_ or contact me at `@dtvd88`_\r
3108149e 123\r
124License\r
125-------\r
126\r
127Rainbow Stream are released under an MIT License. See LICENSE.txt for\r
128details\r
129\r
130\r
131.. _Python Twitter Tool: http://mike.verdone.ca/twitter/\r
132.. _Twitter Streaming API: https://dev.twitter.com/docs/api/streaming\r
133.. _EarthQuake: https://github.com/jugyo/earthquake\r
134.. _create an issue: https://github.com/DTVD/rainbowstream/issues/new\r
1db6c021 135.. _@dtvd88: https://twitter.com/dtvd88\r