79
66 Comments

How to hack Hacker News (and consistently hit the front page)

I know I’m on thin ice with a title like that. Getting featured on the HN front page is high on every Indie Hacker’s bingo card, not to mention “hacking Hacker News.” However, we found a way to consistently get to the front page using a repeatable process that you can use too.

Let’s dive in.

Together with @adriaanvanrossum, I own Simple Analytics, a privacy-friendly and simple Google Analytics alternative. Adriaan started Simple Analytics full "indie hacker style” and grew to 100K ARR by understanding the needs of his audience extremely well. Most of our users are like Adriaan, and where can you find people like Adriaan? Yes, Hacker News.

To me, consistently getting on the front page of HN seemed unrealistic. If it would have worked just once, I would have considered myself very lucky.

But once the dopamine of my first HN front-page moment kicked in, I wanted more, more, more. I spent too many hours figuring this out, but in the end, we found a way to get that HN front page coverage repeatedly.
HN spikes

These are our website analytics from last year, where I marked the HN spikes. Feel free to play around with our live analytics here to see for yourself.

Here is what worked (and is still working for us).

Understanding Hacker News

First, you need to understand Hacker News. I’m not a developer. Hacker News had never been my jam. Before posting, I needed to understand what worked for the HN crowd.

You’ll find out that the HN crowd is not the easiest. The people on HN will literally slay you if your stuff is not 100% on point. Also, don’t even try to dump your semi-interesting blog posts on HN, let alone promote your product.

Competition is fierce, and only a certain amount of articles will get that front-page spot.

But after spending many hours trying to understand HN, its users, and the content that is doing well, I identified a pattern.

Your content needs to be either:

  • Newsworthy
  • Investigative (research)

Two examples:

Investigative: “Fingerprinting is worse than I thought

If you check the link, you will see a few things that are important here:

  1. Someone did research and found something interesting. The writer actually put in the work.
  2. It's written without corporate bs
  3. No self-promotion or any CTA’s in the text

It screams value.

Newsworthy: “Apple wins antitrust court battle with Epic Games, appeals court rules

There is only one reason this ranks on the front page of HN. It's news that is relevant for the HN community.

Other things you need to take into account:

  • Find the perfect time to post: Weekends - Less competition. Still tons of traffic.
  • You can post multiple times: HN understands that quality posts can go unnoticed, so you can try the same post again. Don’t overdo it. I would say max 2 or 3 times.
  • Keep engaging with the audience.

Our Strategy: The War Room

Yes, funnily enough, this is what we actually called our approach to HN. Once we got an understanding of HN, we created a strategy around it: The War Room Strategy

We chose to rank on the front page with “newsworthy” articles. This seemed to be a better repeatable approach than the “investigative research.”

The War Room Strategy has three steps:

Step 1: Newsbot

Step 1 is to stay on top of news that is both in our niche and relevant for HN. To ensure this, Adriaan created a “newsbot” to notify us immediately about news we could act upon.

For us, news on privacy issues, big-tech fines, data breaches, and anything concerning Google Analytics is relatable to us and relevant to HN.

Here is how Adriaan built the bot (only for the tech-savvy ones — I have no idea how this works. Skip this if you are like me):

  1. Fetch data from Hacker News API
  2. Set up Google Alerts for your query
  3. Fetch data from Google Alerts XML
  4. Enrich data and store in SQLite file with a cronjob
  5. Send alerts with other cronjob to Twist API or Telegram API

Then add chatGPT in the mix and ask for a rating between 0-100 and a reason why the article is getting that rating. We send ourselves alerts when the rating is 30+

Add chatGPT

Adriaan tweeted about it here to get the full idea of this.

Anyway, this way, we are the first to get that relevant news from the source.

Step 2: War Room mode

Step number 2 is triggered by our news bot. When this happens, we drop everything and start investigating the news item: War Room mode. If we feel there is something there, we start writing about it.

To be relevant for HN, you can’t just copy/paste the news item. News items are often very plain, so by providing more context and implications, you can create something relevant that can coexist with the source.

Example: Norway takes a stance against Google Analytics - 144 upvotes

Outline:

  • State the news item and link to the source (so people can choose what to read)
  • Explain what the problem is
  • Explain what the implications are
  • Explain what we can expect in the future

Step 3: The secret sauce

