zlacker

[return to "I’ve removed Disqus. It was making my blog worse"]
1. est+h4[view] [source] 2025-09-30 09:23:55
>>ry8806+(OP)
I ditched Disqus for the exact same reason, too many ads

Then I built an alternative using free Cloudflare Worker

https://github.com/est/req4cmt

It's a simple service that transform comment POST form data to JSON, append to a .jsonl file, then do a `git push`

It renders comments by `git fetch` from a .jsonl file from a remote repo, or simply via raw.githubusercontent.com if your repo was hosted by Github.

The advantange over Github issue/discussion based comment plugins:

1. All data is stored a .git

2. no login of any sort

Github OAuth login might leak all your repo data along with your `access_token` to the plugin provider.

The `git push` works for any remote. You can choose github/gitlab or whatever.

◧◩
2. ffsm8+w7[view] [source] 2025-09-30 09:59:53
>>est+h4
The issue with that approach is risk.

You now have a direct way for users to insert data into your repo, which can include illegal things. And if you're required to delete it later, you'll be forced to edit your git history.

But if everyone behaves, it's a great solution

◧◩◪
3. bmez+U7[view] [source] 2025-09-30 10:04:17
>>ffsm8+w7
and the wasted CPU and memory involved. Git is by no means a good design for a comment-system, it is overcomplicating it in ways previously unimaginable.
◧◩◪◨
4. est+qp[view] [source] 2025-09-30 12:56:03
>>bmez+U7
> Git is by no means a good design for a comment-system

I did try to implement partial-clone but failed

Let's be honest, for a personal blog, >1k comments is an overestimate.

It is painful for writing, but reading comments is quite fast and 99% is about loading.

◧◩◪◨⬒
5. intern+mR[view] [source] 2025-09-30 15:14:27
>>est+qp
> Let's be honest, for a personal blog, >1k comments is an overestimate.

Maybe, maybe not. Before 2024, my blog got <10k views/y. Then in 2024 it got close to 1 million (this year it will likely be 100k). Very hard to predict traffic thanks to hn and stuff!

[go to top]