Live data from Hacker News

Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

github.com

41–50 of 148 posts

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#41
Is it lame that (especially for super long discussions), I often open a gemini tab and summarize the comments? I like reading HN comment threads, but I often only have a few minutes and just want to get the gist of the reactions from the community for some topic.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#42

Is it lame that (especially for super long discussions), I often open a gemini tab and summarize the comments? I like reading HN comment threads, but I often only have a few minutes and just want to get the gist of the reactions from the community for some topic.

Probably better than rushing the top comment only.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#43

Is it lame that (especially for super long discussions), I often open a gemini tab and summarize the comments? I like reading HN comment threads, but I often only have a few minutes and just want to get the gist of the reactions from the community for some topic.

yes, a bit.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#44

Is it lame that (especially for super long discussions), I often open a gemini tab and summarize the comments? I like reading HN comment threads, but I often only have a few minutes and just want to get the gist of the reactions from the community for some topic.

[dead]

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#45

I think the amount of upvotes you’re getting here suggests that it might be worth building a proper browser extension for this! Would you be interested in making one?

Open to it. For now I’m going to keep it as a userscript and build out some of the interesting ideas people have suggested here. If it keeps growing, a proper extension would definitely make sense.

Makes sense. You can also iterate faster without the hassle of getting your extension approved on the chrome store, etc.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#48
post #21

Earlier quoted context omitted.

[Assuming you mean duplicate HN submissions] I normalize the URL and use HN's Algolia search API to find an existing story with a matching URL. I don't currently handle multiple HN submissions of the same article; I just use the matching story I find. That being said, I could see creating a historical snapshot of all the times an article has been submitted and building a blended comments section in the future.

Blended comments section sounds great! Good work.

Crunched a bit and got a first pass of this working.

https://github.com/twalichiewicz/HNewhere/releases/tag/v1.4....

You can test with https://www.apple.com/iphone/

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#49
Feature 2 is really useful. When I land on a technical article I know chances are there will be a nice HN discussion, that may sometimes even refute the main point of the article.

Feature 1 is IMO less useful. It just suggests that people are bad at window management. We didn't like overlapping windows and finding them, so we created tabs inside windows. Then we wanted to see two things at the same time, so we created split views inside tabs (Chrome and Firefox both had this). With a good window manager neither would be necessary. Sadly the community prefers to solve this at the application level rather than the desktop level; I'm currently using Forge (https://github.com/forge-ext/forge) but sadly it's becoming unmaintained.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#50
Have you considered modifying it to trigger on every HNews click as well as with as manually triggered? As it is now it leaks browser URLs + query string + fragments to hn.algolia.com since it queries it on every single page you visit. At the very least it might be good to sanitize the queries by restricting to origin + path?
Post reply on HN