← All projects
Project record1 mention
Originally shared on Hacker News

Garrul

Garrul is a comments system for websites that runs on a single Cloudflare Worker using D1 and KV in the user's own account, with no container, VPS, or DB server to manage. It provides threaded markdown comments, OAuth logins (Google, Facebook, X, Discord, GitHub) or anonymous posting, pinned comments, opt-in reply emails, moderator digests, a Telegram moderation bot, multiple languages, and imports from systems like Disqus and Remark42. Commenter privacy is a primary design goal: IP addresses are never stored directly, only HMAC-hashed. Licensed under Apache 2.0.

Last shared
01 / The problem

What it addresses

The submitter needed a comments system for his blog running on Cloudflare & Astro, but the other options he tried didn't work out as he wanted; he wanted one with no container, VPS, or DB server to manage.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Garrul

    Garrul is a comments system for websites that runs on a single Cloudflare Worker using D1 and KV in the user's own account, with no container, VPS, or DB server to manage. It provides threaded markdown comments, OAuth logins (Google, Facebook, X, Discord, GitHub) or anonymous posting, pinned comments, opt-in reply emails, moderator digests, a Telegram moderation bot, multiple languages, and imports from systems like Disqus and Remark42. Commenter privacy is a primary design goal: IP addresses are never stored directly, only HMAC-hashed. Licensed under Apache 2.0.

    Problem: The submitter needed a comments system for his blog running on Cloudflare & Astro, but the other options he tried didn't work out as he wanted; he wanted one with no container, VPS, or DB server to manage.

    Posted by @KingPinX · Original source ↗

    Story title · @KingPinX · · Source ↗

    Show HN: Garrul – Comments system for your site on a single Cloudflare Worker

    Submitted URL · @KingPinX · · Source ↗

    https://github.com/KingPin/Garrul

    Source text · @KingPinX · · Source ↗

    So Garrul was born, it uses one Cloudflare Worker with D1 + KV, in your own account. No container, no VPS, no DB server to manage or worry about!

    Source text · @KingPinX · · Source ↗

    I needed a comments system for my blog (running on Cloudflare & Astro), the other options I tried didn't work out as I wanted.

    Source text · @KingPinX · · Source ↗

    I wanted privacy of commenters to be primary here, along with ease of use so that was always the basis of many decisions I took along the way. For example, we never store IP addresses directly. Every IP is HMAC hashed, ipv6 is truncated first.

    Source text · @KingPinX · · Source ↗

    Demo (anonymous posting works) : https://garrul.com/#comments

    Source text · @KingPinX · · Source ↗

    Threaded markdown enabled comments

    Source text · @KingPinX · · Source ↗

    OAuth (Google, Facebook, X, Discord, GitHub logins) or Anon posting

    Source text · @KingPinX · · Source ↗

    pinned comments, opt in reply emails, digest of posts to moderators, and a telegram bot to moderate the whole thing from telegram itself (I use this telegram bot daily).

    Source text · @KingPinX · · Source ↗

    Multiple languages, and ability to import from multiple systems like Disqus and Remark42 among others.

    Source text · @KingPinX · · Source ↗

    Licensed as Apache2.0.