20 comments

  • sho_hn4 hours ago
    "Zig with TypeScript bindings and React components" for a TUI is definitely the wildest, weirdest stack for a given job I've seen.
    • jrop42 minutes ago
      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].<p>[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</a><p>[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</a>
    • markild3 hours ago
      Where are you seeing any mention of Zig? All I see is TypeScript?
      • tom13373 hours ago
        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</a>
        • keiejfiejcjej1 hour ago
          So how is it a weird stack given the TUI framework itself was written in Zig?
  • rootnod32 hours ago
    That is a wild stack to use for a RSS feed.
  • dhanushnehru2 hours ago
    I&#x27;d recommend saving actual HN item IDs rather than feed positions. Since the front page reorders constantly, relying on item IDs makes returning to a saved thread completely predictable.
  • ChaseRensberger2 hours ago
    I&#x27;ve been using <a href="https:&#x2F;&#x2F;github.com&#x2F;bensadeh&#x2F;circumflex" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bensadeh&#x2F;circumflex</a> for a while now, I like it a lot.
    • jonny28111 hour ago
      i love me a good tui, but hackernews is one of the few websites that aren&#x27;t a pain to use so i just browse it in firefox with vimium plugin.
  • Surac54 minutes ago
    No dependency, node.js in the next line.
  • sparrowidle2 hours ago
    Piping through readability before rendering is what made mine usable, raw html to markdown on news sites is mostly nav junk.
  • shalaev_s2 hours ago
    Without Claude code demo it would be impossible to see how it works, nicely done
  • milhan003 hours ago
    It would be nice to read the articles in the terminal as well, maybe just as an markdown output.
  • ByteJoseph3 hours ago
    Does it support account login ?
    • codetiger2 hours ago
      I was searching for upvote shortcut and realized it does not support login
      • KPGv22 hours ago
        Great! Get the News part of Hacker News without the Drama part of Hacker News. It&#x27;s always better to increase friction to help you wean yourself off destructive habits like this one, where I&#x27;m spending time sending text to a stranger who will immediately discount my thoughts since I&#x27;m not them.<p>Long time ago I had an extension for my browser that would &quot;pause&quot; every social media comment I made and do analysis to see if I was acting like a dick. Maybe I should get it working again.<p>It all started when I found some website where you&#x27;d give it your Reddit account, and it&#x27;d do a bunch of processing and produce a report about how much you swore, if you had net favorability or not with up&#x2F;down votes, sentiment analysis to see if you were coming from a place of friendship, etc. It really drove my behavior in a more positive direction.<p>I&#x27;m a kind, not just nice, person IRL. But the Internet turns humans into text, and I was taught as a child to engage harshly and critically with all text. That is to say, I had good English lit teachers.
        • lolakutty1 hour ago
          &gt;do analysis to see if I was acting like a dick...<p>Saying something thought provoking is a lot more important than not acting like a dick. If you see a soiled 10$ bill and a nice calming nature photo on the side walk, which one would you pick before the wind blows them away?
        • sras-me1 hour ago
          &gt; Get the News part of Hacker News without the Drama part of Hacker News<p><a href="https:&#x2F;&#x2F;sras.me&#x2F;unireader&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sras.me&#x2F;unireader&#x2F;</a><p>Reddit and YIFY ones are defunct now. Sorry.
  • glitchc4 hours ago
    Thank you, I&#x27;ve been looking for a meaningful way to browse HN on my cyberdeck and this looks perfect.
    • nateb20223 hours ago
      As an aside, &#x27;meaningful&#x27; is an obtuse adjective to use there; and it&#x27;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.<p>[0]: <a href="https:&#x2F;&#x2F;papers.ssrn.com&#x2F;sol3&#x2F;papers.cfm?abstract_id=7031138" rel="nofollow">https:&#x2F;&#x2F;papers.ssrn.com&#x2F;sol3&#x2F;papers.cfm?abstract_id=7031138</a>
      • glitchc2 hours 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&#x27;t have an Anthropic account, nor do I possess an OpenAI one. If you look at my comment history, you&#x27;ll notice I&#x27;ve been around for a while (as I noticed, have you).
        • nateb20222 hours ago
          I think a lot of the focus on AI output poisoning future models&#x27; training has left their effects on our reasoning&#x2F; vocubulary neglected, which is why I brought it up.<p>How we define words, what connotations they evince and the qualities they exude, simultaneously limits and enables thought.
  • keel-control4 hours ago
    why not use ratatui
    • ErenayDev3 hours ago
      maybe, the author isnot interested in low-level langs<p>Edit: sorry, i was wrong. <a href="https:&#x2F;&#x2F;github.com&#x2F;holo-q&#x2F;ratatui-ts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;holo-q&#x2F;ratatui-ts</a>
      • keel-control3 hours ago
        I just rewrote it on my device in ratatui using codex in 16 minutes and it uses 10x less RAM 150MB -&gt; 15MB<p>the binary file is 10MB
  • edweis4 hours ago
    Can you make an interactive ssh instead?
  • nottorp3 hours ago
    How many fps can it do?
  • suzukivenom4 hours ago
    just why
  • Yakobeen3 hours ago
    thanks for sharing! gonna try it out
  • tamimio4 hours ago
    Loved it, thanks for sharing! If you can add logins and posting it would be great!
  • KPGv22 hours ago
    Made me think of a cool way to burn tokens: browser that reports websites you visit to an agent, which then writes a TUI for that site, ultimately leading you to a collection of low-resource UIs for the five or so websites you actually visit. Then you stop needing to use a browser and your 16GB RAM with a browser using 64GB of RAM becomes a system with free RAM for the first time in years.<p>Think: Lynx but pretty.<p>(Also bonus, bot checks that flag you as one means you have more free time to not get advertised to or sucked into Internet drama.)
  • grim_io3 hours ago
    That&#x27;s a lot of deps to read HN.<p>Maybe your clanker can do it without.
    • MisterMunchkin3 hours 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.
      • TeMPOraL3 hours ago
        Except why would you waste your time on projects like these, if an LLM can zero-shot them for you?
        • nateb20222 hours ago
          You&#x27;re restating their point. Normies&#x27; output will still be bad compared to the output that good engineers would produce, with or without AI. You wouldn&#x27;t want to use poorly built software regardless of origin.
          • TeMPOraL1 hour ago
            Sure I would. <i>I use it every day</i>. Most software is crap, and it got worse once everything became a SaaS or embedded Chrome pretending to be a desktop app (or the worst, embedded Chrome loading a SaaS pretending to be a desktop app).<p>Hell, <i>half of my use of LLMs these days</i> is bypassing around crap in software written by people[0].<p>The metric in question is not how it&#x27;s built. It&#x27;s <i>whether it solves a problem</i>. Particularly for single or sub-100-users software, what matters is whether it does the job the user(s) like, the exact way they like it.<p>Speculating here, but maybe I&#x27;m also hitting at a disconnect between perspectives: I look at a product as tool to solve a problem. But some look at it as something to sell for money or Internet fame. For the former, <i>distribution doesn&#x27;t matter</i>. For the latter, distribution is everything, and then, perceived code quality&#x2F;effort signals actually start making sense.<p>TL;DR: I don&#x27;t mind using shoddy software, but I agree it&#x27;s a bit harder to <i>sell</i> obviously shoddy software.<p>--<p>[0] - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49875994">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49875994</a> I started calling this &quot;Bypass-Driven Development&quot;.
    • dmos623 hours ago
      Are you comparing with `curl | lynx` or with Chrome?
      • nateb20223 hours ago
        HN data is accessible through the Firebase API: <a href="https:&#x2F;&#x2F;github.com&#x2F;hackernews&#x2F;api" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hackernews&#x2F;api</a><p>You don&#x27;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&#x27;t write your JSON parser yourself.
        • dmos623 hours ago
          That&#x27;s fair criticism.
    • tantalor3 hours ago
      In the old days, you would telnet into a host machine that just serves this up to you. No need to install anything.
      • nateb20223 hours ago
        charm makes some awesome libraries for building&#x2F;serving CLIs over SSH: <a href="https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;wish" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;wish</a>
        • neomantra1 hour ago
          I love that library -- perfect for multi-user TUIs -- and thought its associated Wish SAAS with multi-key identity and KV store was a fantastic idea.
  • ligarota4 hours ago
    YaHnTui