Show HN: Hntui – A TUI for Hacker News

(github.com)

44 points | by ahmd-sh 1 hour ago

11 comments

  • sho_hn 55 minutes ago
    "Zig with TypeScript bindings and React components" for TUI is definitely the wildest, weirdest stack for a given job I've seen.
  • milhan00 7 minutes ago
    It would be nice to read the articles in the terminal as well, maybe just as an markdown output.
  • nottorp 20 minutes ago
    How many fps can it do?
  • grim_io 43 minutes ago
    That's a lot of deps to read HN.

    Maybe your clanker can do it without.

    • MisterMunchkin 23 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.
    • dmos62 10 minutes ago
      Are you comparing with `curl | lynx` or with Chrome?
      • nateb2022 6 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.

    • tantalor 36 minutes ago
      In the old days, you would telnet into a host machine that just serves this up to you. No need to install anything.
  • keel-control 1 hour ago
    why not use ratatui
  • Yakobeen 27 minutes ago
    thanks for sharing! gonna try it out
  • edweis 1 hour ago
    Can you make an interactive ssh instead?
  • suzukivenom 59 minutes 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 29 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

  • ligarota 59 minutes ago
    YaHnTui
  • tamimio 1 hour ago
    Loved it, thanks for sharing! If you can add logins and posting it would be great!