Live data from Hacker News

Show HN: I made a modern web UI for Hacker News

modernhn.com

61–70 of 203 posts

Re: Show HN: I made a modern web UI for Hacker News

#61
Nice!

It's a neat idea to implement it as an extension. And I enjoy how it just overlays the normal site (loads separate pages as separate pages, etc)

And finally a dark mode. Dear god.

One bit of feedback: it took me a minute or two to figure out how to comment on an article (to write this very comment); I actually had to look back at the website to make sure commenting wasn't a "Pro" feature. I don't know if the reply-arrow really translates to comment threads, especially when you're not "replying" to another comment but to the main post. Some sort of comment-bubble icon might be clearer. At the very least I think those icons could use titles, and/or "modern" tooltips.

Overall pretty cool! I think I'll try it out at least for a little bit

Edit: A couple other things,

- It's a bummer that karma and threads (now "Comments") are hidden behind an extra click. When I'm actively participating in a thread those are two of my most frequently-used parts of the UI

- The thread UI is a little too minimalist I think; it's a little hard to visually parse where one comment ends and another starts, nesting levels, etc. Some tasteful borders or lines would go a long way here, though so would some slightly-more-contrasted colors

- I don't see a way to see upvotes on your own comments like in the main UI. My dopamine receptors would like that feature back ;)

Re: Show HN: I made a modern web UI for Hacker News

#63
post #53
post #30

I kinda come here because it doesn't have this :) But this is the good thing about it, people can extend it as they wish.

I love it. I wonder if it's possible to do this by proxying requests to HN instead of a Chrome extension -- that way I don't have to bloat the browser's start-up time and don't have to "worry" about this extension spying on other websites, even though I realize it's unlikely, it's good principle to not have to give this permission.

Depends on what you mean by "proxying". Everything you do (serving a Single-Page Application or requesting HN by backend, processing it's HTML and sending the content to your own frontend) will take traffic away from news.ycombinator.com and to another domain - which comes with it's own set of dreadful scenarios.

There used to be (and still are) things like https://mreidsma.github.io/bookmarklets/jquerify.html which allow to inject JavaScript on click (and thus would make it possible to transform that site), but I gave it a shot and HN is set up to disallow this:

  Refused to load the script 'https://code.jquery.com/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://cdnjs.cloudflare.com/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Re: Show HN: I made a modern web UI for Hacker News

#66
post #53
post #30

I kinda come here because it doesn't have this :) But this is the good thing about it, people can extend it as they wish.

I love it. I wonder if it's possible to do this by proxying requests to HN instead of a Chrome extension -- that way I don't have to bloat the browser's start-up time and don't have to "worry" about this extension spying on other websites, even though I realize it's unlikely, it's good principle to not have to give this permission.

It's possible, but as I mentioned in another comment, building this as an extension has some added benefits [1].

> that way I don't have to bloat the browser's start-up time and don't have to "worry" about this extension spying on other websites, even though I realize it's unlikely

No need to worry about that, as it's limited by the permissions specified in the extension manifiest. So this extension can only access news.ycombinator.com and extensionpay.com to facilitate the Pro upgrade.

[1] https://news.ycombinator.com/item?id=32769145

Re: Show HN: I made a modern web UI for Hacker News

#69

Nice! Any way to set previously read items with different CSS, so — as in the basic HN UI — you can tell at a glance whether you’ve already been there? Don’t see that option mentioned for either free or Pro.

Good idea, thanks, I'll add that in the next version.

Re: Show HN: I made a modern web UI for Hacker News

#70

I'm not a huge fan of how it removes the built-in account-linked bookmarking functionality (favorites) and replaces it with a pro-only feature (locally stored bookmarks).

Regardless of whether it's a pro-only feature, my feedback is that I need this to use the existing HN favorites capability before I feel comfortable using it.
Post reply on HN