IndieWeb

I can now make use of Micropub to post on my blog! More information: I am in search for an easier way to blog from the go for quite some time now. Recently, I implemented a web-based form to submit new posts using the API of my self-hosted Gitea. While that worked, it was still not optimal. I already heard of Micropub before, since I joined the IndieWeb, but I was always a bit scared of complexity to develop my own solution.

A few days ago, I built my own publishing form on my blog to be able to create new posts on the go. It works great, but Micropub would be even better, because I could also use Micropub-compatible apps. Just today I found Indiekit, which is exactly what I am looking for:

The immediate goal of this project is to provide a Micropub endpoint that can be hosted on a service like Heroku, configured via files stored on a GitHub repo, and save posts back to that repo for publishing with a static site generator such as Eleventy, Hugo or Jekyll. The software is fully documented and tested.

I probably just need to find a way to use Gitea instead of Github, but that shouldn’t be a big problem. I need to further investigate Indiekit.

Added JSON Feed to this blog

Today I updated my blog setup to the new Hugo version 0.59, which includes nothing big, but several small improvements. In addition to that I finally added support for JSON Feed to this blog. JSON Feed is popular among IndieWeb folks and my feed reader Miniflux supports it too. Unfortunately it isn’t yet supported natively by Hugo, so I needed to manually add it using a custom output format. I took a lot of inspiration from Jamie Tanna and his Hugo theme, as well as the tutorial from Arjen Schwarz.
Yesterday, I added support to my Hugo theme to use it to reply to other posts on the web using the u-in-reply-to class (here’s the documentation for h-entry) and sending a webmention after publishing the post. Now I can use my blog to comment on other IndieWeb-compatible sites, how cool is that? 😄 Some sites automatically display received webmentions, but I currently don’t plan to do so. However, I receive webmentions and see them in my feed reader.
I just wanted to share the tool, which I use to send my webmentions. I use the webmention Go library by Will Norris, which also includes a simple command line tool. If you have Go installed on your computer, you can simply install it by typing this into your terminal: go get willnorris.com/go/webmention/cmd/webmention After that, just use the command webmention followed by your post URL and you can select to which detected links it should try to send a webmention.
A few days ago, I already added support for webmentions and microformats2 to this blog. Now I added a form at the end of every article, so you can submit your mentions more easily. I’m so fascinated by the IndieWeb. Yesterday, I also created a basic profile at the IndieWeb wiki. Someday I’d also like to join an IndieWeb event, to get to know other people who share a similar mindset.
Today I did my first step to join the IndieWeb. I first had to generate a PGP key (that’s really new to me, I never did this before 😅) to be able to use my website for authentication. After I was able to successfully login to Webmention.io, the service, which can receive webmentions and pingbacks for you, I added support for webmentions to my blog, so I see when someone from the IndieWeb references my posts.
20 years old student who writes about everything he cares about.