░█░░░█▀█░▀█▀░▀█▀░█▀█░█░░░▀█▀░█▀█░█░█░█░█░█░░░▀█▀░█▀█░█░█░█▀▀
░█░░░█░█░░█░░░█░░█▀█░█░░░░█░░█░█░█░█░▄▀▄░█░░░░█░░█░█░█▀▄░▀▀█
░▀▀▀░▀▀▀░░▀░░░▀░░▀░▀░▀▀▀░▀▀▀░▀░▀░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░▀░▀░▀░▀▀▀

An old linux user rambling on about linux, FOSS, and other geekery.

Using Mastodon for comments on a static blog

2021-01-23 | #FOSS #github #hugo #jekyll #mastodon

This is a static blog. As such, providing the means for readers to add comments is not something that is built-in. This blog post is really just a test to try out adding comment functionality using mastodon as implemented and explained by @carl[1]: here[2], on a Hugo static site; as well as by @xosem[3]: here[4] on a Jekyll static site.

=> 1: https://linuxrocks.online/@carl | 2: https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/ | 3: https://toot.site/@xosem | 4: https://blog.xmgz.eu/jekyll-mastodon-comment/

The posting workflow is a bit cumbersome, as I have to republish the post after publishing the toot, so there is that, but I like the idea of using mastodon a little better than GitHub.

A couple of weeks ago I came across utteranc.es[5], which is an open source, privacy-respecting, comment widget that is built on GitHub issues for blog comments. It works and beautifully and only requires and additional 7 lines of code; but it does require the reader to have a GitHub account though.

=> 5: https://utteranc.es

I thought I would try this mastodon solution out and see which one I liked the best.

If you feel so inclined, please comment with your thoughts.

Thanks.

-dsyates

Tags

=> mastodon | jekyll | hugo | github | FOSS

=> The lottalinuxlinks.com linux user web blog | The MODcast | The lottalinuxlinks.com gopher hole | Fosstodon

=> Links to other cool gemini capsules

e: dsyates@lottalinuxlinks.com

m: @dsyates@fosstodon.org

x: dsyates@xmpp.jp

-dsyates

(o_!_/o)

Proxy Information
Original URL
gemini://gemini.lottalinuxlinks.com/posts/2021-01-23-using-mastodon-for-comments-on-a-static-blog.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-US
Capsule Response Time
619.409933 milliseconds
Gemini-to-HTML Time
1.821397 milliseconds

This content has been proxied by September (3851b).