/phunt

Product Hunt Command Line Interface

Primary LanguageJavaScriptMIT LicenseMIT

Phunt Phunt - Product Hunt command line interface | Product Hunt

PHUNT

asciicast

Installation

npm i -g phunt

Usage

$ phunt
@username => help

For the first time, you are required to enter your Developer Token (NOT API key/secret) (see FAQ).

Commands

  • me (Get current user)
  • me posts (See all posts created by current user)
  • me products (See all posts made by by current user)
  • posts (Get the tech posts of today)
  • posts {category} Get the posts of today (for given category)
  • posts new (Get all the newest posts)

FAQ

Access Token

  1. Create new account on ProductHunt.
  2. Add an application.
  3. Generate static Developer Token.
  4. Your token can be found at the bottom of page.