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•10mo ago
That link is broken. Correct link: https://t128n.github.io/writings/2025-05-02_optimizing_searc...
trbndev•10mo 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•10mo 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•10mo 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•10mo 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•10mo 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

Stay in the Loop: How I Use Claude Code

https://jola.dev/posts/stay-in-the-loop
1•shintoist•59s ago•0 comments

Flock Flocked up: How a license plate camera misread unraveled one man's life

https://www.businessinsider.com/flock-safety-alpr-cameras-misreads-2026-3
1•text0404•1m ago•0 comments

Rcarmo/PhotosExport: Export All Your Data from Apple Photos

https://github.com/rcarmo/PhotosExport
1•rcarmo•1m ago•0 comments

Paying without Google: New consortium wants to remove custom ROM hurdles

https://www.heise.de/en/news/Paying-without-Google-New-consortium-wants-to-remove-custom-ROM-hurd...
1•derbOac•3m ago•0 comments

Show HN: autoautoresearch – Karpathy's autoresearch on steroids

https://github.com/ArmanJR/autoautoresearch
1•armanj•3m ago•0 comments

Block Cut 4k Jobs and Blamed AI. The Truth Is More Complicated

https://newsletter.chainofthought.show/p/block-cut-4000-jobs-and-blamed-ai
1•cliffclimber•4m ago•0 comments

LodeRunner2099

https://loderunner2099.exe.xyz/
1•indigodaddy•6m ago•1 comments

I am in an abusive relationship with the technology industry

https://whitep4nth3r.com/blog/i-am-in-an-abusive-relationship-with-the-technology-industry/
1•only_in_america•8m ago•0 comments

Billion-Parameter Theories

https://www.worldgov.org/complexity.html
3•seanlinehan•9m ago•0 comments

KeePassXC 2.7.12 Released

https://keepassxc.org/blog/2026-03-10-2.7.12-released/
1•varjolintu•9m ago•0 comments

Marathon Players Debate Gorgeous but Painful UI and Ammo Shortages

https://kotaku.com/marathon-ammo-pvp-ui-bungie-feedback-server-slam-2000674385
1•PaulHoule•10m ago•0 comments

ALGOL W

https://en.wikipedia.org/wiki/ALGOL_W
1•tosh•11m ago•0 comments

From one-shot to agentic diagnostic analysis

https://haulos.com/blog/agentic-diagnostics-analysis/
1•hardsnow•13m ago•0 comments

Patriot Copy

https://chromewebstore.google.com/detail/patriot-copy/kamombliggehkgokinomjcjboicemmio
1•very_good_man•13m ago•1 comments

Remote MCP Servers: Hosting, Authentication and Best Practices

https://www.kapa.ai/blog/remote-mcp-servers-hosting-authentication-best-practices
2•mooreds•14m ago•0 comments

Giving our AI agent 100k tools made it worse

https://getviktor.com/blog/what-breaks-when-your-agent-has-100000-tools
1•peteralbert•14m ago•1 comments

First Brands row hints at banks' shadow exposure

https://www.reuters.com/commentary/breakingviews/first-brands-row-hints-banks-shadow-exposure-202...
2•petethomas•14m ago•0 comments

3DIMLI – Sell Software and Video, Zero Commission, Direct Payments

https://www.3dimli.com
1•arpit077•15m ago•1 comments

Hugging Face Storage Buckets: Mutable, non-versioned object storage at $12/TB

https://huggingface.co/blog/storage-buckets
5•victormustar•15m ago•0 comments

Show HN: Server Automation in TypeScript

https://www.ignition.sh/
1•tibozaurus•16m ago•0 comments

The 'number station' sending mystery messages to Iran

https://www.ft.com/content/86c4a4ca-ca06-4fc8-90fe-4f46357b804f
5•g-mork•16m ago•0 comments

Show HN: I reproduced the CL1 DOOM demo in 132 parameters

https://www.mikeayles.com/blog/its-just-weights/
1•mikeayles•17m ago•0 comments

Day Week Job Board

https://fourdayweek.co.uk/
1•robtherobber•18m ago•0 comments

Auto-accept everything and nothing else

https://github.com/HalfEmptyDrum/press-one
3•Kai20211111•19m ago•1 comments

Windows 11 taskbar's new Internet Speed Test tool is a shortcut to Bing.com

https://www.windowslatest.com/2026/03/10/windows-11-taskbars-new-internet-speed-test-tool-is-a-sh...
3•akyuu•20m ago•2 comments

The Process of Movie Casting Has Changed Drastically

https://www.nytimes.com/2026/03/09/movies/oscars-casting-award-auditions-movies.html
4•ripe•21m ago•0 comments

New multimodal Gemini embeddings from Google (videos and PDFs supported)

https://haystack.deepset.ai/blog/multimodal-embeddings-gemini-haystack
1•kacperlukawski•25m ago•0 comments

Ten Thoughts on Government Data

https://www.statecraft.pub/p/ten-thoughts-on-government-data
2•casca•25m ago•0 comments

Show HN: MoveAlerts.ai – AI that distills stock news in real-time

https://www.movealerts.ai/
1•pyfreak182•25m ago•0 comments

SQLite Concurrency in Go: What We Learned Building a Desktop AI IDE

https://chatml.com/blog/sqlite-concurrency-in-go-desktop-ai-ide
1•mcastilho•25m ago•0 comments