fastcomments-static-sites

Installation
SKILL.md

FastComments on static sites

A static site generator has nowhere to put comments, which is what a hosted commenting service is for. Each generator has a first-party integration: set a tenant ID once in site config, then place a tag, shortcode, or component wherever the thread belongs.

Get a tenant ID at https://fastcomments.com/auth/my-account/api-secret, or use "demo" to try it first. If the account was created on https://eu.fastcomments.com, every widget also needs region: "eu".

Pick the urlId before you ship

urlId is what groups comments into a thread. Left unset it defaults to a cleaned version of the page URL, which is exactly the thing that changes on a static site: you rename a post, add a locale prefix, move from /blog/post to /blog/post/, or deploy a preview build on a different domain. Each variation is a separate, empty thread.

Set it to something stable that survives a rebuild - the post's permalink slug, a front-matter ID, or a date plus slug. Then pass url too, so notification emails and moderation tools link back to the real page.

Installs
1
First Seen
2 days ago
fastcomments-static-sites — fastcomments/skills