Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • 0 Votes
    1 Posts
    1 Views
    Federated Replies and Reactions in Madblog Engage with the Web from plain text files Madblog is founded on a simple principle: a blog is just a collection of #markdown files in a folder. No databases, no logins, no client-side bloat — just files. The recently implemented support for both Webmentions and ActivityPub add an extra appeal to this approach: now those text files can federate, they can send mentions to Wordpress blogs or Mastodon accounts, and you can visualize mentions, comments and reactions from other corners of the Web directly under your articles. But after receiving in the past few days a bunch of reactions on my blog that I couldn't interact with, which forced me to fall back on my standard Fediverse account to send replies and likes, I've decided to take the "everything is a file" philosophy a step further. Now from #madblog you can also reply to comments and react to posts across the Fediverse - all from plain text files in your content folder. Replying to Comments When someone comments on your article from Mastodon or another ActivityPub-compatible services, their message appears on your blog. Now you can also respond directly from your blog. Or you can reply to any other post on the Fediverse or mention anyone, without those posts cluttering your blog's front page (I've learned to avoid this fatal design mistake made by e.g. Medium). How it works Create a Markdown file under replies/<article-slug>/: [//]: # (reply-to: https://mastodon.social/@alice/123456789) Thanks for the kind words, Alice! I'm glad the tutorial helped. @alice@mastodon.social Save the file, and Madblog automatically: Publishes your reply to the Fediverse as a threaded response Notifies Alice on her Mastodon instance Displays the reply on your blog, nested under her original comment Your reply lives in your content folder. Just like with your articles, you can version replies and reactions on git, synchronize them over SyncThing or Nextcloud Notes, or run some analysis scripts on them that would just operate on text files. Replying to replies Conversations can go as deep as you want. Reply to a reply by pointing reply-to at the previous message's URL: [//]: # (reply-to: https://mastodon.social/@alice/123456790) Great question! I'll write a follow-up post about that. @alice@mastodon.social The threading is preserved both on your blog and across the Fediverse. [Example of a nested thread rendered on Madblog] (I hope that @julian@fietkau.social and @liaizon@social.wake.st won't mind for using a screenshot from their conversation on my blog 🙂) Remember to mention your mentions An important implementation note: if you're replying to someone else's ActivityPub post, it's important that you also mention them in the reply, otherwise your reply will be rendered under their comment but they may not be notified. Usually you don't have to worry about this on Mastodon because the UI will automatically pre-fill the participating accounts in a sub-thread when you hit Reply. But this is something to keep in mind when your posts are just text files. Your replies are articles in their own right Even though anything under replies/ won't appear on your blog's home page, it doesn't mean that it must be rendered just like a humble rectangle in a crowded comments section. By clicking View full reply you get redirected to a separate page where the reply is rendered as a blog article, and its comments sections consists in the sub-tree of the reactions that spawned from that specific reply. [Example of a Madblog reply rendered as a blog article, with its own sub-thread of reactions] Liking Posts Sometimes a reply is too much — you just want to show appreciation. Now you can "like" any post on the Fediverse with a simple metadata header. Standalone likes Create a file under replies/ with just a like-of header: [//]: # (like-of: https://mastodon.social/@bob/987654321) This publishes a Like activity to the Fediverse. Bob sees the notification, and your blog records the interaction. Like and comment Want to like and say something? Combine both: [//]: # (like-of: https://mastodon.social/@bob/987654321) [//]: # (reply-to: https://mastodon.social/@bob/987654321) This is such a great point! Bookmarking for later. @bob@mastodon.social Bob gets both the like and your reply as a threaded response. Unlisted Posts Not everything needs to appear on your blog's front page. Files under replies/ without reply-to and like-of headers become "unlisted" posts — they're published to the Fediverse but don't clutter your blog index. Perfect for quick thoughts, threads, or conversations that don't warrant a full article. [//]: # (title: Thoughts of the day) Quick thought: I've been experimenting with writing all my Fediverse posts as Markdown files. It's oddly satisfying to `git log` my social media history. Guestbook Replies Your blog's guestbook works the same way. Reply to guestbook entries by placing files under replies/_guestbook/: [//]: # (reply-to: https://someone.blog/mention/123) @alice@example.com welcome! Thanks for stopping by. Editing and Deleting Changed your mind? Edit the file and an Update activity is sent. Delete the file and your reply is removed from the Fediverse too. Accidentally liked something? Remove the like-of line (or delete the file) and an Undo Like is published. Your content, your rules. Getting Started Enable ActivityPub in your config.yaml: link: https://blog.example.com enable_activitypub: true activitypub_username: blog # Only specify these if you want your ActivityPub domain to be different from your blog domain # activitypub_link: https://example.com # activitypub_domain: example.com Install Madblog From pip: pip install madblog From Docker: docker pull quay.io/blacklight/madblog Run Madblog from your Markdown folder (it is recommended that your articles are stored under <data-dir>/markdown): From a pip installation: madblog /path/to/data From Docker: docker run -it \ -p 8000:8000 \ -v "/path/to/config.yaml:/etc/madblog/config.yaml" \ -v "/path/to/data:/data" \ quay.io/blacklight/madblog Any text file you create under markdown/ becomes a blog article. Any text file you create under replies/ becomes an unlisted post, a reply or a like reaction. Check the README for detailed configuration options. Happy blogging!
  • 0 Votes
    1 Posts
    0 Views
    #LibreOffice #Writer ora supporta #Markdown : conversione diretta tra #docx #odt e #md#uno #opensource #diggita @diggita https://www.ilsoftware.it/libreoffice-writer-ora-supporta-markdown-conversione-diretta-tra-docx-odt-e-md/
  • 0 Votes
    1 Posts
    8 Views
    For those whose companies force AI adoption and use.That's the same for me, but this proposal passed.I explained things like this:"OK, guys, we have a common performance goal to adopt and promote use of AI. In order to do so, we need to document our doings in an organised and meaningful way. We need to write markdown, we need to create mermaid and plantuml diagrams, we need to describe architectures and reasons why we did them, and we need to share this corpus of organized knowledge among us". This is paramount, otherwise we will get only what any LLM could output to anyone making the same question. We need context that is ours, and this context need to be available, cleaned of clutter, and thoroughly reviewed.""Then, we will have won. Both if we decide to go full AI or not. But if we were able to gain some best-practice workflows for our work documentation, we will have increased our efficiency and stepped way ahead of any LLM for decades."Do it for yourself and keep the source notes. Do it in #Markdown or plain text. Remove Microslop from your flows.#LLM #aiatwork #ai
  • [Hongdown 0.2.0] is out!

    Uncategorized bun deno node rust markdown webassembly
    1
    0 Votes
    1 Posts
    9 Views
    Hongdown 0.2.0 is out! Hongdown is an opinionated #Markdown formatter written in #Rust, and this release brings #WebAssembly support, so you can now use it as a library in #Node.js, #Bun, #Deno, and browsers. New features: Smart heading sentence case conversion with ~450 built-in proper nouns SmartyPants-style typographic punctuation ("straight" → “curly”) External code formatter integration for code blocks Directory argument support for batch formatting Try it in the browser: https://dahlia.github.io/hongdown/ Release notes: https://github.com/dahlia/hongdown/discussions/10
  • 0 Votes
    1 Posts
    20 Views
    Scopri QOwnNotes, l’app di note‑taking multi‑piattaforma, gratuita e open‑source (GPL).Salva le note in formato Markdown sul disco locale e può sincronizzarle con Nextcloud, OwnCloud (o anche Syncthing), ma la sua vera forza è l’estensibilità: oltre un centinaio di script/plugin (es. ASCII Tree Factory, Publish To Fediverse) e la possibilità di crearne di nuovi in QML/JavaScript.Ne ho scritto un articolo sul mio blog:https://77nn.it/2026/01/06/QOwnNotes.html#QOwnNotes #NoteTaking #OpenSource #Markdown #Nextcloud #Syncthing #FediverseSent using #P2F on #QOwnNotes
  • 0 Votes
    5 Posts
    11 Views
    @paraplegic_racehorse Excellent point! The article explicitly acknowledges this: AI doesn't 'choose' Markdown intentionally—the pattern emerges from training data (GitHub, Stack Overflow, technical docs). Org-mode is indeed equally human-readable, but its smaller footprint in training corpora explains the difference. This actually reinforces the broader point: format adoption creates network effects that AI amplifies.
  • 0 Votes
    1 Posts
    10 Views
    RE: https://social.wildeboer.net/@jwildeboer/115824593540406888One of the features I liked in #Diaspora that I miss in Mastodon is #Markdown. Would be great to see this.
  • 0 Votes
    1 Posts
    12 Views
    May 2026 be the year we can finally use some #Markdown for our posts on #Mastodon. 9 years since it was first discussed [1], never really rejected nor endorsed by @MastodonEngineering – It is about time to finally add it now. Boost if you agree ;)[1] https://github.com/mastodon/mastodon/issues/761
  • Hey, I need a #markdown editor

    Uncategorized markdown noai linux
    2
    0 Votes
    2 Posts
    4 Views
    @hardtech@qownnotes
  • 0 Votes
    1 Posts
    5 Views
    # "Using LibreOffice and other Free software for documents as a lawyer"I was asked recently about how I get on using LibreOffice for document-related legal work, and I promised to write down some thoughts.The short answer is that I use a mix of LibreOffice and other FOSS tools, and I’m very positive about it, with no particular concerns.If you have questions, please do ask!https://neilzone.co.uk/2025/11/using-libreoffice-and-other-free-software-for-documents-as-a-lawyer/#LibreOffice #Linux #FOSS #lawfedi #vim #git #Markdown
  • 0 Votes
    1 Posts
    20 Views
    So what is your tool of choice for diagramming the network? I want something maintainable and not chained to some proprietary web services. Maybe the best way is to make some #MermaidJS generator from #Markdown since both formats are plain text and supported, but I am not sure no one had this bicycle invented yet.

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti