HeadlinesBriefing favicon HeadlinesBriefing.com

Bluesky Comment Section for Static Blogs

Hacker News: Front Page •
×

Micah Cantor added a Bluesky comment section to his statically generated blog. He wanted to avoid the cost and complexity of hosting a dynamic comment service. Instead, he leveraged Bluesky's public API to pull and display replies, keeping the implementation lightweight at ~200 lines of code.

This approach outsources moderation, spam filtering, and hosting to Bluesky. Cantor chose it over alternatives like Twitter or GitHub Discussions for its open AT Protocol foundation. He built a custom solution, fetching replies via the `getPostThread` endpoint and rendering a simple, read-only UI that mirrors the blog's design.

The system links each article to a specific Bluesky post via metadata. Future enhancements could include publishing a standalone package, but the current code is simple enough for others to adapt. It demonstrates a practical way for static sites to foster community engagement without maintaining complex infrastructure.