A Twitter CLI for hackers
$ git clone https://github.com/mavidser/terminal-twitter.git
$ cd terminal-twitter
Optional Step: It is highly recommended that you replace the keys in main.py
with your own keys, which you can get by creating an app on Twitter and setting the permissions to Read/Write.
Now run setup.py file.
$ python setup.py install
Note: Windows users should install colorama for colored output.
$ pip install colorama
$ tt # Use --no-pager flag if you want the tweets in a
# contiuous output instead of a pager.
$ tt -n 50 # or $ tt --num 50
$ tt rt 5 # Retweets the tweet on index 5
$ tt fav 5 # Favorite the tweet on index 5
$ tt browse 5 # Opens the tweet on index 5
$ tt reply 5 # Replies to the tweet on index 5.
# Use --photo flag to reply with a photo.
$ tt compose
$ tt compose --photo # Insert filename/path to the picture when prompted.
# Alternatively, drag the picture in the terminal when prompted.
$ tt --help