Homepage suggestion API
QOwnNotes can expose a local HTTP endpoint for Homepage suggestionUrl support, backed by the same bookmark parsing/indexing used by the Web Companion data source.
Enable in QOwnNotes
- Open
Settings -> Browser extension / command snippets. - Enable
Enable socket server. - In
Bookmark suggestion API, enableEnable Homepage-compatible bookmark suggestions APIand set a port.
The service binds to 127.0.0.1 only.
Endpoint
GET /suggest?q=home- Optional:
limit(default10, max50)
Example response:
["home", ["Homepage", "https://example.com/home", "Some Home Link"]]
Homepage config example
search:
provider: custom
url: https://example.com/search?q=
suggestionUrl: http://127.0.0.1:22224/suggest?q=
showSearchSuggestions: true
Which Homepage file to edit
In a standard Homepage installation, add the search block in one of these files:
settings.yaml(global Homepage settings)settings.yml(same as above, depending on your setup)- the file mounted into your container as
/app/config/settings.yaml
If your Homepage deployment splits configuration across multiple files, edit the file that already contains your search provider settings.
Custom Homepage assets
This repository also contains a ready-to-use Homepage customization example in:
Use these files when your Homepage deployment supports loading custom.js and custom.css.
If your Homepage runs on an external host (different machine / container than QOwnNotes), you need these files on that hosted Homepage instance so it can query your local QOwnNotes suggestion API and merge/display those suggestions in Homepage search.
If you need network access beyond localhost, place a reverse proxy in front of the endpoint and restrict access (for example by firewall rules or allowlist), since bookmark data may contain sensitive URLs.