A command line tool for Hacker Newsă Product Huntă GitHub Trending ăReddit and V2EX feeds.
# install
> npm install -g hacker-feeds-cli
# command option
> hfeeds help
# hf for short
> hf news
# config cli
> hf config
Because most of the web servers are located abroad, please make sure your network can access the above website properly. You can try pinging the following domains.
ping github.com
ping www.v2ex.com
ping hacker-news.firebaseio.com
ping api.producthunt.com
ping www.reddit.com
Resource | Sub Command | Parameters | Screenshot |
---|---|---|---|
GitHub | github |
-l, --lang -s, --since |
|
Product Hunt | product |
-c, --count -p, --past |
|
Hacker News | news |
-t --top |
|
reddit |
-t --topic -s --sort |
||
V2EX | v2ex |
-n --node |
Input sub-command config
to config cli language.
> feeds config
? Please select a language(Default EN): (Use arrow keys)
ENďźEnglishďź
⯠ZHďźçŽä˝ä¸ćďź
- i18n support
- Accept resouce param
- Hyper link support
- Support Translate
- Add more resource