Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.64 KB

FAQ.adoc

File metadata and controls

48 lines (36 loc) · 1.64 KB

FAQ

Once you have updated a goggle inside Geachy, you need to manually submit its URL to Brave Search on search.brave.com/goggles/create to update it there as well.

However, this does not make much fun and therefore Gearchy can do it for you, if you configure it to do so.

To automate the process, an API call needs to be made to the Brave Search API. Unfortunately, this API comes with CORS restrictions and therefore can’t be accessed from a browser environment, in which a web application like Gearchy is running.

A custom backend that acts as a proxy between Gearchy and the Brave Search API is required for this. CORS restrictions don’t apply here since the backend is not running in a browser environment.

Gearchy comes with no API proxy configured by default.

But you can easily add the following proxy, which is provided by the Gearchy author:

https://app.gearchy.wolf.gdn/api/submit?url=%s

The source of the proxy is available at github.com/devidw/gearchy/tree/main/api, feel free to fork it and adjust it to your needs.

ℹ️
The API proxy is not required for Gearchy to work. It’s only purpose is to automate the process of submitting goggles to Brave Search. If you don’t want an external service to handle your goggle URLs (including private ones), you can either submit them manually or set up your own API proxy.