Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Kristories/phunt
- Owner: Kristories
- License: mit
- Created: 2016-01-17T19:46:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T16:45:40.000Z (about 3 years ago)
- Last Synced: 2024-11-01T02:05:32.857Z (about 1 month ago)
- Topics: command-line, javascript, producthunt
- Language: JavaScript
- Homepage: https://www.producthunt.com/posts/phunt
- Size: 43.9 KB
- Stars: 109
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-indo-projects - PHUNT - Product Hunt Command Line Client. (JavaScript)
- awesome-made-by-indonesian - PHUNT - `Product Hunt Command Line Interface` *by [Wahyu Kristianto](https://github.com/Kristories)* (P)
- made-in-indonesia - PHUNT - `Product Hunt Command Line Interface` *by [Wahyu Kristianto](https://github.com/Kristories)* (P)
- awesome-indonesia-repo - PHUNT - Product Hunt Command Line Client. (JavaScript)
- awesome-vietnam-repo - PHUNT - Product Hunt Command Line Client. (JavaScript)
README
# 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.