I have a simple website which exposes some old email archives. I did it originally to expose those archives to search engine crawlers and eventually added a Google search box to allow visitors to more easily search within the archive. The JS is pretty trivial:
var cx = ‘014074023351276583159:sylo6xs67hu’;
var gcse = document.createElement(‘script’);
gcse.async = true;
gcse.src = ‘https://cse.google.com/cse.js?cx=’ + cx;
var s = document.getElementsByTagName(‘script’);
but it does rely on Google. I’d like to get away from that. Does Brave have a hunk of JS to implemnent a similar embedded search?