routr is a lightweight, offline search router inspired by DuckDuckGo's bangs. It's fully browser-based (no server requests needed other than the initial one) and routes queries like `!gh tokio` to GitHub, `!yt` to YouTube, `!hn` to Hacker News, etc.
What sets it apart:
- Runs entirely locally (no network, no tracking)
- Lets you define your own bangs and destinations
- Optionally rewrites queries for better precision (with AI)
Example:
Typing `article about german war in the stone age !!g` becomes:
`site:en.wikipedia.org "german" AND "war" AND "stone age"`
trbndev•3h ago
What sets it apart:
- Runs entirely locally (no network, no tracking)
- Lets you define your own bangs and destinations
- Optionally rewrites queries for better precision (with AI)
Example:
Typing `article about german war in the stone age !!g` becomes: `site:en.wikipedia.org "german" AND "war" AND "stone age"`
More on query rewriting and performance:
https://tl128n.github.io/writings/2025-05-02_optimizing_sear...