1.0.0 • Published 8 years ago

tldr.one v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Browse through all articles on tldr.one

Installation

The tldr.one cli module requires nodejs.

Install the module with:

  $ npm install -g tldr.one

Usage

  $ tldr.one news

Query more specific periods of time:

  $ tldr.one news/yesterday
  $ tldr.one news/thisMonth
  $ tldr.one news/lastWeek
  $ tldr.one news/day/2016-04-19

Sort articles with:

  $ tldr.one news --sort=recent
  $ tldr.one tech --sort=popular
  $ tldr.one tech/lastMonth --sort=popular

Limit the number of articles:

  $ tldr.one news/europe --sort=recent --limit=5

or just use less to navigate / paginate:

  $ tldr.one news/europe | less -r

Order ascending or descending:

  $ tldr.one news/europe --order=+
  $ tldr.one news/europe --order=-

Toggle between colored output and plain text:

  $ tldr.one news --coloredOutput=0

List all available categories with:

  $ tldr.one --categories

  Available Categories:

  Sports             other/sports
  Europe             news/europe
  News               news
  Gaming             other/gaming
  Television         other/television
  Gossip             other/gossip
  Science            science
  History            history
  Movies             movies
  Finance            finance
  Tech               tech

List all available options with:

  $ tldr.one -h

Update application (same as npm install -g tldr.one):

  $ tldr.one --self-update

Offline reading

You can bulk download all summaries (i.e. for yesterday, this/last week, this/last month …) at once for all categories (takes ~ ½ - 3 mins):

  $ tldr.one --download

or download just specific categories (using glob pattern):

  $ tldr.one 'news/*' --download

Hint: Always apostroph ' your query when using wilcards * to avoid auto-bash-replacements.

To read the downloaded articles offline, use a leading : before the category name:

  $ tldr.one :news/lastWeek

Or if you prefer a explicit (unhandy) switch:

  $ tldr.one news/lastWeek --offline

Configuration

Default values can be set in a custom .tldr.one.yml (needs to be located in your home dir). You can use the default config file as template and define your own in ~/.tldr.one.yml. The custom configuration is optional but helpful if you want to set specific options permanently without writing the argument each time.

1.0.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago