Query Open5E API in Silverbullet with space script

We now have “Edit” and “Reload” buttons, maybe we add a third one like “Save” or “Bake” to all templates across SilverBullet, which would replace the template with its current content. I think I saw another use for that in some thread, but can’t remember now. Might help with debugging Markdown?

My first idea about that was that you get autofill for pages from Federation, like when you start typing [[!silverbullet.md/. But the scale of Open5e looks too large to keep it as a public SilverBullet instance.

I learned early how to make a Plug and now I see them as a silver bullet solution :wink:, but the hint could fetch the actual content from Open5e through their Resource Search. The way to hook up completions is really simple, I saw it in emoji Plug. I’ll try to make a demo this weekend.

I also saw that GitHub Plug has this idea of query sources, do you think that would be worth trying out? The result would make something like this possible:

```query
open5e-monster where cr = 3 and environments = "Jungle"
```
1 Like