Show HN: Hntui – A TUI for Hacker News

(github.com)

57 points | by ahmd-sh 2 hours ago

14 comments

  • sparrowidle 2 minutes ago
    Piping through readability before rendering is what made mine usable, raw html to markdown on news sites is mostly nav junk.
  • sho_hn 1 hour ago
    "Zig with TypeScript bindings and React components" for a TUI is definitely the wildest, weirdest stack for a given job I've seen.
  • shalaev_s 8 minutes ago
    Without Claude code demo it would be impossible to see how it works, nicely done
  • milhan00 35 minutes ago
    It would be nice to read the articles in the terminal as well, maybe just as an markdown output.
  • ByteJoseph 19 minutes ago
    Does it support account login ?
  • grim_io 1 hour ago
    That's a lot of deps to read HN.

    Maybe your clanker can do it without.

    • MisterMunchkin 51 minutes ago
      And this is why people aren’t going out of the loop any time soon. A normie asks the bot to make a project, it produces nonsensical complexity like this.
      • TeMPOraL 25 minutes ago
        Except why would you waste your time on projects like these, if an LLM can zero-shot them for you?
        • nateb2022 6 minutes ago
          You're restating their point. Normies' output will still be bad compared to the output that good engineers would produce, with or without AI. You wouldn't want to use poorly built software regardless of origin.
    • dmos62 38 minutes ago
      Are you comparing with `curl | lynx` or with Chrome?
      • nateb2022 34 minutes ago
        HN data is accessible through the Firebase API: https://github.com/hackernews/api

        You don't need to as much as parse HTML to read it. Building a client by hand in C even should be pretty painless as long as you don't write your JSON parser yourself.

        • dmos62 23 minutes ago
          That's fair criticism.
    • tantalor 1 hour ago
      In the old days, you would telnet into a host machine that just serves this up to you. No need to install anything.
  • nottorp 48 minutes ago
    How many fps can it do?
  • keel-control 1 hour ago
    why not use ratatui
  • edweis 1 hour ago
    Can you make an interactive ssh instead?
  • suzukivenom 1 hour ago
    just why
  • glitchc 1 hour ago
    Thank you, I've been looking for a meaningful way to browse HN on my cyberdeck and this looks perfect.
    • nateb2022 57 minutes ago
      As an aside, 'meaningful' is an obtuse adjective to use there; and it's typical of text generated by Claude.[0] I seem to see it a lot more frequently than pre-AI (~2022). Maybe my next project will be statistically analyzing word frequencies in HN comments pre-AI and post-AI.

      [0]: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7031138

      • glitchc 8 minutes ago
        Thanks for you concern, I typed that message out by hand and genuinely meant it. The terseness stems from the use of a mobile phone, not Claude. As it happens, I don't have an Anthropic account, nor do I possess an OpenAI one. If you look at my comment history, you'll notice I've been around for a while (as I noticed, have you).
  • Yakobeen 55 minutes ago
    thanks for sharing! gonna try it out
  • ligarota 1 hour ago
    YaHnTui
  • tamimio 1 hour ago
    Loved it, thanks for sharing! If you can add logins and posting it would be great!