twe

0.3.3 • Public • Published

Twe

CLI for Twitter

Twe

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

  1. Register a Twitter app with your Twitter developer account
  2. Give the app Read and Write permission and access to your account
  3. 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.

twe-colors

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

Readme

Keywords

Package Sidebar

Install

npm i twe

Weekly Downloads

3

Version

0.3.3

License

MIT

Unpacked Size

744 kB

Total Files

14

Last publish

Collaborators

  • litomore