3 ms·
> Typing `article about german war in the stone age !!g` becomes: `site:en.wikipedia.org "german" AND "war" AND "stone age"` I wonder how much of that could be
by Leftium 1y ago
> Typing `article about german war in the stone age !!g` becomes: `site:en.wikipedia.org "german" AND "war" AND "stone age"`
I wonder how much of that could be done without AI, just (locally) using https://www.npmjs.com/package/compromise https://www.npmjs.com/package/compromise
---
Also I couldn't find your source for bang data; Kagi maintains an updated list: https://github.com/kagisearch/bangs https://github.com/kagisearch/bangs
I'm working on an enhanced version of bangs. Since there are so many "dead" bangs, I'm thinking of using a bang whitelist and suggestions from the full list if not found in the whitelist.
- trbndev 1y agoWhat an interesting library. Thanks for mentioning it here… will definitely look into it! —- The bangs are at https://github.com/t128n/routr/blob/main/src/sw/routes.ts https://github.com/t128n/routr/blob/main/src/sw/routes.ts Mostly ripped from duckduckgo.com/bang.js and then pretty-formatted with Prettier… with some sane-defaults added like a bang for ChatGPT or T3 Chat