Rapheal RobinsonSite Reliability Engineer & Game Developer

← Blog & Chat

engineering learning

Comments without accounts

Comment here with just a name, and your email stays private.

Part of Tidan Games Platform

Every post on this site has comments now, and you don’t need an account. Type a name, write your comment, done. Adding an email is optional.

What gets saved

I first wanted to recognise people by a hardware ID, but websites can’t read those, on purpose. A random ID saved in your browser plus your IP does the job: it can tell when the same person comments again, without a login.

Reply emails, done safely

Without a check, anyone could type your email and spam you with reply notifications. So the first time you use an email, you get one message with a confirm link. Nothing else is sent until you click it. After that, you get an email when someone replies to you, and each one has a link to stop them.

Keeping spam out

Rate limits only work if you know the real IP. My cluster’s ingress was rewriting every visitor’s address to an internal one, so the first fix was a one-line change to stop that.

How it’s built

A small Node service sits next to the site at /api. Comments live in their own database on my self-hosted PostgreSQL, and emails go out through my own mail server. The same service also keeps the Videos page in sync with my YouTube channel every six hours, saving only each video’s title, date and thumbnail. The videos themselves stay on YouTube.

Comments

    Your email is never shown or shared. It's only used to email you when someone replies, after you confirm it, and every email has a link to stop them. To prevent spam, the server keeps your IP address and a random ID saved in this browser.