Static HTML Comment System
A static HTML comment system for Hugo blogs: a backend receives comments, forwards them to Telegram for approval, and pushes code to GitHub to trigger a site rebuild. A POC was implemented with Google Apps Script, with a more robust Flask backend in progress; spam prevention remains an open problem.
What it addresses
After migrating a blog from WordPress to Hugo, there is no built-in comment system for a static site, and the author wanted to move away from Disqus; preventing spam is an unsolved puzzle.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Static HTML Comment System
A static HTML comment system for Hugo blogs: a backend receives comments, forwards them to Telegram for approval, and pushes code to GitHub to trigger a site rebuild. A POC was implemented with Google Apps Script, with a more robust Flask backend in progress; spam prevention remains an open problem.
Problem: After migrating a blog from WordPress to Hugo, there is no built-in comment system for a static site, and the author wanted to move away from Disqus; preventing spam is an unsolved puzzle.
Audience: Static-site blog owners who want comments without hosted services like Disqus.
Posted by @rishikeshs · Original source ↗
Source text · @rishikeshs · · Source ↗
I’m currently working on a Static HTML Comment system for my blog[1]. I recently moved my blog from Wordpress to Hugo and wanted to move away from Disqus. The goal is to build a backend that receives the comment, forwards to Telegram for approval and then push a code to Github for rebuilding the site. I’ve implemented a POC currently with Google Apps Script, but trying to build a robust backend with Flask. Preventing spam is also yet another puzzle.