1.0.3 • Published 5 years ago

terminal-twitter v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Terminal Twitter

Simple CLI tool based on node to operate twitter from command line.

How to use

Login and Logout

$ twcmd -l

Demo

$ twcmd --logout

Sending a tweet

$ twcmd -t "hello world !!!"

Sending a tweet with media

$ twcmd -t "hello world !!!" -m ~/Pictures/sample.png

$ twcmd -t "hello world !!!" -m ~/Movies/sample_movie.mp4

List favorite tweets

$ twcmd -f -t

Listening to tweets

$ twcmd --track "some text"

Example

Track

Searching for tweets

$ twcmd -s "trump"

List User Information

$ twcmd -u "morsetree" -i

UserInfo

Search Users

$ twcmd --user --search "trump"

The entire API on how to use is here

Development Environment Setup

$ git clone git@github.com:naveenvignesh5/twitter-cmd.git

$ npm i

$ mv api.json.template api.json # update consumer key and secret from twitter dashboard

$ npm link

Running the Project

$ node index.js

or

$ npm start

TODO

  • Better documentation
  • Unit tests