Live data from Hacker News

I added a Bluesky comment section to my blog

micahcantor.com

81–90 of 115 posts

Re: I added a Bluesky comment section to my blog

#81

One thing I'm curious about here is moderation; you are outsourcing it to Bluesky to a degree, but I assume you'd want a way to remove posts you don't want to reproduce on your blog beyond hoping that Bluesky management bans them?

I do something similar but with Mastodon.

I haven't implemented moderation, but in principle it's "easy". On a given post, store as an attribute the IDs of messages you don't want to appear (or even its descendants). The JS will have access to the info and can just filter it/them out.

Everything is done client side.

Re: I added a Bluesky comment section to my blog

#82
post #52

If you are rendering your blog or website with a static site generator, you could also consider importing comments as content files into your website source and then rendering them as part of the build. The full workflow would look like this: 1. Accept comments via email, CGI scripts, server-side program or by any other means that suits you. A simple hack that requires no server-side scripting: if you run your own we…

I can see how that would work. For a small website, you're probably only looking at a few comments per day at absolute most, and you'll be reviewing them anyway to filter/approve them. (And the implementation lends to easy automation, since you just need to programatically update the Markdown file instead.)

Re: I added a Bluesky comment section to my blog

#83
post #19

Earlier quoted context omitted.

It’s hard for something to succeed when the selling point is “we aren’t that other thing!” Edit to remove unintended flame bait.

True, but Bluesky really does solve pains that closed platforms can’t/won’t. Having a choice over your algorithm is like getting lead out of your pipes, or getting a bidet or something.

I am a bidet convert, they are fantastic.

I never used twitter and I don't use bsky, so I'm not sure how different they are. I just don't think that should be the goal.

Re: I added a Bluesky comment section to my blog

#85
post #6

My blog is fully static and I have a 50-line CF worker script that sends comments to me which I import directly to markdown of a blog post. There are ways to do comments without embedding.

Would be cooler if it really was ColdFusion. Of course, 50 lines wouldn’t get you very far.

Re: I added a Bluesky comment section to my blog

#87
post #52

If you are rendering your blog or website with a static site generator, you could also consider importing comments as content files into your website source and then rendering them as part of the build. The full workflow would look like this: 1. Accept comments via email, CGI scripts, server-side program or by any other means that suits you. A simple hack that requires no server-side scripting: if you run your own we…

>1. Accept comments via email In case anyone is curious, I (very) recently implemented a similar comment system based on email. I posted a write-up about it[1]. [1]: https://ckardaris.github.io/blog/2026/01/22/my-comments-run-...

[deleted]

Re: I added a Bluesky comment section to my blog

#89
post #85
post #6

My blog is fully static and I have a 50-line CF worker script that sends comments to me which I import directly to markdown of a blog post. There are ways to do comments without embedding.

Would be cooler if it really was ColdFusion. Of course, 50 lines wouldn’t get you very far.

Tangential, but recently I dove down the ColdFusion rabbit hole again.

My first job after dropping out of college was working with Flash and ColdFusion in 2012. Even by that time it was dated, but it was my first real dive into network and server programming so I do look at those days rather fondly.

CFML is one of those things that is simultaneously a brilliant and terrible product. The terrible part is obvious: it's a bloated language that doesn't lend itself terribly well to structure and historically has been very slow (though my understanding is that Lucee actually fixes that somewhat). The "brilliant" parts are less obvious but still cool. For example the cfquery blocks are really neat, and I say that without any sarcasm. Not only does it make it easy to write SQL directly, but there are nice built-in features to avoid injections with cfqueryparam that are easy to use, and you can simply add an attribute to the cfquery to specify caching. That's actually a really cool; I've seen people haphazardly reinvent different SQL caching heuristics and screw them up. The cfquery stuff makes it trivial and it has the advantage of doing it correctly.

Things like that are all over the language (though I haven't used it in awhile so I'd have to dig through notes to find specific examples); pages and pages of ugliness mixed with occasional spots of cleverness.

While I don't want to say I "miss" writing it, because I don't, I do have a bit of gratitude for its existence. If I hadn't picked up ColdFusion because of an, umm, "alternatively licensed" version of Dreamweaver when I was a teenager, my career would likely be very very different.

Post reply on HN