Commit | Line | Data |
---|---|---|
3108149e | 1 | Rainbow Stream\r |
2 | --------------\r | |
3 | \r | |
4 | Terminal-based Twitter Client. Realtime tweetstream, compose, search ,\r | |
5 | favorite … and much more fun directly from terminal.\r | |
6 | \r | |
7 | This package build on the top of `Python Twitter Tool`_ and `Twitter\r | |
8 | Streaming API`_ and inspired by `EarthQuake`_\r | |
9 | \r | |
10 | Screenshot\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 |
19 | Install\r | |
20 | -------\r | |
21 | \r | |
22 | You will need Python 2.7+ and pip.\r | |
23 | \r | |
24 | .. code:: bash\r | |
25 | \r | |
26 | pip install rainbowstream\r | |
27 | \r | |
28 | Usage\r | |
29 | -----\r | |
30 | \r | |
31 | The stream\r | |
32 | ^^^^^^^^^^\r | |
33 | \r | |
34 | Just type\r | |
35 | \r | |
36 | .. code:: bash\r | |
37 | \r | |
38 | rainbow\r | |
39 | \r | |
40 | and see your stream.\r | |
41 | \r | |
f5677fb1 | 42 | In the case you want to see photos directly in terminal, the command is\r |
4373c17c O |
43 | \r |
44 | .. code:: bash\r | |
45 | \r | |
46 | rainbow -img 1 # Or rainbow --image 1\r | |
47 | \r | |
3108149e | 48 | In the first time you will be asked for authorization of Rainbow Stream\r |
49 | app at Twitter. Just click the “Authorize access” button and paste PIN\r | |
50 | number to the terminal, the rainbow will start.\r | |
51 | \r | |
52 | The interactive mode\r | |
53 | ^^^^^^^^^^^^^^^^^^^^\r | |
54 | \r | |
55 | While your personal stream is continued, you are also ready to tweet,\r | |
56 | search, reply, retweet… directly from console. Simply type “h” and hit\r | |
f5677fb1 | 57 | the Enter key to see the help.\r |
3108149e | 58 | \r |
59 | Input is in interactive mode. It means that you can use arrow key to\r | |
60 | move up and down history, tab-autocomplete or 2 tab to view available\r | |
f5677fb1 | 61 | suggestion. Input history from previous run is available as well.\r |
3108149e | 62 | \r |
63 | Here 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 | |
f5677fb1 | 107 | - ``show image 12`` will show the image in tweet with *[id=12]* in your OS's image viewer.\r |
3108149e | 108 | \r |
f5677fb1 O |
109 | - ``fl @dtvd88`` will follow @dtvd88.\r |
110 | \r | |
111 | - ``ufl @dtvd88`` will unfollow @dtvd88.\r | |
3108149e | 112 | \r |
113 | - ``h`` will show the help.\r | |
114 | \r | |
115 | - ``c`` will clear the screen.\r | |
116 | \r | |
117 | - ``q`` will quit.\r | |
118 | \r | |
119 | For example see the screenshot above.\r | |
120 | \r | |
121 | Bug Report\r | |
122 | ----------\r | |
123 | \r | |
1db6c021 | 124 | Please `create an issue`_ or contact me at `@dtvd88`_\r |
3108149e | 125 | \r |
126 | License\r | |
127 | -------\r | |
128 | \r | |
129 | Rainbow Stream are released under an MIT License. See LICENSE.txt for\r | |
130 | details\r | |
131 | \r | |
132 | \r | |
133 | .. _Python Twitter Tool: http://mike.verdone.ca/twitter/\r | |
134 | .. _Twitter Streaming API: https://dev.twitter.com/docs/api/streaming\r | |
135 | .. _EarthQuake: https://github.com/jugyo/earthquake\r | |
136 | .. _create an issue: https://github.com/DTVD/rainbowstream/issues/new\r | |
1db6c021 | 137 | .. _@dtvd88: https://twitter.com/dtvd88\r |