simonw / til

Today I Learned
https://til.simonwillison.net
Apache License 2.0
1.02k stars 81 forks source link

Search for recent comments on an HN article #70

Open jasongrout-db opened 1 year ago

jasongrout-db commented 1 year ago

Thanks so much for publishing https://github.com/simonw/til/blob/main/hacker-news/recent-comments.md. In the spirit of sharing back, I took it one small step further and defined a new search engine shortcut in Chrome/Firefox that will easily construct the appropriate search query url for a given story:

Screenshot 2023-04-13 at 06 35 27

Now I can look up a story, get the story id, then type in the url hnc <paste in story id> and get the comments ordered by date.

Thanks again for sharing your tips! I hope you find this useful too.