- 61comments
- 22comments
- 254comments
- 2comments
- 24comments
- 36comments
- 45comments
- 376comments
- 5comments
- 229comments
- 809comments
- 193comments
- 48comments
- 16comments
- 97comments
- 62comments
- 11comments
- 62comments
- 51comments
- 60comments
- 141comments
- 45comments
- 99comments
- 5comments
- 22comments
- 178comments
- 116comments
- 7comments
- 105comments
- 38comments
Can you make an interactive ssh instead?
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
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
Loved it, thanks for sharing! If you can add logins and posting it would be great!
YaHnTui
just why
"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
That's a lot of deps to read HN.
Maybe your clanker can do it without.
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
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.
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.
thanks for sharing! gonna try it out
How many fps can it do?
It would be nice to read the articles in the terminal as well, maybe just as an markdown output.