Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Fabio Manganiello
Fabio Manganiello
@fabio@manganiello.eu  ·  activity timestamp 10 hours ago

📢 Webmentions made easy

New article about my webmentions library.

I love Webmentions, and I see them as an important building block for a truly decentralized peer-to-peer Web.

However, even though the #W3C recommendation has been around for nearly a decade, there aren’t many mainstream implementations out there, besides a few personal blog platforms and a Wordpress plugin.

With this library I have tried to lower the entry barrier to integrating #Webmentions on your website, so you can easily send and receive comments from/to other websites by simply publishing a page with a link to them - in line with the POSSE principle.

If you use FastAPI or Flask on Python, you serve your mentionable pages as static files and you want to store mentions on a SQLAlchemy backend, the integration takes just a couple of lines of code.

More customized integrations can be achieved by simply extending some of the basic API objects.

More bindings (for JavaScript/TypeScript and Go first) are on the backlog. The Go binding in particular would allow me to implement this also in #Writefreely - I’d love to make it compatible both with ActivityPub and Webmention, so that interactions can happen with platforms supporting either of the specification.

And, who knows, one day it’d be nice to have it on Mastodon too. Imagine a future where you write a post about a blog article on your Mastodon profile, and it gets automatically rendered in the comment section of that website…

For now my personal blogging platform madblog (which powers both my personal blog and the Platypush blog) is the reference implementation for this, and you can already see some self-mentions in the wild in some of my old articles.

Links

  • 📦 PyPi package
  • git Self-hosted repo
  • github Github mirror
  • 📚 API reference

GitHub

GitHub - blacklight/webmentions: A general-purpose library to add Webmentions support to your website. Mirror of https://git.fabiomanganiello.com/webmentions

A general-purpose library to add Webmentions support to your website. Mirror of https://git.fabiomanganiello.com/webmentions - blacklight/webmentions

Client Challenge

Platypush

Ultimate self-hosted automation with Platypush

Get started with Platypush to automate your smart home and beyond
Platypush Git

madblog

A minimal, general-purpose Markdown-based CMS.

Fabio's Space

Fabio's Space

WordPress.org

Webmention

Enable conversation across the web.
IndieWeb

Webmention

Webmention is an open web standard (W3C Recommendation) for conversations and interactions across the web, a powerful building block used for a growing distributed network of peer-to-peer comments, likes, reposts, and other responses across the web.
Platypush Git

webmentions

A general-purpose library to add Webmentions support to your website
Fabio Manganiello

Webmentions with batteries included

A zero-cost library to integrate Webmentions in your website

Fabio's Space

IndieWeb

POSSE

POSSE is an abbreviation for Publish (on your) Own Site, Syndicate Elsewhere, the practice of posting content on your own site first, then publishing copies or sharing links to third parties (like social media silos) with original post links to provide viewers a path to directly interacting with your content.
  • Copy link
  • Flag this post
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct