検索

#ActivityPub support in #Madblog https://blog.fabiomanganiello.com/article/Madblog-federated-blogging-from-markdown I am glad to announce that Madblog has now officially joined the #Fediverse family. If you want to test it out, search for this URL on your Fediverse client. Madblog has already supported #Webmentions for the past couple of weeks, allowing your blog posts to be mentioned by other sites with Webmentions support (WordPress, Lemmy, HackerNews…) and get those mentions directly rendered on your page. It now adds ActivityPub support too, using #Pubby, another little Python library that I’ve put together myself (just like Webmentions) as a mean to quickly plug ActivityPub support to any Python Web app.

Webmentions and Pubby follow similar principles and implement a similar API, and you can easily use them to add federation support to your existing Web applications - a single bind_webmentions or bind_activitypub call to your existing Flask/FastAPI/Tornado application should suffice for most of the cases.

Madblog may have now become the easiest way to publish a federated blog - and perhaps the only way that doesn’t require a database, everything is based on plain Markdown files.

If you have a registered domain and a certificate, then hosting your federated blog is now just a matter of:

mkdir -p ~/madblog/markdown
cat <<EOF > ~/madblog/markdown/hello-world.md
# My first post

This is my first post on [Madblog](https://git.fabiomanganiello.com/madblog)!
EOF

docker run -it \
  -p 8000:8000 \
  -v "$HOME/madblog:/data" \
  quay.io/blacklight/madblog
And Markdown files can be hosted wherever you like - a Git folder, an Obsidian Vault, a Nextcloud Notes installation, a folder on your phone synchronized over SyncThing… Federation support is also at a quite advanced state compared to e.g. #WriteFreely. It currently supports:


Interactions rendered on the articles: if you like, boost, quote or reply to an article, all interactions are rendered directly at the bottom of the article (interactions with WriteFreely through federated accounts were kind of lost in the void instead)


Guestbook support (optional): mentions to the federated Madblog handle that are not in response to articles are now rendered on a separate /guestbook route


Email notifications: all interactions can have email notifications


Support for quotes, also on Mastodon


Support for mentions, just drop a @[email protected] in your Markdown file and Joe will get a notification


Support for hashtag federation


Support for split-domain configurations, you can host your blog on blog.example.com but have a Fediverse handle like @[email protected]. Search by direct post URL on Mastodon will work with both cases


Support for custom profile fields, all rendered on Mastodon, with verification support


Support for moderation, either through blocklist or allowlist, with support for rules on handles/usernames, URLs, domains or regular expressions


A partial (but comprehensive for the provided features) implementation of the Mastodon API If you want you can follow both the profiles of my blogs - they are now both federated: My personal blog: @[email protected] (it used to run WriteFreely before, so if you followed it you may need to unfollow it and re-follow it) The #Platypush blog: @[email protected]
返信 0 · Renote 0
When it is really hot out, it can be hard to finish a painting before it dries! One way to fix that is to paint smaller- each of these paintings is less than 2x2 inches! For more ideas of how to paint in hot & dry weather, read my 2 part series: https://dotart.blog/karin-wanderer-learns/were-having-a-heat-wave & https://dotart.blog/karin-wanderer-learns/i-started-this-heat-wave Different types of weather affect your painting- even if you work inside! #mastoArt #WriteFreely #Blog #Art #Watercolor #Watercolour #Summer #Heatwave #Weather
  • 0233377ae2ec09a4.png
返信 0 · Renote 0
本站隆重推出:希奇!博客栈 🍾🎉 https://write.c7.io 长毛象虽然很适合日常碎碎念,但如果想写一篇长一点的文章的话,不论是编辑体验还是阅读方式都不是很合适。因此希望这个博客平台可以填补这个空白。 希奇!博客栈使用优美的博客平台 #WriteFreely 搭建。感谢 @[email protected] 的推荐!接触这个平台之后我立刻被它的极简而优雅所折服,这以一种不能解释的方式为使用者提供了喜悦。 本站对程序进行了深度定制整合。希奇!用户可以一键登录并立刻开始创作。由于站点采用极简主义设计,请第一次使用的朋友阅读 作者入门指南:https://write.c7.io/tidy/intro 我们希望大家不论是在希奇!主站,或者是博客栈都能找到自己独有的使用体验!如果有任何问题或建议,都欢迎联系我哟! #博客 #站点说明
返信 0 · Renote 0
As we head into the holiday week, I am sharing another delicious recipe! I think it’s a little strange that the entire US wants to celebrate my being on Mastodon for 1 year, but it’s still a good excuse to talk about Brownies! (I hear they’re throwing me a parade on Thursday…) https://dotart.blog/karin-wanderer-learns/sweets-for-my-sweet #MastoArt #WriteFreely #Artists #Blog #Baking #Recipe #Food #Dessert #AmBaking
  • f53ffc93fab86a5d.png
返信 0 · Renote 0