I host a publicly open database with Hacker News data at <a href="https://play.clickhouse.com/play?user=play#U0VMRUNUICogRlJPTSBoYWNrZXJuZXdzX2hpc3RvcnkgTElNSVQgMTAw" rel="nofollow">https://play.clickhouse.com/play?user=play#U0VMRUNUICogRlJPT...</a><p>So you can create any sort of similar services in a single SQL query and an HTML page.<p>I also hosted it as a publicly accessible data lake, which you can query from everywhere: <a href="https://github.com/ClickHouse/ClickHouse/issues/29693#issuecomment-4755761107" rel="nofollow">https://github.com/ClickHouse/ClickHouse/issues/29693#issuec...</a><p>It is also updated in real-time.
Thank you for providing this, you are a hero!!! I'm gonna try to do cool stuff with it!
It probably also got swamped in real-time...
Do you mean it's not updated? You gotta sort by update_time column. Looks sorted, but you gotta sort it with a query like:<p>SELECT * FROM hackernews_history<p>ORDER BY update_time DESC<p>LIMIT 100;<p>And yeah, I got that from deepseek because I don't have a brain.
oh hey, per HN terms and conditions I license my HN data only to HN. Can you please remove my data from the set? Thank you!
Not sure if joking, but if this product is not republishing the text of your contributions (to which you hold copyright), you’re probably not going to convince a court to do anything here.<p>Generally speaking it is not a violation to scrape, index, and analyze web content as long as you don’t republish copyrighted content without a license, or violate access controls. For example: search engine indexes.
<i>By uploading any User Content you hereby grant and will grant Y Combinator and its affiliated companies a nonexclusive, worldwide, royalty free, fully paid up, transferable, sublicensable, perpetual, irrevocable license to copy, display, upload, perform, distribute, store, modify and otherwise use your User Content for any Y Combinator-related purpose in any form, medium or technology now known or later developed.</i><p>@zX41ZdbW, you can safely ignore this guy.<p>@GeoAtreides, next time read the actual terms of service before hallucinating.
> for any Y Combinator-related purpose<p>That is actually the key phrase. HN can provide the API, no problem. People can consume the API, no problem.. But I'd ask an attorney if API consumers can then re-release the data for purposes not related to YC. By my reading, they cannot.
>Y Combinator and its affiliated companies<p>is zX41ZdbW either?
Wait, so I have to ask for every single person's permissions to use this data?<p>uhhhhhhhhhhhhhhhhhhhhhh
You must be fun at parties
Google Trends is about <i>searches</i><p>This is about <i>published text</i>. More like if Google Trends counted word occurrences on webpages. Or if Google Ngrams counted webpages instead of books<p>People don't write much about non-newsworthy things whereas many people search "burger" anytime they want a burger delivery. The datasets aren't usable in the same way<p>Edit: not to say it's not a cool product! Just keep this in mind and enjoy using it :)
Someone asked an imo good question (that I was going to vouch for, idk why it was dead), but deleted it. Not sure why, but so I'll not credit the username in case they don't want that and changed some words for stylometrics avoidance<p>> The concept seems pretty comparable. From the title I had a good idea of what it was; when clicking on it, the visual presentation felt familiar & intuitive. \n\n Being a little less literal can be useful!<p>That's why I'm pointing it out: the title leads you to think they're the same metric, the page looks visually similar, and so you treat it as the same data type; but when you read the data through this lens, you draw wrong conclusions. It took me a while, scrolling down the examples, before I realised why it felt so off and that my mindset is wrong. It's what's being written about currently, not what people on HN are actually looking for<p>It's indeed not about being nonliteral, it's for me about having been confused about the data being shown
><i>Someone asked an imo good question but deleted it. Not sure why</i><p>it was me, and i deleted it because i realized my last sentence "<i>being a little less literal can be useful</i>" came across as unnecessarily blunt, which i didn't want. but i wasnt sure how to express what i wanted to say without it being that way. so i deleted it while rethinking my phrasing, and rethinking your comment.<p>in the end, i kind of came around to understand where you were coming from, so i didnt bother to recomment.
maybe more like google ngram viewer? <a href="https://books.google.com/ngrams/about" rel="nofollow">https://books.google.com/ngrams/about</a>
Yeah I feel like hackernews trends is alright but the post title is a bit misleading, noted
Now if Algolia had a dataset of what people are searching for on HN that'd be it
Hug of death<p>`
/api/hn -> 504 An error occurred with your deployment FUNCTION_INVOCATION_TIMEOUT cle1::c8vgv-1782399959042-aeba3cae05ff
`
If this project is an ad for their product (Upstash, promising "Highly Available, Infinitely Scalable"), then the last thing they'd want is a hug of death :/
/api/hn -> 502 {"error":"Your database has been temporarily rate-limited, please contact support@upstash.com for further details."}
back in my day we called this a good ole' fashioned slashdotting.
Our startup (~20 people) got slashdotted in 1998 or so. I was the only one randomly awake at the time. Remember watching <i>all the logs</i> from our web server in realtime, ready to immediately kill anything or anyone threatening the overall availability.<p>512 kbps uplink, I think. Even accidental DoS was trivial. We had a self-hosted little data center at our office with the only available stupidly expensive commercial connection.<p>Felt some dread having to restart the main (async, single-process) web server a few times to keep things going due to bugs in our code. So many* people on dial-up patiently waiting for the page to load.<p>It was exhilarating though :).<p>*) Surely at least a hundred!
Its funny that these days the bottleneck is usually the data layer. Servers are so powerful now that even your average $5 server can handle HN levels of load if configured correctly.
I'm also getting /api/hn -> 504 An error occurred with your deployment FUNCTION_INVOCATION_TIMEOUT cle1::48fnt-1782412720840-4855b2b75b5a after a few lookups
I get<p>/api/hn -> 502 {"error":"Search entry should have an initialized schema, command was: [\"SEARCH.AGGREGATE\",\"hn\",\"{\\\"$or\\\":[{\\\"title\\\":{\\\"$eq\\\":\\\"anthropic\\\",\\\"$boost\\\":5}},{\\\"text\\\":{\\\"$eq\\\":\\\"anthropic\\\"}}]}\",\"{\\\"by_month\\\":{\\\"$dateHistogram\\\":{\\\"field\\\":\\\"time\\\",\\\"fixedInterval\\\":\\\"30d\\\"}},\\\"top_authors\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"by\\\",\\\"size\\\":6}},\\\"by_type\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"type\\\",\\\"size\\\":4}}}\"]"}
We will be with you shortly :)
yeah we killed it :(
Hello, /api/hn -> 502 {"error":"Your database has been temporarily rate-limited, please contact support@upstash.com for further details."}
Very cool! There seems to be a bug here: <a href="https://hackernewstrends.com/?q=vim&q=emacs&q=zed" rel="nofollow">https://hackernewstrends.com/?q=vim&q=emacs&q=zed</a><p>For some reason the results cut off at 2018-10 even though "Popular Comparisons" preview shows more.
The huge spike of "lk-99" in science & frontier tech is amusing...<p>This is cool concept, would love a positive/negative sentiment computed for each comment that refers to a given word, so you can see trends of "cloudflare (positive)" vs "cloudflare (negative)" where first one counts comments only if sentiment confidence is greater than say 0.6 and the other one counts comments only if sentiment is less than 0.4 (assuming [0,1] sentiment score)
Reminds me of this side project I'm working on.<p>https://gitlab/here_forawhile/torum<p>It's a HN clone, that syncs with HN that allows you to basically establish smaller private communities who can discuss anything that's on HN without actually being on HN.<p>It also indexes and let's you search through the DB which I find is really useful to find things that peak my interest.
Fixed link: <a href="https://gitlab.com/here_forawhile/torum" rel="nofollow">https://gitlab.com/here_forawhile/torum</a>
*pique<p>'peak' refers to the top of a thing, commonly mountains
One useful feature would be to normalize by total so that I can see changes in something as opposed to just total site growth. Right now I have to chart a single generic parameter but if I pick poorly it’ll confuse the issue.
/api/hn -> 504 An error occurred with your deployment FUNCTION_INVOCATION_TIMEOUT sfo1::rbqk2-1782415926647-577d5c5ed030
Hello HN,<p>This was a small project of mine after I've found out that I can simply the whole hackernews archive (~48GB) and play around with it.<p>You can compare terms just like in google trends and you can also see the exact posts & comments from that time.<p>I like that you can discover what went crazy in the timeline, they just come up as small burst of activity, it's quite fun to play around with it.
<a href="https://hackernewstrends.com/?q=litecoin&q=dogecoin&q=solana&from=1512345600000&to=1514937600000" rel="nofollow">https://hackernewstrends.com/?q=litecoin&q=dogecoin&q=solana...</a><p>I also have a seperate page for the "Who is Hiring?" posts, here is the distribution of programming languages over each monthly "Who is hiring?" post in HN ever.
<a href="https://hackernewstrends.com/who-is-hiring" rel="nofollow">https://hackernewstrends.com/who-is-hiring</a><p>Any kind of feedback is welcome.
> <a href="https://hackernewstrends.com/who-is-hiring" rel="nofollow">https://hackernewstrends.com/who-is-hiring</a><p>Currently it says "no job-post mentions in this window" for everything. Transient error?
Honestly the HN archive is very valuable. If you had it all on a local db with everything indexed you basically end up with a offline search engine.<p>Where is this archive located you speak of?
found : <a href="https://huggingface.co/datasets/open-index/hacker-news" rel="nofollow">https://huggingface.co/datasets/open-index/hacker-news</a>
It's on firebase, per <a href="https://github.com/hackernews/api" rel="nofollow">https://github.com/hackernews/api</a>
This is excellent.<p>A minor suggestion - I'd like to be able to render the current graph taller (full height of my browser window).<p>Also some sentiment analysis on the "people" graphs would be very insightful (particularly for the likes of Edward Snowdon, Julian Assange, Elon Musk and Sam Altman). Perhaps colour the area under the graph red-orange-green based on the sentiment?
Thanks for the feedback, noted the full-screen request.<p>The sentiment analysis is very interesting, I can do that easily. Could be a new page as well. Did you see this anywhere else or just your idea?
I thought Grunt was still popular after all these years. But I'm pretty sure this is picking up the trend of "grunt work" instead of the task manager.
Very cool!<p>one subtle consistency bug that made it hard for me to interpret when I was clicking around: the small thumbnail plot vs the full plot often (always?) seem to use different colors.<p>The blue / orange gets assigned to the opposite labels in the A vs. B when you click, which made it confusing to understand.
Cool! I want to suggest something, Imagine I want to got to a specific date where some topic was hot, I can read it from your website and then go to that date. But it would be better if I could click on some sort of button, or on the points on the graph to go to that date. It would be easy to implement, you just need links like this:
<a href="https://news.ycombinator.com/front?day=2026-05-24">https://news.ycombinator.com/front?day=2026-05-24</a>
IMO, using AI to assign keywords to a broader group of strict synonymous keywords would make the comparison much more helpful.<p>Because in general we want to know the trend of categories more than of a word, asking for “auto pilot” for ex. should include “self driving”, FSD etc.
I would not like this. This is the kind of change that made google search so annoying. (Eg what if I want to track the history of 'self-driving' vs 'auto pilot' in sales pitches? Or more basically, what if the system wrongly interprets me wrongly?) Better to support | or similar old-fashioned search engine syntax and dwis and not dwim.
It looks like some of these terms aren't indexed (or the site is just too hug of deathed right now), but I'd like to see the graph of like, social media, iot, cryptocurrency, ai.<p>The transition between crypto and ai on the graphs is already pretty funny.
<a href="https://hackernewstrends.com/?q=crypto&q=chatgpt" rel="nofollow">https://hackernewstrends.com/?q=crypto&q=chatgpt</a>
Very cool idea. Shows programming language trends pretty well.<p><a href="https://hackernewstrends.com/?q=Nim&q=Rust&q=Zig" rel="nofollow">https://hackernewstrends.com/?q=Nim&q=Rust&q=Zig</a>
Terms with spaces seem to be an "or"
Despite being for trends this is actually a good tool to find articles that are interesting but sometimes buried.
Almost all of the major vulnerability and hack are just single spikes at the time it happened and it tails off after that… except Stuxnet. Stuxnet is was much more interesting that most other attacks since it was very political and openly published. Of course, the thing that attack was about is still a news headline today as well
It's funny how "trump" dwarfs just about any other term. Truly a hacker forum.
This looks quite nice! But suspiciously absent data points.. no Java or Go for the languages? Seems odd. No Amazon in companies, yet I think it's often mentioned.<p>I wondered if "go" got filtered out because it's also just a regular word.<p>Either way, very cool!
This is great, I was just hoping to find a tool like this and specifically scoped to "Show HN" posts? Is there a way to do that?
Great project.The popular comparisons are probably the most useful part because they show the relay race between tools pretty clearly.<p>One thing I’d like to see is normalization by total HN activity over time.
Very cool!<p>I'd love to have some sort of normalization option to separate more subtle positive trends from the general increase in number of posts.
great idea! Now, you are running into the same issue Google Trends had to solve: term disambiguation. For instance, "atom" is ambiguous in a comparison of editors like this: <a href="https://hackernewstrends.com/?q=sublime&q=atom&q=vscode" rel="nofollow">https://hackernewstrends.com/?q=sublime&q=atom&q=vscode</a>. Given LLMs it might be possible to use an embedding vector (with context) instead of a text string for indexing, and if you do, this problem might go away.
We had to take the site down for a second, it'll be online in a few minutes. Thanks for trying it out
Great job! I've also been wanting to do similar statistics recently, wanting to know when LLMs becoming the absolute dominant topic on HN. Now it seems like half of the posts were about LLMs.
This is a great project. It'd be fun to look at some of the more popular startups over time, both those that ended up successful and those that didn't.
Nice! Would love a brief explanation of the infrastructure. I see the Powered by "Upstash Redish Search", but why choose Upstash Redis Search vs something else?
The 'flash vs html5' chart looks strange juxtaposed with that conclusion
There are a few technologies with pretty generic names which don’t lend themselves so well to this kind of trend analysis.<p>I was curious about Atom. According to the trend it’s still neck and neck with VS Code. But are people really talking about Atom the text editor that much still, or other types of atoms?
I think Google Trends is actually smart enough to suggest which topic you want to see for the same keywords -- it understands the semantics.
I think atom is no longer being developed, so it must not be a that popular topic. is that what you meant?
Glad to see that the raw data is also shared. Very cool, but why the openai vs anthropic graph has no data post 2019?
Yeah we had to refill the dataset due to an error, it will be fixed in a few minutes
I don't see any data for anything past 2019.
It would be super interesting to see if HN mentions serve as a leading indicator of company performance/valuations -- I wouldn't be surprised.
Funny one x)
Though I ain’t sure if even more data is useful on hackernews
Woah, great work!<p>I am really liking the trend for "linux": <a href="https://hackernewstrends.com/?q=linux" rel="nofollow">https://hackernewstrends.com/?q=linux</a>
Looking at this makes me think HN is peak design aesthetic.
The example comparisons made me smile. Well done!
Nice. Is the data points y-axis normalized by total amount of comments at that time?<p>Edit:
Nvm seems like absolute count if you click the graph.
The colors of the lines of the big graph are inverted compared to the smaller ones.
Really cool! Where would you get the data for something like this? Is it open, or its scraped?
Are those raw numbers or adjusted for active users at given point in time?
very cool! not sure if something is broken, but there seems to be no data past 2019 on any of the queries that i can see
Love this, seems to struggle with newly indexed words. Will try again when the FP load is gone
I'd be interested in "google ngram for hacker news" instead
Really beautiful, informative, and functional layout. Great work!
But can it discover new trends without having to type the keywords?
Scrolling is totally broken for me.
insane ! I don't know if it's possible but it would be huge if we had access to the localisation of the trends
First great work.<p>Reminds that I wish there was a modern way to do this for the words people speak and write online with. I want to literally know when people started putting literally twice in sentences.<p>Ngram seems is out of date a piece meal. Now Corpus seems like they try but UX terrible.
This is actually very cool@
This is actually very cool!
too slow or broker right now
nice. i guess AWS still had nothing to fear from GCP/Azure. ty for this
<a href="https://hackernewstrends.com/?q=furries&q=furry" rel="nofollow">https://hackernewstrends.com/?q=furries&q=furry</a><p>Hmm, did I break something?
The topic comparisons are pretty boring and search is disabled. Perhaps I'll remember to return to this. But I can't think of much it gives that plain Google nGram viewer doesn't.
COOOOOOOOOOL!!!!!!
This is the only HN submission I ever upvoted because it is amazing
Thanks, it was my first ever post here as well, would you look at that
If more people spent time on /new looking for awesome stuff and vouching for dead items, HN would be a better place.
I know right
oeeh hug of death, congrats!
This is quite useful at-a-glance
ooh this is sick! really nice ui too!
Yup your upstash is rate limited
> API design, era by era: REST becomes the web's default 2012–15, then the post-REST generation splits: gRPC for service-to-service from 2016, GraphQL for the client from 2017.<p>No. Looking at the diagram, REST is the default until 2017, GraphQL is briefly popular around early 2020s, then the web resturns to REST.
love it
[dead]
[dead]
[dead]