silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.56k stars 188 forks source link

Request: separate SilverBullet files from content files #1048

Open dpantel opened 3 months ago

dpantel commented 3 months ago

Not sure if this has come up before, as I am just now starting out with SilverBullet.

I do not like that SB mingles all of its files with my files. This mixes the tool and the content. Perhaps I haven't full grasped SB, but why would I want to mix the two? To me, it's like putting Apache's config files into my web root.

Since I version my wiki files, now I have to git-ignore all the SB directories and files. But wait, I do want to save and version some SB files, like my personal settings, but those don't belong in my wiki repository, they belong elsewhere. Not to mention the possibility of name collisions. What if my wiki files have a Library directory?

I would prefer that SB store its files separately. If it must be in my document root, I would prefer if it was contained to a single, preferably hidden, directory.

Is this something that has been discussed and decided against in the past?

Very fun tool otherwise. Thank you.

nodu commented 1 month ago

Totally agree! In addition the Library folder seems to have a mixed use case: it's both for external stuff that can be deleted/recreated and also for personal items that shouldn't be deleted.

Proposal to add a .SilverBullet folder with SETTINGS, VIMRC, etc and to separate out the Personal folder under Library.