Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: HNRelevant – Explore Related Discussions on HN in an Integrated Sidebar (github.com/imdj)
48 points by imadj 10 months ago | hide | past | favorite | 9 comments
Reading submissions here, I often feel intrigued and want to explore more interconnected or similar stories. The process of googling and going back and forth didn't feel natural. So, I made this browser extension that adds a related submissions section for HN's layout. The results are displayed in a sidebar right in the page's layout using HN native style just like other elements.

I enjoy being knee-deep in discussions. Many times you're learning about something new, where the topic is either unfamiliar, thought-provoking, or just could use some context that you don't even know about. If a submission is interesting enough for me to click on, chances are I'd like to dig deeper into this topic and there are more related discussions that offer new context or perspective.

This is an extension that I always have on so I paid special attentions to UX to make it intuitive and seamless and now the extension has become just part of the HN experience for me. Implementation-wise, it integrates https://hn.algolia.com/ API and uses the submission title as its initial query with the ability to change the query and other options interactively.

It's available on: Chrome, Firefox, and as a userscript.

Chrome:https://chromewebstore.google.com/detail/hnrelevant/iajhnkei...

Firefox: https://addons.mozilla.org/en-US/firefox/addon/hnrelevant/

I shared it earlier last year when it was early in development, barely a prototype, at the time it wasn't yet published and could only be used on chrome by "load unpacked": https://news.ycombinator.com/item?id=36102610. I've been using it daily since and I'm happy to share it now for you to give it a try.




Looks nice, I've loaded it into FF and I'll give it a go. Thanks for sharing.


I’d love to see this as a safari extension.


Sadly, I'm not familiar with Safari and don't have access to the ecosystem.

For the time being, I imagine you can still give it a try as a userscript with an extension like Tampermonkey, right? It's not the same experience but it should work

Nevertheless, will keep it in mind.


Tested on iPadOS 17.3 Safari with https://news.ycombinator.com/item?id=39150786 and https://news.ycombinator.com/item?id=39135487.

Sidebar appears sometimes. "Reduce Privacy Protections" increases success rate, but it's not 100%.


Thank you for the feedback

Can you open an issue on GitHub to track this? I will investigate this and maybe others can further help with Safari support.


Will do.

It would be helpful to have an optional button for on-demand query vs. sending all HN browsing history to 3rd-party Algolia site, https://news.ycombinator.com/item?id=36103642


We do actually have this, just not for the userscript. It's available with the browser extensions' preferences.

These preferences are set and forget that I don't think need to be on the page all the time.

So if we do the Safari extension it'll have it just like other extensions.

Will see how to make this available for the userscript.


You can use userscripts [1] which is a safari extension which allows you to add userscripts, and the author of this work have an userscript [2] that you can use with safari (or any other browser)

[1] https://github.com/quoid/userscripts

[2] https://github.com/imdj/HNRelevant/blob/main/HNRelevant.user...


+1




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: