Running SilverBullet without Deno/Docker in the Browser Only?

Hey folks,

SilverBullet looks amazing! I am searching for exactly that, but I have the constraints of an environment where I can’t install anything. The environment is completely restricted. I only have an Edge browser on it, can’t install anything without triggering massive EDR alerts, etc.. Therefore, no Docker, no Deno. Just a vanilla Windows stack. I don’t like it, but have to work with it for now.

Anyone with experience here, who could give estimate how much work it would be, to run everything in the browser via JavaScript with no backend? I have not peeked into the codebase yet, but maybe someone with experience could give a rough outlook if that would be possible to achieve or not.

Thanks for all the hard work and best regards,
Manu

How would you want that to work? Afaik, you always have to fetch from some server when opening a PWA. You are not going to be able to get away without a server. But you can use silverbullet once its loaded fully offline as a PWA

1 Like

And running it is a bunch of files that I open directly with browser would not be an option? I have to find out, if I can serve something simple via Powershell, if that would be enough.

I am basically looking for information on how reliant SilverBullet is on the server. I could open files from the filesystem via a standard HTML5 file Open dialogue, I guess and save my files the same way, to save every progress from Local Storage to disk.

Can you download and run an .exe file downloaded from the internet?

This is what the silverbullet-server-windows-x86_64.zip on releases page is supposed to allow. I’m not sure why this option isn’t listed in the Install documentation, but I can describe it there if you find it useful. I just tried it on a Windows 10 machine and worked as expected.

If you can access “random” URLs on the Internet, is it not an option to launch a tiny server somewhere with SB on it, and simply access that using your (Edge) browser? No need to install anything on your machine.

This is what I use for my work setup. My work laptop is also fairly restricted, but it doesn’t matter because I just access SB running on my home network (in my case) via the browser.

Thank you Marek, but I won’t be able to install any binary without triggering alerts and probably violate also a few policies. So I have to stick to HTML, CSS and JS only. Basically living off the land.

Thank you Zef, but this will likely violate a policy that enforces to keep sensitive data (which I want to document in SilverBullet) on the PC I will be using only. So I will not be allowed to store data on any other device than the laptop I will be given.