https://github.com/sibis/producthunt-cli
CLI application to access product hunt
https://github.com/sibis/producthunt-cli
cli cobra go golang package producthunt producthunt-api
Last synced: 3 months ago
JSON representation
CLI application to access product hunt
- Host: GitHub
- URL: https://github.com/sibis/producthunt-cli
- Owner: sibis
- License: apache-2.0
- Created: 2020-08-17T10:29:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T08:42:27.000Z (almost 6 years ago)
- Last Synced: 2024-07-30T20:01:56.680Z (almost 2 years ago)
- Topics: cli, cobra, go, golang, package, producthunt, producthunt-api
- Language: Go
- Homepage:
- Size: 6.37 MB
- Stars: 37
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


## **Product hunt CLI**
A CLI application to access the current trending products and view its information, without the need to open the browser. If you happen to use the producthunt everyday and this will help you fetch the product lists on your CLI.
## Installation
#### macOS
```bash
brew install sibis/ph/ph
```
### Debian/Ubuntu Linux
Install and upgrade:
1. Download the `.deb` file from the [releases page][];
2. Install the downloaded file: `sudo apt install ./ph_*_amd64.deb`
```bash
wget https://github.com/sibis/producthunt-cli/releases/download/v0.1.0/ph_0.1.0_amd64.deb
sudo apt install ./ph_0.1.0_amd64.deb
```
### Usage
- To authenticate Producthunt from your account
```bash
ph signin
```
- Fetch the current trending products
```bash
ph list
```
[releases page]: https://github.com/sibis/producthunt-cli/releases/latest