Comment system on a static site without javascript???

So I want to integrate a comment system to my blog.There are many many comment service providers like disqus. Even for a static site, you can add comment support simply by inserting a javascript snippet into the page.

But what about … zero JS?

Adding a html form to each page is easy, submitting comment is easy. But how can I update and render the comments in the post? I don’t mind updating the static site manually on a daily or weekly basis, but it’s still not trivial.

Long story short: my static site generator hugo doesn’t provide enough APIs to do custom stuffs. In this case I want a per-page “hook”, where I can put a script to pull the comments from a server and integrate them..

         FORM & RelPermalink
        +--- HTTP POST -----.
        |                   |             Database or
        |                   v             Flat files
+-------+-----+       +----------------+  +---------+
| Static Site |       | Commment Server|--| Storage |
+-------^-----+       +-+------------+-+  +---------+
        |               |   ^        |
    Generate            |   |        |
        |               |   |        |
    +---+---+   HOOK    |  admin     | Notification
    | HUGO  |<----------+   |        | via Email &
    +---+---+   ?????       |        | Patches
        |                   |        |
+-------+---+  manage  +----+-----+  |
| Markdowns |<---------+ Me       |<-+
| Statics   |<---------+----------+
| Themes    |   Apply
+-----------+   Comments
                

It seems that hugo has builtin support for disqus, to build the comments into posts in a static manner. Perhaps I can look at how this is done and implement a light-weight disqus…. (fml that thing is commercial)

edited 09.10.2023
created 06.10.2023
EOF
[+] click to leave a comment [+]
the comment system on this blog works via email. The button
below will generate a mailto: link based on this page's url 
and invoke your email client - please edit the comment there!

[optional] even better, encrypt the email with my public key

- don't modify the subject field
- specify a nickname, otherwise your comment will be shown as   
  anonymous
- your email address will not be disclosed
- you agree that the comment is to be made public.
- to take down a comment, send the request via email.

>> SEND COMMENT <<