0.3.3 • Published 11 months ago

twe v0.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
11 months ago

Twe

npm.io npm.io npm.io

CLI for Twitter

Features

  • Fetch home-timeline
  • Fetch mentions-timeline
  • Fetch user-timeline
  • Post statuses
  • 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.

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

0.3.2

12 months ago

0.3.3

11 months ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago