hacker-feeds-cli

    0.4.3 • Public • Published

    📰 hacker-feeds-cli

    A command line tool for Hacker NewsProduct HuntGitHub TrendingReddit and V2EX feeds.

    Usage

    # install
    > npm install -g hacker-feeds-cli
    # command option
    > hfeeds help
    # hf for short
    > hf news
    # config cli
    > hf config

    feeds-cli-6

    Resource Support

    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
    image-20210530161456461
    Product Hunt product -c, --count
    -p, --past
    image-20210530163127103
    Hacker News news -t --top image-20210530163347458
    Reddit reddit -t --topic
    -s --sort
    CUAGzP
    V2EX v2ex -n --node neAWcA

    Language Support

    Input sub-command config to config cli language.

    > feeds config
    ? Please select a language(Default EN):  (Use arrow keys)
      EN(English)
    ❯ ZH(简体中文)

    feeds-cli-7

    TODO

    • [x] i18n support
    • [x] Accept resouce param
    • [ ] Hyper link support
    • [ ] Support Translate
    • [ ] Add more resource

    API References

    Install

    npm i hacker-feeds-cli

    DownloadsWeekly Downloads

    1

    Version

    0.4.3

    License

    ISC

    Unpacked Size

    206 kB

    Total Files

    24

    Last publish

    Collaborators

    • mayandev