frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://github.com/KingPin/Garrul
1•KingPinX•1h ago
I needed a comments system for my blog (running on Cloudflare & Astro), the other options I tried didn't work out as I wanted. 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! Most sites fit the free tier, I am using it for 5 lowish traffic sites with zero issues.

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.

I have worked steadily on optimizations every chance, e.g. instead of having few separate calls for the config, session, first set of comments, subscription state etc it's all a single call. Posting costs a single call, you can even have a reaction only mode for specific pages/articles. The anti-spam call and turnstile call only happen when user actually focuses the comment posting embed. The math works out to roughly 100k pageviews/day on the free tier.

The widget embed itself is limited to 30KB gzipped, with the CI set to fail above that so we don't ship massive embeds.

One of the larger issues with trying to stick within Cloudflare free tier is the 1000 writes/day for KV. We used to have per request KV Cache, that burned me when I woke up to my first bot swarm browsing thru the site and locking out the comments for the whole day. That made me move the cache to the cache API.

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

I would appreciate any feedback on improving the system. Optimization and security are my current focus, so anything anyone can help with there will be immensely appreciated.

Some of the feature highlights :

Threaded markdown enabled comments

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

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).

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

Licensed as Apache2.0.

So it is tied to Cloudflare for now, meaning even tho Cloudflare D1 is simply SQLite, you can't just run it anywhere other than CF. In our case your data can be exported as a plain SQLite dump (via npm run db:export) or json or CSV from the admin panel, whenever you need it. I used AI assistance heavily for this, coding, tests, and red-teaming. I review what goes in and CI catches a lot.

New PRC rules require geodata from connected cars to stay in China

https://asia-tech-news.ghost.io/new-prc-rules-require-geodata-from-connected-cars-to-stay-in-china/
1•ilamont•32s ago•0 comments

Ubuntu still has not released patch for Linux 0day RCE in almost 3 weeks

https://freenode.net/article/ubuntu-lts-kernels-still-unfixed-for-critical-cve-2026-98432
2•majorchord•2m ago•1 comments

7 Months on the Frontlines with a Russian Battalion [video]

https://www.youtube.com/watch?v=onHBXHHalhI
1•StromFLIX•2m ago•0 comments

Know the best move when playing chess with Meta glasses

https://www.reverse.dev/pjchess
1•stosssik•3m ago•0 comments

Sandboxes favor repo-native tooling

https://epiq.sh/blog/repo-native-tooling-for-sandboxes.html
1•ionetan•3m ago•0 comments

Show HN: Vantage – Early-Warning Signals

https://aditya-web-portfolio.vercel.app/blogs/vantage
1•rearview•3m ago•0 comments

Stacy's Brain

https://stacysbrain.com
1•MaxIakovlev•4m ago•1 comments

Anthropic and OpenAI Are Creating Warrooms for Election Misinformation

https://www.semafor.com/article/11/02/2026/election-war-rooms-enter-the-ai-age
1•sp4cec0wb0y•6m ago•0 comments

Yozo – a custom element library for simple, robust and readable components

https://yozo.ooo
1•microflash•7m ago•0 comments

Linux reverts a feature designed to reduce bug-report noise

https://www.phoronix.com/news/Linux-7.4-Drops-Taint-Bind
2•zomtorg•7m ago•0 comments

AI models are enabling suicide

https://twitter.com/Prosaic_int/status/2117318562880905678
1•chef_wang•8m ago•1 comments

Show HN: Intent-lens – see what Claude Code is about to do, before it does it

https://github.com/Dhananjay-JSR/claude-mods/tree/main/plugins/intent-lens
1•dhananjay-jsr•8m ago•0 comments

Agentic Backdoors via Pretraining Poisoning

https://arxiv.org/abs/2610.37741
3•gmays•10m ago•0 comments

'Sniff' and 'Smell': Making Sense of Scent

https://www.wsj.com/arts-culture/books/sniff-and-smell-making-sense-of-scent-f31ead7a
1•Caiero•11m ago•0 comments

How Did Big Tech Get So Big? [video]

https://www.youtube.com/watch?v=fwW3XVFrm9c
1•aaraujo002•11m ago•0 comments

A 450 KB ad-free Android TV launcher with reversible ADB debloat scripts

https://github.com/Fardin7798/Spider-Tv-Launcher
1•AshhalPookie•11m ago•0 comments

Show HN: Noctty – A fast, native terminal for Windows

https://github.com/amanthanvi/noctty
1•amanthanvi•12m ago•0 comments

In one of the largest deals in tech history, Marvell buys Lumentum for $115B

https://techcrunch.com/2026/11/02/in-one-of-the-largest-deals-in-tech-history-marvell-buys-lument...
1•adwmayer•12m ago•0 comments

Researchers face record-low chances of getting a grant partly due to rise of AI

https://nltimes.nl/2026/11/02/researchers-face-record-low-chances-getting-grant-partly-due-rise-ai
2•giuliomagnifico•12m ago•0 comments

Mithril.js with signals, state, SSR and a store

https://code.garage44.eu/jeroen/mithril
1•thunderbong•14m ago•0 comments

Lessons from Red-Teaming Auto-Review, OpenAI's Blocking Monitor

https://www.lesswrong.com/posts/dbStc8ZFESqfihwAd/lessons-from-red-teaming-auto-review-openai-s-b...
1•gmays•16m ago•0 comments

Rebuild Rust in Milliseconds

https://weeklyrust.substack.com/p/rebuild-rust-in-milliseconds
1•rustbytes•17m ago•0 comments

America's Gulf Allies Prepare for New Round of Strikes on Iran–and the Blowback

https://www.wsj.com/world/middle-east/americas-gulf-allies-prepare-for-new-round-of-strikes-on-ir...
3•throwaway5752•17m ago•0 comments

Some Memories of Early Anthropic

https://nothinghuman.substack.com/p/some-memories-of-early-anthropic
1•wskinner•20m ago•0 comments

Astra can read and write weights to improve Qwen

https://rikiyat.github.io/blog/weight-space-programming/
5•dbreunig•20m ago•0 comments

Ocarina of Time – Google Search

https://www.google.com/search?q=Ocarina+of+Time
2•xnx•20m ago•1 comments

Show HN: Chrome Extension to Advertise to Yourself

https://chromewebstore.google.com/detail/advertise-to-yourself/pkjmonfjojnmpahfdebphddjjpifibhm
1•rsktaker•20m ago•0 comments

Show HN: Prelay – Weather-based work planning for outdoor contractors

2•MPSimmons•20m ago•0 comments

Packet Pushers networking podcast acquired by Meter

https://packetpushers.net/blog/packet-pushers-by-meter-goes-sponsor-free-in-2027/
1•mslev•22m ago•1 comments

Valence: A Language of Structural Ambiguity

https://danieltemkin.com/Esolangs/Valence/About
1•relatt•23m ago•0 comments