Rapptz / jimaku

A site for hosting (Japanese) subtitles
https://jimaku.cc
GNU Affero General Public License v3.0
48 stars 3 forks source link

[Feature Request] Support for custom search engines #6

Closed RadianttK closed 2 months ago

RadianttK commented 3 months ago

Feature

Motivation


For example, a custom search engine could be added with

This would allow the user to search for subtitles of a show very quickly.

Rapptz commented 3 months ago

I've mentioned this in #2 but the search is currently completely client sided. This is good for me since it offloads the most expensive thing out of the server and into the client instead.

However, this issue as-is is technically solvable even with the client sided search. It might be possible to do this without making a new endpoint, probably just jimaku.cc/?query=... and jimaku.cc/dramas?query=... would just prefill the input element with the pre-existing text. This needs testing though to make sure it's not buggy.