frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: routr - a fast local replacement for DuckDuckGo bangs

https://t128n.github.io/routr/
2•trbndev•10mo ago

Comments

trbndev•10mo ago
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"`

More on query rewriting and performance:

https://tl128n.github.io/writings/2025-05-02_optimizing_sear...

Leftium•9mo ago
That link is broken. Correct link: https://t128n.github.io/writings/2025-05-02_optimizing_searc...
trbndev•9mo ago
Ah damn what a bummer that I can‘t edit the original comment anymore. Thank you for pointing it out… didn‘t even see that extra `l` there in the url
Leftium•9mo 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

---

Also I couldn't find your source for bang data; Kagi maintains an updated list: 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•9mo ago
What 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

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

Leftium•9mo ago
Related project (also works locally):

- https://unduck.link/

- https://github.com/t3dotgg/unduck

- https://youtu.be/_DnNzRaBWUU

---

Note unduck works without service workers: https://github.com/t3dotgg/unduck/blob/91a66c25de8b0e7ac5ba5...

Is there any advantage to using service workers?

edit: Ah... unduck doesn't work from the browser search bar.

trbndev•9mo ago
Unduck actually also uses service workers to cache the app locally

https://github.com/t3dotgg/unduck/blob/91a66c25de8b0e7ac5ba5...

—-

> Is there any advantage to using service workers?

With service workers we can intercept the `fetch` request, before the index.html gets rendered/loaded. One should (in theory) be redirected some micro-seconds faster than doing the redirect in the index.html js

Show HN: Time-travel debugging and side-by-side diffs for AI agents

https://github.com/clay-good/agent-replay
1•hireclay•23s ago•0 comments

Bind 2 Port 0

https://bengarcia.dev/b2p0
1•hahahacorn•32s ago•0 comments

Starts Club – YC-style startup idea validator

2•androbuddy•4m ago•0 comments

Show HN: Aegis-DB – Multi-paradigm database in Rust,in production

https://github.com/AutomataNexus/Aegis-DB
1•AutomataNexus•5m ago•1 comments

Show HN: Cc-connect – Remote control Claude Code from your favorite chat app

https://github.com/chenhg5/cc-connect
1•cg33•5m ago•1 comments

Watch your Claude Code hooks in real time

https://felipeelias.github.io/2026/02/28/hook-lab.html
1•felipeelias•6m ago•0 comments

Retroforth: A Modern, Pragmatic Forth

https://retroforth.org/
2•tosh•6m ago•0 comments

Show HN: Cagent – Agent in a Cage

https://github.com/noperator/cagent
1•noperator•7m ago•0 comments

Histomap Reborn

https://histomap.robennals.org/app
1•Ozzie_osman•8m ago•0 comments

Show HN: GEKO (up to 80% compute savings on LLM fine-tuning)

https://github.com/ra2157218-boop/GEKO
1•SyedAbdurR2hman•9m ago•0 comments

Simple System for Now – Daniel Terhorst-North [video]

https://www.youtube.com/watch?v=aIh2XBS4pr0
1•danebalia•10m ago•1 comments

OpenRockets Foundation Gains Fiscal Sponsorship via the Hack Foundation

https://mag.openrockets.com
1•Matheww•11m ago•1 comments

How I'm Using Local Large Language Models

https://www.jvt.me/posts/2026/02/28/local-ai/
1•zdw•16m ago•0 comments

Qwen3.5-35B-A3B-GGUF from Unsloth

https://huggingface.co/unsloth/Qwen3.5-35B-A3B-GGUF
1•vincirufus•16m ago•0 comments

Monitor the Situation

https://monitor-the-situation.com/middle-east
2•bookofjoe•16m ago•0 comments

Claw21 – Blackjack for Agents

https://clawhub.ai/stainlu/blackjack
1•stainlu•18m ago•1 comments

C-Mera

https://github.com/kiselgra/c-mera
1•tosh•20m ago•0 comments

Attention Military Members and Veterans: You Have Been Defrauded

https://beendefrauded.substack.com/p/attention-military-members-and-veterans
1•htwatchdogs•24m ago•0 comments

The March of Nines

https://sruthipoddutur.substack.com/p/the-march-of-nines-part-1
9•sruthipsr•24m ago•0 comments

Kbtz: A task tracker and TUI workspace for coding agents

https://github.com/virgil-king/kbtz
1•ostrich_network•25m ago•0 comments

Switch between different Claude Code profiles

https://github.com/kimrgrey/claudini
1•kimrgrey•26m ago•0 comments

Wish List: SSH Keys in Passwords

https://sixcolors.com/post/2026/01/wish-list-ssh-keys-in-passwords/
1•watermelon0•27m ago•0 comments

Tablesaw: Java Dataframe and Visualization Library

https://github.com/jtablesaw/tablesaw
1•saikatsg•27m ago•0 comments

Who Will Command the Robot Armies? (2016)

https://idlewords.com/talks/robot_armies.htm
1•diafygi•27m ago•1 comments

Show HN: I dump all my private notes into an LLM and tell it to build me a site

https://tresbuchet.com/
1•elijahlucian•27m ago•0 comments

If code is cheap, intent is the currency

https://zknill.io/posts/commit-message-intent/
1•zknill•29m ago•0 comments

In the Northwest, Polyamory Finds Something New: Legal Protection

https://www.nytimes.com/2026/02/28/us/pacific-northwest-polyamory-legal-protection.html
1•geox•31m ago•0 comments

Ask HN: If AI boosts productivity so much, why would a company lay anyone off?

1•ex-aws-dude•32m ago•2 comments

Jargonism: A Business English Dictionary

https://jargonism.com
1•hliyan•35m ago•0 comments

AI writing just isn't good enough – and if you're using it, everyone can tell

https://www.theglobeandmail.com/opinion/article-ai-writing-just-isnt-good-enough-and-if-youre-usi...
2•paulpauper•35m ago•0 comments