Switching from Disqus to Commento
🖊️ Austin Riba ⌚ 🔖 code 💬 1
This website has been following the blog software hype train since it’s inception. The progression went like so:
- Facebook “posts” (discontinued)
- Blogger
- Blosxom - a very early static site generator, way ahead of it’s time.
- Wordpress
- Jekyll
- Hugo (current)
At the transition between Wordpress and Jekyll, like many others, I needed a solution for comments on a static site and Disqus was the clear choice. But then many of us learned that by using Disqus, we were allowing ads to be placed on our own pages. We were bogging down our websites with loads of third party trackers and possibly even violating our own reader’s privacy.
I started looking for alternatives recently (late, I know) and found Commento. It seems to cater to people who want to leave Disqus for the reasons I outlined above: privacy, performance and no ads.
Commento can be used as a service or it can be self hosted. The idea of self hosting the backend on my VPS was very appealing, so I gave it a shot. Overall, it was a pretty painless experience, especially when using the docker image. You simply spin it up with a postgres instance and set some config vars for things like email notifications, akismet integration, and google oauth. Then you place the script supplied from this backend on your page and it’s good to go.
Here are some links for people who would like to try self hosting Commento:
- Commento on GitLab
- The docs for self hosting
- Freecodecamp article on setting up 3rd party authentication (This is missing from the official docs)
- Note: The Disqus export takes a very long time, in my case 8 hours (!) for < 600 comments. It’s almost like they don’t want you to back up your data. I’d recommend queuing up a Disqus export first thing if you are planning to migrate off it.
Commento is very nice and I would not hesitate to pay for the hosted version (which I can always migrate to) if it weren’t for self hosting being interesting for me. You can check out the hosted service at commento.io.