V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
mayandev

一个可以看 GitHub Trending、Hacker News、Product Hunt 信息流的 CLI 命令行工具,支持多语言

  •  
  •   mayandev ·
    mayandev · May 31, 2021 · 2437 views
    This topic created in 1792 days ago, the information mentioned may be changed or developed.

    📰 hacker-feeds-cli

    一个可以看 GitHub Trending 、Hacker News 、Product Hunt 信息流的 CLI 命令行工具,支持多语言,正在支持 V2EX 和 Reddit 中,喜欢命令行工具的小伙伴可以尝试一下。

    GitHub 地址: https://github.com/Mayandev/hacker-feeds-cli

    欢迎 star 支持 👏

    Usage

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

    Resource Support

    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

    Language Support

    Input sub-command config to config cli language.

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

    hfeeds-4

    API References

    Supplement 1  ·  Jun 3, 2021

    👏 已支持 Reddit 和V2EX

    2 replies    2021-05-31 11:50:05 +08:00
    hronro
        1
    hronro  
       May 31, 2021
    这一个命令行工具得有几百 MB 吧?
    mayandev
        2
    mayandev  
    OP
       May 31, 2021
    @hronro 不会很大,代码的好就几百 KB,装上 node 的一些依赖包后大概 20M,我会想办法尽可能压缩一些。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 03:12 · PVG 11:12 · LAX 20:12 · JFK 23:12
    ♥ Do have faith in what you're doing.