Custom API instance
This page will show you settings that you need if you want to use your own API instance with Khofly. If you don't have your own API instance hosted check out the hosting guide.
1. Change settings yaml to include the following changes
Add output format json
, this will allow you to use the search as API and return a JSON response, and make sure to set a long randomly generated string for server secret ( ex. run openssl rand -hex 32
)
After this change restart your SearXNG instance with sudo service uwsgi restart searxng
Finally - Add your instance to Khofly
Go to Settings/Instances/API URL and set your instances domain in the following format https://example.com
Read more