Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
41–49 of 49 posts
Awesome work! Unfortunately I too am only seeing the first 4 lines of HN. Also, when I press Enter on a selection, it doesn't show comments. I love the idea of this and I hope to see its development continue!
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#42lynx
You could /almost/ have this with newsbeauter and lynx, except that the RSS feed doesn't include points or comment number and lynx doesn't indent comments, so all comments appear at the same thread level which is somewhat confusing.
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#43The HTML rendering of the source code at https://2ton.com.au/library_as_html/hnwatch/textify.inc.html is broken due to the inclusion of markup delimiter type characters in the source.
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#44I'm getting this on scrolling:
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#45Pretty cool.
I do however get a coredump resizing the terminal window: Ubuntu 14.04LTS, tmux, hnwatch
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#46Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#47lynx
You could /almost/ have this with newsbeauter and lynx, except that the RSS feed doesn't include points or comment number and lynx doesn't indent comments, so all comments appear at the same thread level which is somewhat confusing.
I use this in my elinks hooks.pl to indent hn comments.
use strict;
use warnings;
use Encode;
use Mojo::DOM;
sub pre_format_html_hook {
my $url = shift;
my $html = Mojo::DOM->new(decode_utf8(shift));
if ($url =~ 'news\.ycombinator\.com') {
$html->find('img[src="s.gif"]')->each(sub { my $e = shift;
my $w = $e->attr('width');
my $ns = ' ' x ( $w / 10 );
$e->replace($ns); });
}
return $html;
}Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#48is anybody using their rwasa webserver in production?
I've just migrated a set of Docker containers on one host from jessie+nginx to alpine+rwasa.
Looking good so far.
Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader
#49Feature request: page up and down keys.
:)