Makes sense. Regarding the linked mention snippets. Please create a GitHub issue (https://github.com/silverbulletmd/silverbullet) for that. Right now it does the simplest thing, which is just to take x characters on each side. That can definitely be improved.
It’s pretty simple. Supports a single username:password combo, issues a JWT in a cookie and that’s it.