Document Explorer for Silverbullet

[UPDATE - new features ] - Ver. 1.1.0

  • added New Page button to add a new Page to the currently opened Folder:

    image

  • because it was a very requested feature, I decided to add Batch Rename/Delete/Copy/Paste functions.

    • use Ctrl+Click (Win) / Cmd+Click (Mac), to select the Files you want to include in the batch
    • use the Context Menu to Copy/Cut/Rename/Delete the selected files
    • Navigate to the Folder you want to Copy/Move the files to, and use the Paste here Context Menu option.

:warning: Know Limitations and Warnings

  • The Built-In Rename function in Silverbullet has couple of limitation affecting the Backlinks, when renaming multiple files at once:
    • :red_exclamation_mark::warning: You need to confirm the files one by one when Cut & Pasting or when batch Rename multiple files, because DocumentExplorer uses the built-in Rename function from Silverbullet, which will also update the backlinks inside the pages.
    • :red_exclamation_mark::warning: When renaming a folder with multiple files in it, the Backlinks are not correctly updated
    • recommandation: instead of Renaming the folder, use batch-cut/paste on the files
    • :red_exclamation_mark::warning: Silverbullet - BUG when renaming files with a ")" in its name the backlinks will malform

I can install it, but I can't start, I get the error:

.../Library/Mr-xRed/UnifiedAdvancedPanelControl.js is missing.

Somehow, I managed to get it working after all. I couldn't delete it using the Library Manager. So I deleted the file from the file system. And somehow, I was able to install it properly after all.

Hi! Any idea what could cause DE to not load properly? I do not have any other plugins/libraries enabled. Does this require some configuration to work properly? I have tried different browsers and restarting the server.
The picture is taken from left sidebar.

it should work out of the box. the question is how did you installed DocEx? did you installed it through the library manager? or you just copy pasted the .md file only? from the iomage you are showing it seems that the .css and .js file is isnt loaded. meaning it could be either a file permission issue on your side, or the files don't exist. If you installed it through the Library Manager it should automatically install the dependencies as well, can you check/confirm if you have folowing files "/Library/Mr-xRed/" with the correct r/x permissions:

  • UnifiedFloating.js
  • docex_styles.css
  • lucide-icons.svg
  • hybrid-cursor.svg
  • AdvancedPanelControls.md

I had a similar issue for the longest time, and it turned out the cause was Cloudfare. Two things I changed around the same time that solved this was removing caching and removing rocketloader for the silverbullet domain

that could be a third option when connecting through cloudflare, or maybe accessing silverbullet as offline-PWA, the CSS/JS files are never cached (if you explicitly don't chose the option to) it doesnt load those files, so only the pure HTML is loaded and the CSS/JS isn't applied to DocEx.

I used the Library Manager. Based on the reverse proxy's logs it seems DocEx does not support running under URL prefix. It started working when I moved it to its own sub domain.