twe
v0.3.3
Published
CLI for Twitter
Downloads
41
Readme
Twe
CLI for Twitter
Features
- [x] Fetch home-timeline
- [x] Fetch mentions-timeline
- [x] Fetch user-timeline
- [x] Post statuses
- [x] Customizable color themes
- [ ] Multiple account login (WIP)
- [ ] Post media (WIP)
- [ ] Post photo from clipboard (WIP)
Install
$ npm i -g twe
Config
- Register a Twitter app with your Twitter developer account
- Give the app
Read and Write
permission and access to your account - Run
twe setup
for setup your keys and tokens
Usage
Usage
$ twe Fetch home-timeline
$ twe h|home Fetch home-timeline
$ twe m|mentions Fetch mentions-timeline
$ twe setup Setup tokens
$ twe colors Config color themes
$ twe <status> ... Post status
$ twe --count=10 Fetch with parameters
Color scheme
Use twe colors
to customize your color scheme.
Customizable GET/POST Request
Use twe get
or twe post
to create a GET/POST request:
$ twe get statuses/home_timeline --include-rts=false
$ twe post statuses/update --status=hi
You could use --repl
option to inspect the result in REPL:
$ twe get users/show --id=litomore --repl
> result.name
#=> 'LitoMore'
Related
- twii - API for this module
License
MIT © LitoMore