77
63 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.

  1. 1

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

  2. 1

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

  3. 1

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

  4. 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.

  5. 1

    Very helpful, thanks for sharing!

  6. 1

    Super helpful! Thanks for sharing

  7. 1

    Thanks for this great insight. Thank you! 🔥

  8. 1

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

  9. 1

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

  10. 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

  11. 1

    Thanks for putting this together!

  12. 1

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

  13. 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

  14. 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

  15. 1

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

  16. 1

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

  17. 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

  18. 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

  19. 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

  20. 1

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

  21. 1

    Very useful sharing. I will follow your suggestion.

  22. 1

    Thanks for sharing @IronBrands
    Bookmarked for future launch!

  23. 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 [email protected] (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!

  24. 1

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

  25. 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!

  26. 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.

  27. 1

    Good wonderfill sir

  28. 1

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

      1. 1

        Awesome! Thanks for sharing!

  29. 1

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

  30. 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"

  31. 1

    thank you for sharing!

  32. 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

  33. 1

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

  34. 1

    This comment was deleted a year ago.

Trending on Indie Hackers
Reaching $100k MRR Organically in 12 months 29 comments Passed $7k 💵 in a month with my boring directory of job boards 15 comments 87.7% of entrepreneurs struggle with at least one mental health issue 14 comments How to Secure #1 on Product Hunt: DO’s and DON'Ts / Experience from PitchBob – AI Pitch Deck Generator & Founders Co-Pilot 11 comments Competing with a substitute? 📌 Here are 4 ad examples you can use [from TOP to BOTTOM of funnel] 10 comments Are you wondering how to gain subscribers to a founder's X account from scratch? 8 comments