We always end with a section that is called: Final thoughts. This is your moment to shine and drop a punchline that talks about your product/service.

However, be super super super careful with self-promotion. We only do this at the end of the article. After providing tons of value to the reader, only include one sentence that is the least salesy you can do.

We do it like this, and sometimes even that backfires:

Self promotion example

Depending on the news item, we can create an article in 1-2 hours and post it on HN. This way, we’re always the first to cover the issue and take a broader perspective than just the news item itself. That’s the value you add.

Timeliness + Value = HN front page

Side-effects

Obviously, the goal is to get traffic to your website and increase brand awareness and all, but there was one side-effect I did not anticipate: SEO

Because we’re the first to cover these news items, other websites started to link to our content.

Three of our most popular articles got tons of backlinks (and even more traffic from those sources):

We even won the Dutch Search Awards for this strategy, while I am not particularly good at SEO.

In one instance, even the Indian Times linked to us:

Backlink from Indian Times

How can you reproduce this?

  1. Understand Hacker News. Get a feeling for what works and what doesn’t. Even if you try to “hack Hacker News,” you must provide value. As explained, there are two ways to approach this, but without value, no front page.
  2. Stay on top of relevant news in your niche that is also relevant to the HN audience. If you want to recreate our bot, check Adriaan’s Twitter, or feel free to send me a message.
  3. Be the first one to act on the news + add perspective to the news item.

Timing + Value = Frontpage (consistently-ish)

Obviously, it does not work all the time. We’ve posted enough stuff that we thought was relevant and spent time on that was just not interesting enough.

Anyway, this approach generated many upvotes and became a repeatable process for privacy-related or Google-focused topics. If your audience is on HN, you should give it a spin. And obviously, if you reach that front page and want to track that juicy traffic coming to your website, check out Simple Analytics.

