You can use Mastodon to add comments to your static blog engine.
https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/ #webdev #fediverse
@carl Testing testing.
An improved enhancement would be to have an embeddable comment text box within the blog post itself!
@subins2000 This is a lot more complex since the text box will depend on your server and you will need to log into your account.
@carl
you can do this without javascript by loading in data folder and using it in publication.
If you rebuild you website once a day, it does the work.
@subins2000
@jibec @carl @subins2000 can you explain this? thanks
@fluffy @subins2000 @jibec Basically the idea from Jean-Baptiste is to use Hugo capability to load a json to render the comments statically. It's a nice idea but then you need to setup a corn job building the website hourly or daily.
@fluffy
here is the code, look at the python script.
https://github.com/languages-in-floss/site
what deacribed carl is correct.
My implementation is quite minimalist (as a non dev, it took me quite some time to understand it from a javascript implementation)
yes, i have a daily script running. Making it faster isn't really needed for my usecase, anyway, the build script takes a few second, no big deal
@subins2000 @carl