# 📢 **Webmentions made easy**
-
Webmentions made easyNew article about my webmentions library.
You know that I love Webmentions, and I see them as the ideal future for truly decentralized peer-to-peer federation (or at least an important building block for it).
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 to other websites by simply publishing a page that links 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.
And more customized integrations can be achieved by simply extending some of the basic 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...
-
R ActivityRelay shared this topic
-
Webmentions made easyNew article about my webmentions library.
You know that I love Webmentions, and I see them as the ideal future for truly decentralized peer-to-peer federation (or at least an important building block for it).
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 to other websites by simply publishing a page that links 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.
And more customized integrations can be achieved by simply extending some of the basic 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...
Btw @evan@cosocial.ca open to feedback/ideas about the coexistence of ActivityPub and Webmention - and if it even makes sense to try and push in that direction before I start submitting PRs

-
Webmentions made easyNew article about my webmentions library.
You know that I love Webmentions, and I see them as the ideal future for truly decentralized peer-to-peer federation (or at least an important building block for it).
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 to other websites by simply publishing a page that links 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.
And more customized integrations can be achieved by simply extending some of the basic 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...
Thanks to the #Indieweb geeks who liked or bookmarked my article

This is a beautiful vision of how the Web is supposed to be. You just mention, like or bookmark my link on your site, and that reaction just ends up on mine with no middlemen.
I think that the problem with most of the W3C and Indieweb recommendations is that the bridge between the specifications and the implementation is too often missing. And not many are akin to invest their precious time in crafting ad-hoc solutions that may be incompatible with others.
That's the gap I'm trying to bridge with libraries like these, aiming to make the integration task doable in a dozen of lines of code at most in the happy case scenario.
Democratizing technology doesn't mean to only come up with specs that other experienced developers can implement - it means to provide battery-included solutions that anyone can plug in their existing thing with low effort.