Home ยป Mastodon integration

Beto Dealmeida's avatar

Mastodon integration

Testing the integration between my weblog engine and Mastodon.

I created a new announcer[archived] for my weblog engine, nefelibata[archived], integrating it with Mastodon.

Announcers in nefelibata are responsible for publishing new posts to social networks like Mastodon[archived], Twitter[archived], WT.Social[archived] or others. They allow readers to discuss the posts, since the weblog is static and I don't want to use services like Disqus[archived] that force me to give control over my data.

More importantly, announcers are also responsible for collecting replies from the different social networks, mirrorring them locally so that they are preserved beyond the life of the social networks.

Comments

You can engage with this post on Mastodon or Twitter.

Elesimo's avatar
Elesimo replied on Mastodon on 2020-01-03:

@beto it works!

LaraVista ๐Ÿ‘๏ธ ๐Ÿ‘๏ธ's avatar

@beto I need something similar for my website ๐Ÿง

Beto's avatar
Beto replied on Mastodon on 2020-01-03:

@laravista here's my blog engine: github.com/betodealmeida/nefel[archived]

When I create a new post, it's published to Twitter, Mastodon, WT.Social and a few others (configured per-post).

Replies are then mirrored locally, in order to preserve them. See an example here: blog.taoetc.org/wtsocial_integ

LaraVista ๐Ÿ‘๏ธ ๐Ÿ‘๏ธ's avatar

@beto I like #Python but in this moment I have a free #PHP hosting to use so I have to port your big idea on #Laravel framework

LaraVista ๐Ÿ‘๏ธ ๐Ÿ‘๏ธ's avatar

@beto Only to understand better: do you have to regenerate this page to see the new comments, correct?
blog.taoetc.org/mastodon_integ

Beto's avatar
Beto replied on Mastodon on 2020-01-03:

@laravista correct! The blog is just static pages uploaded to S3, so I need to regenerate it periodically for new comments to show up.

LaraVista ๐Ÿ‘๏ธ ๐Ÿ‘๏ธ's avatar

@beto Finally this is good becauuse so you can check before the comments if you want to avoid SPAM or haters or bad stuff

Beto's avatar
Beto replied on Mastodon on 2020-01-03:

@laravista good point! I haven't had that problem yet, but it would be easy to blacklist some of the comments before republishing the blog.

Beto Dealmeida's avatar

@dealmeida test.