Chrome browser extension allows you to semantically search your Chrome bookmarks by the content of the web pages, not just by their titles.
- Open Google Chrome and navigate to
chrome://extensions. - Enable "Developer mode" using the toggle in the top-right corner.
- Click the "Load unpacked" button.
- Select the directory containing this extension's code.
Note: You must have a local Ollama server running which provides embedding model for this extension to function.
For the extension to connect to your local Ollama server, you must configure Ollama to accept requests from the Chrome extension's origin.
If you run Ollama from the terminal, start it with the OLLAMA_ORIGINS environment variable set to allow Chrome extensions:
OLLAMA_ORIGINS="chrome-extension://*" ollama serveIf you use the Ollama desktop application, you should set a system-wide environment variable that the app can read on startup.
- Run in terminal:
launchctl setenv OLLAMA_ORIGINS "chrome-extension://*" - Quit and restart Ollama desktop app for the setting to take effect.
- Open
System Settings. - Go to
General>Login Items. - Under
Open at Login, click the+button. - Navigate to the directory where you have this extension's code and select the
set_ollama_origins.appfile. - This will add the script to your login items and it will be run every time you log in, setting the environment variable for Ollama.
- Then start Ollama desktop app or restart if it's currently running.
Right click on the extension icon in the upper right part of the browser and select options. It will show the list of bookmarks folders in your browser. Select the ones you want indexed.