‹ BackHN Continuity

Thread

Show HN: Hntui – A TUI for Hacker News

113 points · 66 comments · ahmd-sh

  1. sho_hn · · focus · HN ↗
    "Zig with TypeScript bindings and React components" for a TUI is definitely the wildest, weirdest stack for a given job I've seen.
    1. markild · · focus · HN ↗
      Where are you seeing any mention of Zig? All I see is TypeScript?
      1. tom1337 · · focus · HN ↗
        It uses OpenTUI which is build in Zig: <a href="https:&#x2F;&#x2F;github.com&#x2F;anomalyco&#x2F;opentui" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anomalyco&#x2F;opentui
        1. keiejfiejcjej · · focus · HN ↗
          So how is it a weird stack given the TUI framework itself was written in Zig?
    2. jrop · · focus · HN ↗
      Ha, mine&#x27;s weirder, I think? I wrote a React-like renderer in Lua that renders into Neovim buffers[1], then built a pile of apps on top, including an (unfinished&#x2F;experimental) HN reader[2].

      [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;jrop&#x2F;morph.nvim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jrop&#x2F;morph.nvim

      [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;jrop&#x2F;tuis.nvim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jrop&#x2F;tuis.nvim

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.