Show HN: Subth.ink – write something and see how many others wrote the same

2026-01-1918:349251

Hey HN, this is a small Haskell learning project that I wanted to share. It's just a website where you can see how many people write the exact same text as you (thought it was a fun idea).

It's built using Scotty, SQLite, Redis and Caddy. Currently it's running in a small DigitalOce...

Hey HN, this is a small Haskell learning project that I wanted to share. It's just a website where you can see how many people write the exact same text as you (thought it was a fun idea).

It's built using Scotty, SQLite, Redis and Caddy. Currently it's running in a small DigitalOcean droplet (1 Gb RAM).

Using Haskell for web development (specifically with Scotty) was slightly easier than I thought, but still a relatively hard task compared to other languages. One of my main friction points was Haskell's multiple string-like types: String, Text (& lazy), ByteString (& lazy), and each library choosing to consume a different one amongst these. There is also a soft requirement to learn monad transformers (e.g. to understand what liftIO is doing) which made the initial development more difficult.


Read the original article

Comments

  • By NitpickLawyer 2026-01-1922:11

    Your thought's hash is: 7456a8269266134d67e9e0b2b26dbbc2227ba976add87c05e91e4cc9937b8b21 You are the first person with that thought. Congratulations!

    "You are absolutely right!"

    Well, at least we know claude didn't hit the API yet :)

  • By lumirth 2026-01-1920:193 reply

    I said "I love my wife". Apparently, I was the first. Then I said "penis". I was the fifth.

    Neat!

  • By susam 2026-01-1920:472 reply

    Some of the top items:

      hello world
      4ef69019c65909ffbb470597e3c5afe05ea8a866a0d3b9f950f0bcf057924b52
    
      hello
      4358f43b660389eecd435dc2a5f5cee29786245cd2cff27bd4de0b3e8fd53b79
    
      4ef69019c65909ffbb470597e3c5afe05ea8a866a0d3b9f950f0bcf057924b52
      406cc6dbc566bf6c672a2167868341e9853f7fbbd2a21eb1caa4d08006abae41
    
      hi
      661ce2e5ed28422eb8b51ec2a217c976e05e37713246166e8fcbf67be4824380
    
      test
      83d34c0abee918ed3edf585b6cb8ce97fe8286027b012bacdfa71b967924f9b2
    
      a
      beef7c4d3141c30ab4f6ebf1f724936c50f609ee1915951d802046ba1d9fa23d
    
      subth.ink
      3f3b05abaec959c9950d5a93a64525971c7d9fcabf6436d653edba62f29d5bea
    
      lol
      39567a3cc35a4c68d72d01beac88414d0ced5c20b437ff9bc6e2cb20615a47b7
    
    Thanks to Y@Y for 4ef69019c65909ffbb470597e3c5afe05ea8a866a0d3b9f950f0bcf057924b52.

    • By Y_Y 2026-01-1920:50

      Currently number three is:

        4ef69019c65909ffbb470597e3c5afe05ea8a866a0d3b9f950f0bcf057924b52
      
      with hash:

        406cc6dbc566bf6c672a2167868341e9853f7fbbd2a21eb1caa4d08006abae41
      
      i.e. the hash of "hello world"

    • By castalian 2026-01-1922:181 reply

      fedb9943d8c4c51392815a187ce4ba732c539038fd28b4bda8543e4616d767c1

      the nword

HackerNews