GeistHaus
log in · sign up

Static Site Webmentions

scientiac.space

I had set up Webmentions on my static site a while back. It was because I really like the concept of a completely custom yet static social media where it's not instant but it's regular communication. But, the drawback of any kind of unique and DIY technology is not having people that actually use it. Ironically, after the setup, I only have received Webmentions from myself during testing (I am not counting the mastodon likes that propagated through Bridgy Fed). I am still sceptical about Bridgy Fed because It isn't what I wanted Webmentions to be, I didn't want any connections to a social media but I wanted to test the workings so I connected it. How I Do It My blog is a static site and being static comes with the cost of not being able to continuously listen to incoming messages. So, Webmentions don't really work on a static site. At least that's what I thought at first, then I found out about webmention.io. It's sort of like a retrofitted static site to support Webmentions. Components A Static Site Generator www.getzola.org Indieweb Compatibility indiewebify.me Send webmentions webmention.app Receive Webmentions webmention.io Render Webmentions keats.github.io/tera Runner GitHub actions A Static Site Generator I am using zola as my static site generator and I love it. The comfort of just writing in markdown and letting zola do the heavy lifting to generate feeds is awesome. Generating an Atom/RSS feed is a must. This is needed by webmention.app to send webmentions by reading all your posts. Indieweb Compatibility To make an Indieweb compatible static site you need to pass these tests from indiewebify.me. Web Sign In - This helps you sign in to indieweb services with your domain. You must have your own registered domain name. h-card and h-entry classes on homepage as well as on the "post" page. Ability to send Webmentions. Sending Webmentions I use my generated Atom feed and webmention.app CLI to send Webmentions. It is as simple as running: npx webmention https://

3 pages link to this URL
- Island in the Net

I saw your post about Static Site Webmentions. Honestly, I think webmentions work best when the sender doesn’t have to return to a site just to enter a URL. That extra step is what makes static sit…

1 inbound link article en
iac (@iac@polymaths.social)

I am a Computer Engineering student who loves FOSS and is learning about Privacy, the Internet, and languages. I sometimes write poems, stories, and occasionally some articles too. TL;DR: I write things, test things, make things, and break things.

5 inbound links profile en