Re:HN-text: an easy-to-use, text-first Hacker News terminal ...
by omoikane on Monday June 03, 2024 @12:51AM
(#40559439)
Unfortunately the hierarchical comments are not indented properly with Lynx.
The topic listings work just fine though. Although if I were using Lynx just for the headlines, I might start at https://brutalist.report/ instead of hacker news.
Re:HN-text: an easy-to-use, text-first Hacker News terminal ...
by fellerts on Monday June 03, 2024 @03:48AM
(#40560269)
That's because comments are indented with an invisible gif (https://news.ycombinator.com/s.gif), not with CSS. Maybe you could add a custom stylesheet to Lynx to make the indent work? Some prior art: https://news.ycombinator.com/item?id=12098017
Re:HN-text: an easy-to-use, text-first Hacker News terminal ...
by zimpenfish on Monday June 03, 2024 @11:28AM
(#40563649)
> Maybe you could add a custom stylesheet to Lynx to make the indent work?
Lynx Style Sheets (LSS) don't really cover that kind of scenario from what I remember[1] - they're more "apply this ncurses/slang-style to this element".[2]
[1] I wrote the original code but I am old and increasingly senile.
[2] I've not really been involved for ~20 years but unless the internal "renderer" has been radically overhauled, supporting anything like "real" CSS isn't really doable.
Re:HN-text: an easy-to-use, text-first Hacker News terminal ...
by gitinit on Monday June 03, 2024 @01:37AM
(#40559655)
What about using browsh[0] over SSH/Mosh/HTTP?
[0]: https://www.brow.sh/
Or you could just use the terminal browser Lynx, that will display all sites as text-only.
https://en.wikipedia.org/wiki/Lynx_(web_browser)