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.
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.
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.
"Zig with TypeScript bindings and React components" for TUI is definitely the wildest, weirdest stack for a given job I've seen.
Where are you seeing any mention of Zig? All I see is TypeScript?
It uses OpenTUI which is build in Zig: https://github.com/anomalyco/opentui
Does it support account login ?
It would be nice to read the articles in the terminal as well, maybe just as an markdown output.
That's a lot of deps to read HN.
Maybe your clanker can do it without.
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.
Except why would you waste your time on projects like these, if an LLM can zero-shot them for you?
Are you comparing with `curl | lynx` or with Chrome?
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.
That's fair criticism.
In the old days, you would telnet into a host machine that just serves this up to you. No need to install anything.
charm makes some awesome libraries for building/serving CLIs over SSH: https://github.com/charmbracelet/wish
How many fps can it do?
why not use ratatui
maybe, the author isnot interested in low-level langs
Edit: sorry, i was wrong. https://github.com/holo-q/ratatui-ts
I just rewrote it on my device in ratatui using codex in 16 minutes and it uses 10x less RAM 150MB -> 15MB
the binary file is 10MB
thanks for sharing! gonna try it out
Can you make an interactive ssh instead?
just why
Thank you, I've been looking for a meaningful way to browse HN on my cyberdeck and this looks perfect.
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
YaHnTui
Loved it, thanks for sharing! If you can add logins and posting it would be great!