whoogle-search/app/static
Ben Busby bcb1d8ecc9
Add lingva translation support in search (#360)
* Add support for Lingva translations in results

Searches that contain the word "translate" and are normal search queries
(i.e. not news/images/video/etc) now create an iframe to a Lingva url to
translate the user's search using their configured search language.

The Lingva url can be configured using the WHOOGLE_ALT_TL env var, or
will fall back to the official Lingva instance url (lingva.ml).

For more info, visit https://github.com/TheDavidDelta/lingva-translate

* Add basic test for lingva results

* Allow user specified lingva instances through csp frame-src

* Fix pep8 issue
2021-06-15 10:14:42 -04:00
..
css Add lingva translation support in search (#360) 2021-06-15 10:14:42 -04:00
img Configure PWA for mobile browsers (#234) 2021-04-05 11:00:56 -04:00
js Focus search input after clearing w/ reset btn 2021-04-22 10:02:15 -04:00
settings Add lingva translation support in search (#360) 2021-06-15 10:14:42 -04:00