I think kagi's nice but this is some real pain which I feel like could be solved via nilch with not much pain as well.
Perhaps you can add the cobalt bang to kagi's global list so that people like us who don't use Kagi can use it as well too since the bangs are free for everyone.
Eventually, zBang will execute bangs locally before falling back to a Kagi network call. It's open source: https://github.com/Leftium/zbang
I just remembered my other project can support cobalt. Just enter the youtube URL and press ENTER (or click the buttons): https://mm.leftium.com?p=C4S2BsFMAIF5oEQGED2AjAhuY0AikBbFBAK...
- The link above embeds the cobalt "launch plan" (config) in the URL, but it could also be added as one of the built-in plans like https://mm.leftium.com/svelte.
- Also open source (and very simple to deploy): https://github.com/Leftium/multi-launch
---
But what's the difference between these two?:
1. Go to https://nilch.org and search for `!cobalt YOUTUBE URL`
2. Go to https://cobalt.meowing.de and search for the YOUTUBE URL
I think #2 is actually simpler for that person you are trying to help.
Kagi (custom) bangs[1] already supports `!cobalt <youtube video>`
I just added !cobalt to my custom bangs as `https://cobalt.meowing.de#%s`, and it works.
Kagi also accepts new public bangs: https://github.com/kagisearch/bangs#contribution-guidelines
Kagi bangs are free for everyone (a subscription is required for custom bangs and regular search).
- Example of how to use Kagi bangs without subscription: https://kagi.com/search?q=!chatgpt+TEST
- https://zbang.leftium.com/ uses Kagi bangs under the hood.
[1]: https://help.kagi.com/kagi/features/bangs.html#custom-bangs