posted to Icon for group Growth
Growth
on May 11, 2023
  1. 1

    Excellent strategy! Thanks for sharing your detailed and effective approach to positioning yourself on Hacker News. I am going to apply some of these tips in my project.

  2. 1

    Guys, first of all, you're a genius haha! Thanks for sharing; love the side effects things !!

  3. 1

    Awesome strategy! I did something similar with crypto outlets some years ago

  4. 1

    Very interesting! In average, what was your success ratio to hit the front page (over the total number of attemps)?

  5. 1

    I think your strategy is relevant to other medias as well. Props to the strategy and grit behind it! It could scale to other platforms as well.

  6. 1

    Very helpful, thanks for sharing!

  7. 1

    Super helpful! Thanks for sharing

  8. 1

    Thanks for this great insight. Thank you! 🔥

  9. 1

    I'm launching a side project of mine next week and this was very insightful. Thanks a lot!

  10. 1

    Suuuper insightful. HN has always been a mystery (and I am a developer) so thank you!

  11. 1

    Hello!
    Very interesting and insightful. Good job with the bot and also thanks for providing the repo link – I'll definitely check this out.
    Always give before you're trying to get – meaning providing value upfront is a strategy that works. Big thumbs up!
    Thankss

    1. 1

      Thanks! Agree very much with that

  12. 1

    Thanks for putting this together!

  13. 1

    thanks for sharing your elegant strategy 🙂
    i added the post to my newsletter's issue: https://10k.isora.me/

  14. 1

    I do not really read HN (yes odd one out here) but this was really nice written post.

    Thank you for writing this. I am sure this way of posting would be useful somewhere else! :D

    1. 3

      this is a great strategy. i've heard explodingideas.co use a similar tactic with reddit.

      platform native content seems to be the way to go.

    2. 1

      Thanks! I hope so too

  15. 1

    From what I see, the topic becomes extra hot on HN if it is either about big corporations doing shit to people or big corporations being punished for doing shit to people.

    1. 1

      Yep I believe so too

  16. 1

    Thank you for super useful tips! How much time do you typically spend on writing one article on average?

  17. 1

    This is awesome and that alert system is totally a Saas idea :)

  18. 1

    Thanks for the article. I tried posting a Show HN before this and since it didn't make it to the first page, the post has no outreach

  19. 1

    Really great strategy. I have started to create my own newsletter based on this model. Just a question. How chatgpt rank the news?

    1. 1

      Thanks! We basically give chatGPT pointers using a prompt that specifies what we are looking for

  20. 1

    Very interesting and insightful. Good job with the bot and also thanks for providing the repo link – I'll definitely check this out.
    Always give before you're trying to get – meaning providing value upfront is a strategy that works. Big thumbs up!

    1. 2

      Thanks @igorlamos! Now please start using Simple Analytics 🤣

      1. 1

        Haha @IronBrands – so this is the super-careful way 😁 now I got it!
        Actually – I took a look and I think I'll give it a try ...

        1. 2

          Wow super nice! Thanks. Let me know if you need anything

  21. 1

    Great read, and very useful. Thanks for writing this.

  22. 1

    Very useful sharing. I will follow your suggestion.

  23. 1

    Thanks for sharing @IronBrands
    Bookmarked for future launch!

  24. 1

    @IronBrands Any tips on how to post Show HN? I made an iOS app specifically for Hacker News, but my Show HN submission went unnoticed - got a couple of upvotes, but never left shownew pool.

    1. 2

      I think Show HN is easier than a regular post. What I normally do to find a title for a new product, is to study the Show HN posts that did really well. You'll see a pattern. For example, I noticed more descriptive titles do better. Instead of "iOS app for HN", I would post something like: I created a free IOS app that does XYZ.

    2. 1

      I recently made the front page with my ShowHN post for Neucards via the second chance pool. Basically, you can email them at hn@ycombinator.com (https://news.ycombinator.com/item?id=26998308 discusses the pool) and if they put you in the pool, watch out! My web traffic took off!

  25. 1

    Lot of value here and made me realize I've been posting to HN wrong this whole time haha

  26. 1

    This is very sweet. I just started using HN because of this very reason. It shows that it is possible to have a post viewed by many people.

    1. 1

      Definitely the case!

  27. 1

    Super cool! I've been looking at ways to grow an audience and gain some traction and this might be one of the most interesting takes at it so far.

  28. 1

    Good wonderfill sir

  29. 1

    Really great strategy! Thanks for sharing! Looking forward to you guys open-sourcing that bot as well.

      1. 1

        Awesome! Thanks for sharing!

  30. 1

    Great strategy! Will probably try it in the future. Do you post the article that you write on Reddit or HN is enough?

  31. 1

    I'm going to try this for my SaaS and report the results.

    But that said, you and Adriaan should open source that bot you built to catch breaking news. Sounds really useful and has "SaaS" written all over it.

    1. 3

      I think Adriaan will open it. Will ask him and share the link here.

        1. 1

          Thank you for the repo link ❤️.
          Did you guys try different version of this ChatGPT prompt? Just curious why u included the competitors, does it lead to a better responses?

          We are a business called Simple Analytics. It's a privacy friendly analytics tool for customers who care about privacy on the web. We like articles about: people writing about us, competitors in the privacy space, something related to privacy web analytics, or when Google Analytics gets negative press. Some of our competitors are Fathom, Plausible, Matomo, and Piwik. Is the following article interesting for us? Reply with a single number between 0 and 100. 0 being not interesting at all, 100 being super interesting. After this number, add a dash (-), following by a short explanation. This is the crawled article:

          1. 1

            It's literally in the prompt: "We like articles about: ..., competitors in the privacy space"

  32. 1

    thank you for sharing!

  33. 1

    @IronBrands what the heck happened on your second spike on that graph up top? Just a really good topic? Or a fluke? Or did you do something different?

    And is there anything that takes priority over the war room? Like, what if you've got a critical bug or something?

    1. 1

      Topic was again a news article on Google Analytics, but somehow this one got more upvotes and traction.

      Priority wise, yes if something critical is broken obviously, but the whole strategy only lasts for a couple of hours

  34. 1

    Man, that's killer. I always thought newsjacking was kinda meh, but this could have a big impact. Thanks for sharing!

  35. 1

    This comment was deleted 2 years ago.

Trending on Indie Hackers
Meme marketing for startups 🔥 User Avatar 11 comments Google Whisk - Generate images using images as prompts, not text prompts User Avatar 1 comment After 19,314 lines of code, i'm shutting down my project User Avatar 1 comment Need feedback for my product. User Avatar 1 comment 40 open-source gems to replace your SaaS subscriptions 🔥 🚀 User Avatar 1 comment We are live on Product Hunt User Avatar 1 comment