News for hackers. Stuff that matters.
Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by hliyan on Sunday April 25, 2021 @01:10AM (#26930466)
What I really want is a reader view on the terminal -- something that cuts out all layout, formatting and images and shows me the raw article text in a fixed with font. Ditto for comments. I've already tried the "hn" [1] command line tool, but it doesn't strip out navigation menus, heads and footers from articles. It's also a bit slow.

[1] https://github.com/donnemartin/haxor-news

Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by aome510 on Sunday May 02, 2021 @05:00AM (#27013521)
> something that cuts out all layout, formatting and images and shows me the raw article text in a fixed with font.

FYI, I have implemented a reader view for `hackernews_tui v0.6.0` [0] which seems to satisfy most of the conditions above. Judging from my experience, this reader view works quite well and can cover many use cases.

[0]: https://github.com/aome510/hackernews-TUI/releases/tag/v0.6....

Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by xianx on Sunday April 25, 2021 @08:24AM (#26932189)
I use Newsboat and newspaper3k for that, works pretty well.

Example: https://hund.tty1.se/2020/07/29/an-introduction-to-the-web-f...

You can add the HN feed with hnrss: https://hnrss.github.io/

Maybe not the best solution, but I've been using it for a couple of weeks and it works.

Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by aome510 on Sunday April 25, 2021 @12:24PM (#26933942)
I just played around with newspaper3k today, and it works really well out of the box.

I plan to add support for article view reader mode with newspaper3k integration. My current approach is to create a child process with `std::Process:Command` then run a python script. Doesn't seem to be the best approach, but I guess it's the easiest one.

Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by axiolite on Sunday April 25, 2021 @03:44AM (#26931042)
That's why I like RSS. Strip out everything but the content and use whatever UI I prefer. Newsbeuter is a good RSS readers for the terminal. Several services and open source programs like TT-RSS allow you to get the full-text instead of just a blurb. And for sites without RSS feeds, there are services that make it easy to scrape HTML pages and output an RSS feed.
Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by Seirdy on Sunday April 25, 2021 @04:53PM (#26936579)
Two projects that do this with nearly identical output:

- https://github.com/eafer/rdrview

- https://github.com/go-shiori/go-readability

Pipe the filtered HTML output into your favorite textual web browser for an ideal reading experience.

Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by aome510 on Sunday April 25, 2021 @01:35AM (#26930545)
Exactly this! I also want the same thing but didn't really find a good way to achieve it during my first find a while ago.
Re:Show HN: hackernews_tui – A Terminal UI to browse Hacker ... by hjek on Sunday April 25, 2021 @07:10AM (#26931877)
HN looks good in regular text-based browsers. I use Links[0].

[0]: http://links.twibright.com/