Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Kristories/phunt

Product Hunt Command Line Interface
https://github.com/Kristories/phunt

command-line javascript producthunt

Last synced: about 1 month ago
JSON representation

Product Hunt Command Line Interface

Awesome Lists containing this project

README

        


Phunt
Phunt - Product Hunt command line interface | Product Hunt




# PHUNT

[![asciicast](https://asciinema.org/a/33953.png)](https://asciinema.org/a/33953)

## Installation

```cli
npm i -g phunt
```

## Usage

```cli
$ phunt
@username => help
```

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

## Commands

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

## FAQ

**Access Token**

1. Create new account on [ProductHunt](https://www.producthunt.com).
2. [Add an application](https://www.producthunt.com/v1/oauth/applications).
3. Generate static Developer Token.
4. Your token can be found at the bottom of page.