DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

A commenting system that is easy to self-host (and completely free)

I recently created a self-hosted commenting system, that is easy to deploy to Heroku and uses generous MongoDB Atlas storage -- https://aloud-comments.herokuapp.com/

It can be linked to allowed URLs including static websites.

GitHub logo patarapolw / aloud

A commenting engine. Aloud your comments.

Before that, I have found Hugo comments guide that says it recommends Disqus, but there are alternatives. I find that alternatives use filesystem storage, which not available on Heroku (which is ephemeral). I can use AWS or DigitalOcean... but if I over-credit, I will have to pay...

My favorite is Isso, Remark42 (which both needs permanent filesystem); and utteranc.es (which users strictly have to be GitHub user, which is not my general population.)

Now, I have security concerns regarding storing JWT token from auth0-spa-js on server side -- https://community.auth0.com/t/commenting-engine-based-on-nuxt-express-auth0-to-be-used-on-static-sites/37507 (I heard that storing in localStorage is bad...)

I also, I disallow anonymous users to comment. I don't know how to, if I have to...

I might rewrite it using non-Nuxt, and pure server / pure SPA, separated, but I am getting lazy...

Oldest comments (1)

Collapse
 
victorioberra profile image
Victorio Berra

(I heard that storing in localStorage is bad...)

If we're talking OAuth2 with PKCE then it should be fine.