This post is an adaptation of one of the first HN posts that I've read (it was 2013 at that time) and had bookmarked ever since. I loved the approach

Generating hilarious HN post titles

submited by
Style Pass
2021-09-27 15:00:14

This post is an adaptation of one of the first HN posts that I've read (it was 2013 at that time) and had bookmarked ever since. I loved the approach and the results were very funny, which is why I made an account and kept coming back to HN almost daily, for years now, looking for cool programs like this.

The link is sadly down for a long time now and only available through the wayback machine  but since it was only trained on titles before 2014 I thought it would be interesting to train the titles on different years and see what comes out on the other end. Grant, I know you're on HN, if you don't want this online let me know and I remove it :)

Disclaimer: I have no control over the generated titles, they are generated according to an algorithm (might be NSFW here and there).

The backend is a simple FastAPI endpoint hosted on my Nomad cluster. The frontend is the current Ghost blog with vanilla javascript. The whole shebang took roughly 1 hour.

Leave a Comment