FAQ and Troubleshooting
Work in Progress 🏗️
This page is a work in progress. If you don't find an answer to your questions here or in the guide, feel free to reach out or to open up an issue on github (preferably create a bug-report.json in the extension settings and include it in the issue for easier debugging and context)!
Thanks @coddingtonbear for inspiration and writing awesome guides on how to tackle certain issues especially regarding the Local REST API plugin.
How can I troubleshoot connection problems between Vault Lens and Obsidian Local REST API?
In general, connection between Vault Lens and the Obsidian Local REST API are quite simple to set up. Usually it is just a matter of entering the API Key in the correct field, but sometimes things don't go smoothly.
See this discussion by @coddingtonbear for steps you can take to troubleshoot connection errors.
How do I get my browser trust my Obsidian Local REST API certificate?
@coddingtonbear has written an extensive guide about this issue. Look it up to find out how to get it to work.
How do I ask Chrome to update extensions immediately?
Chrome will automatically update extensions as updates are approved via the Chrome Web Store review process, but that takes time. If you know the version shown on the Chrome Web store (see here) is newer than the version you currently have installed, you can easily tell your browser to download updates immediately.
To do that:
- Go to chrome://extensions/
- Click the "Update" button shown near the upper-left corner of the browser window.
Done!
How do I test the latest extension version from Github?
The latest development releases are available on Github. You can try them out already before they will be published in the Chrome Web Store and use new Features earlier.
- open your obsidian vault in the app and install either the local REST API plugin or the omnisearch plugin
- test this extension by downloading the latest released zip file
- extract the files
- install the folder from the chrome extension tab
- open the settings tab of the extension
- configure your search provider and input vault name in the settings
- go to any webpage and see the number of matching notes in the extension icon
Is Vault Lens also available for Firefox?
Yes, since version >= 2.5.2 firefox is supported. You can install the firefox plugin through trough the Mozilla Add-on Store. The extension is being developed and tested with Chrome and Firefox on Windows only. By using the webextension-polyfill library of mozilla.org it is aiming for Firefox compatibility.
How do I build my own version of Vault Lens?
For the Webdevelopers
Clone the repository, install dependencies npm install
(or better use pnpm install
) and run npm run dev
/ pnpm dev
. This should automatically start chrome with the extension installed.
New to Programming?
If you're wondering how to build and test your own modifications to this extension — great! That curiosity is exactly what you need.
For experienced developers, the above may be obvious, but if you're new to programming, here’s something important to remember: nobody gets it right on the first try. The key is setting up a solid development workflow with a tight feedback loop — the faster you can test your changes, the easier it is to refine them.
Once your development setup is running, you can start making changes, testing them, and iterating as needed (which will likely be many times).
Setting Up a Development Build
To get started, you’ll need:
- A compatible version of Node.js
- All necessary dependencies
- A way to build the extension
- A method to load it into your browser
- The ability to iterate—keep making changes until they work as intended
With this setup, you'll be able to experiment efficiently and improve your extension with confidence.
Getting a compatible version of Node
You need node Version >=18
. Probably the easiest way to install it is using https://asdf-vm.com/.
Installing necessary dependencies
Clone the repository using git
. Then run the installation command in the project folder:
npm install
This will download an install all code dependencies into the ``node_modules` folder.
Building the Project
Run the following command to perform the build process.
npm run dev
Whenever you make changes to any files this will rebuild the project into the folder dist/
If you have Chrome installed this will automatically launch a Browser Window with the extension installed.
You have now loaded the extension so you can try out your changes to see if they work!
Iterate = Debugging and Refreshing Your Changes
Computers require precision and perfection—something humans achieve only through trial and error. Expect to make multiple adjustments before getting things right.
The Good News
Most of the time, your changes will be automatically detected by the build script. Simply refresh the page and interact with the extension button to see your updates applied — this works for modifications to the content script, popup or options page.
The Bad News
If you modify the service worker or any files it depends on, a simple page refresh won’t be enough. You’ll need to manually update the extension:
- Go to chrome://extensions/
- Locate your development version (it typically has a red background)
- Click "Update" to reload the background process with your changes
This ensures your latest updates take effect properly.
What permissions does Vault Lens require and why?
The Extension only requires permissions that are necessary to function properly. Read all the details about the permissions here.
How does Vault Lens use my note data?
The extension does all the note processing offline locally on your machine. There is no data sent anywhere other than between your browser and Obsidian. Read more details about the use of data in the privacy policy.
How can I use the extension with a search engine that is not officially supported?
If you want to use the live search feature on a different page than on the officially supported search engines e.g. "wikipedia.org" or "eu.startpage.com" then you can use the dedicated extension setting.
Add the domain of the search engine to "custom search domains" in the settings and check if search triggers now after reloading the page. In the best case it works out of the box. However, in case the search engine or page does not use common naming conventions for their search inputs and query strings it might not work. Feel free to open an issue on GitHub so we can find a solution or add it officially to the supported domains.