Is it possible to stop the server on windows 11 and localhost ?
Yes, although I don’t see any scenario of why you would want to
I’m not really a Windows user, but I’d imagine Ctrl-c would do the trick, or closing the command prompt window.
thanks ! Yes, its not really necessary. But, i would understand why “http://localhost:3000/” is ok after i closed the command prompt or i suppr the process with Alt+Ctrl+Suppr. The process is died but it is possible to use SilverBullet !
Can you clarify what append, please ?
Yes, SilverBullet can run independently in your browser, but you will miss the sync feature with your physical files, which is one of the core advantages of running SilverBullet properly. Essentially, without the bridge (i.e., the SilverBullet process actively running) your edits in the browser remain isolated from your local files.
The intended use of SilverBullet is either:
• Self-hosted on-premise: e.g., on a Raspberry Pi, in a Docker container, on a home server, etc. This setup gives you full control and seamless syncing.
• Cloud-hosted: e.g., on a VPS or services like Pikapods, which also ensures proper syncing and availability.
Technically, you can run SilverBullet on Windows without keeping the command prompt open by setting it up as a Windows Service, but this is not the optimal way. If you like, I can provide some hints and instructions on setting it up this way, though it’s more of a workaround than a recommended workflow.
The bottom line: running it as a PWA is convenient for quick edits, but for reliable syncing and full functionality, keep SilverBullet running in its intended environment.
Here some links you should also check out:
and
Thanks you very much ! I understand (architecture and sync engine) and test. It’s clear, now !
But, if you can provide me some hints and instructions on setting it up as a Windows Service, it was great. Thanks you in advance,
I will put a step by step instructions tomorrow for windows for you.
until then here are an overviw how this would work:
- You set your Environment variables for:
SB-FOLDER
SB_INDEX_PAGE - optional
SB_USER - optional
- Then we need to create a *.ps1 (PowerShell script which will start silverbullet as a background process)
- Then we create a shortcut to run that *.ps1 script
- Optional you can put that Shortcut in your Startup folder to start automatically when windows boots up. so basically Silverbullet server will boot together with your windows.
i’ll post the instructions tomorrow here, because i have my script on my other computer.
I’ve made this guide for you:
Tell me if you succeeded setting it up or if you run into an issue feel free to ask.
Thanks you very much ! All is ok for me !!
I suggest :
- in the script : suppr the -Verbose option (window is hidden so, the “Comment” is not visible)
- for the shortcut : select “Minimize” in “Execute” option
- in the guide : replace “Silverbullet.ps1” by “silverbullet.ps1” in “Step 2”. Its not important because its the same for PowerShell but may be better clear.
Have un good day !
- and 2. I added the -Verbose option intentionally so i can see if something goes wrong and to see that’s it’s doing something. I usually run the script manually, and keep an eye on it. Buit I can see where this has no point when used with autostart, indeed.
- changed it to no-caps