secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian
https://perlite.secure77.de/
MIT License
968 stars 81 forks source link

Issue with fetching my vault #116

Closed francescofeston closed 4 months ago

francescofeston commented 5 months ago

Dear Secure 77,

first of all thank you for this tool, it's amazing. I have managed to set it up and it works properly, the only issue is that what's loaded into the viewer is the "demo" Obsidian vault and not my own. I have adjusted all the settings as per instructions (I followed both yours and and those of https://blog.nihilism.network/servers/perlite/) The result can be seen in the screenshot attached Schermata 2024-02-03 alle 23 40 09

The top folder is my own but it cannot be accessed. I know it may be some trivial oversight from my side and Please bear with me because I do not have a computer science background. Thank you for your help in troubleshooting this one. francesco

secure-77 commented 5 months ago

Hey @francescofeston,

Can you tell me where you have set your vault to Actionable-Knowledge ?

For me it looks like you have adjusted the helper.php, but only set the $vaultName to your vault instead of the $rootDir. So you also need to replace this line:

$rootDir = empty(getenv('NOTES_PATH')) ? 'Demo' : getenv('NOTES_PATH');

with this

$rootDir = "Actionable-Knowledge

BR, sec77

francescofeston commented 5 months ago

Hi sec77,

you nailed it down. I did what you suggested and it works like magic. One last thing if you don't mind: in my vault there is no 'themes' folder inside the .obsidian folder. Any suggestion about how I can add it?

I owe you one:) thanks francesco

secure-77 commented 5 months ago

You are welcome, glad it worked 👍

In Obsidian you can download custom themes via the settings, after you have installed one there should be the themes folder.

image