# Who's using federation?

**URL:** https://community.silverbullet.md/t/whos-using-federation/1980
**Category:** General
**Created:** [March 15, 2025, 4:15pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980 "2025-03-15T16:15:25Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 15, 2025, 4:15pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/1 "2025-03-15T16:15:25Z")

</div>

Alright, another day, another potential feature I am considering removing (maybe I should create a dedicated category for this).

SB for a long time has had this idea of [Federation](https://silverbullet.md/Federation). By linking to pages in the shape `[[!silverbullet.md/Query Language]]` you can link to effectively markdown files on other servers. When I added this I had high ambitions on turning SB into some sort of altnerative interface to a markdown-based Internet, and to use it for all kinds of things like syncing in other, remote spaces and solve all of the world’s problems.

But that didn’t really materialize. And honestly, the federation syntax in pages is resulting in a lot of special cases in the code and potential security issues (what if a federated page contains a Lua directive, should it just run that code when browsing there?).

The only real way that these federated links are used is for syncing libraries (it’s using this syntax) and for transcluding `![[!silverbullet.md/Getting Started]]` on the initial onboarding page. Nice, but there’s other ways to achieve similar things.

Hence, my question is anybody using federated links for anything of significance, or has some ideas of how we absolutely need this feature?

Otherwise I may just remove it.

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 15, 2025, 4:22pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/2 "2025-03-15T16:22:52Z")

</div>

What removing it may also unlock is stepping away from this idea that all files are loaded from the server root, which complicates things a lot and results in all kinds of strange rules and complexity that is, honestly, hard to explain.

For instance, when you load `http://localhost:3000/mypage.bla` should this load the SB web UI loading a `mypage.bla.md` markdown file, or is `.bla` a file extension and it should just render that file directly?

The reason I mix these two, and don’t just host all plain files under e.g. `/.fs/something.md` was to make federation links work nicely. But if that’s no longer a requirement, I can clearly namespace these things again without ambiguity.

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 15, 2025, 4:23pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/3 "2025-03-15T16:23:53Z")

</div>

> [@zef](#):
>
> federated links are used is for syncing libraries (it’s using this syntax)

On this topic, an alternative could be to use something like this instead: [🔌 External Libraries](https://community.silverbullet.md/t/external-libraries/1899) as implemented by @janssen-io

---

<div class="post-metadata">

### Author: ![devzero](https://community.silverbullet.md/user_avatar/community.silverbullet.md/devzero/32/103_2.png) [@devzero](https://community.silverbullet.md/u/devzero)
#### Post date: [March 15, 2025, 4:31pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/4 "2025-03-15T16:31:27Z")

</div>

I do not foresee wanting to ever use it

---

<div class="post-metadata">

### Author: ![MrMugame](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mrmugame/32/358_2.png) [@MrMugame](https://community.silverbullet.md/u/MrMugame)
#### Post date: [March 15, 2025, 5:49pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/5 "2025-03-15T17:49:45Z")

</div>

Couldn’t this be at least half decently implemented using space lua anyway? It would definitely simplify some stuff.

---

<div class="post-metadata">

### Author: ![janssen-io](https://community.silverbullet.md/user_avatar/community.silverbullet.md/janssen-io/32/1155_2.png) [@janssen-io](https://community.silverbullet.md/u/janssen-io)
#### Post date: [March 15, 2025, 8:22pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/6 "2025-03-15T20:22:42Z")

</div>

Apart from wanting to share libraries, I don’t use federation either.  
And like you mentioned, the external libraries plug or maybe even space lua can solve that. 🙂

---

<div class="post-metadata">

### Author: ![username\_smusername](https://community.silverbullet.md/letter_avatar_proxy/v4/letter/u/b3f665/32.png) [@username\_smusername](https://community.silverbullet.md/u/username_smusername)
#### Post date: [March 16, 2025, 6:16am UTC](https://community.silverbullet.md/t/whos-using-federation/1980/7 "2025-03-16T06:16:22Z")

</div>

I love the idea, but I honestly don’t use it for any pages and I had some _weird_ one-off issues with it so I just use html links to [silverbullet.md](http://silverbullet.md).

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 16, 2025, 7:37pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/8 "2025-03-16T19:37:25Z")

</div>

Ok, I’ll be working towards removing it.

---

<div class="post-metadata">

### Author: ![justyns](https://community.silverbullet.md/user_avatar/community.silverbullet.md/justyns/32/132_2.png) [@justyns](https://community.silverbullet.md/u/justyns)
#### Post date: [March 16, 2025, 11:57pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/9 "2025-03-16T23:57:49Z")

</div>

I also like the idea, but don’t currently use it other than for libraries.

Agree with others that it could probably be done with space script/lua script too.

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 18, 2025, 1:33pm UTC](https://community.silverbullet.md/t/whos-using-federation/1980/10 "2025-03-18T13:33:04Z")

</div>

Heh, funny that this is now developing: [https://llmstxt.org](https://llmstxt.org)

The idea is to expose website content in a more LLM-friendly way. And of course the `.txt` is really `.md`. Some companies are adopting this already. Here are Stripe’s docs: [https://docs.stripe.com/llms.txt](https://docs.stripe.com/llms.txt)

This may actually lead to more of the Internet being exposed as markdown files, since LLMs like this. Maybe there is a future in using SilverBullet as a browser of this markdown based Internet anyway 🤔

---

<div class="post-metadata">

### Author: ![href](https://community.silverbullet.md/user_avatar/community.silverbullet.md/href/32/1010_2.png) [@href](https://community.silverbullet.md/u/href)
#### Post date: [March 19, 2025, 10:41am UTC](https://community.silverbullet.md/t/whos-using-federation/1980/11 "2025-03-19T10:41:00Z")

</div>

I only use it for linking to [silverbullet.md](http://silverbullet.md) documentation, something I can definitely live without.

However, as far as features go, I just find it very cool 😅
