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

Monitoring high-load systems with PULSESUN

1•PULSESUN•2m ago•0 comments

Automating data parsing for Mindzo Investment Union

1•MindzoFAQs•5m ago•0 comments

Making Chocolates: Lessons Learned

https://brian.jp/blog/making-chocolates-lessons-learned-35/
1•lofties•5m ago•1 comments

NFL linebacker charged w. killing girlfriend asked ChatGPT advice b4 calling 911

https://www.nbcnews.com/news/us-news/ex-nfl-linebacker-charged-killing-girlfriend-allegedly-asked...
1•randycupertino•6m ago•0 comments

Show HN: Catan Clock – a free PWA timer for keeping Catan turns moving

https://github.com/apasserby00/Catan-Clock/
1•apasserby00•7m ago•0 comments

What I Learned Running Two College Video Game Programs (2011-2018)

https://jasoneckert.github.io/myblog/vg-programs/
1•jasoneckert•7m ago•0 comments

Show HN: Try Gerbil Scheme in the Browser

https://trygerbil.dev/
1•agambrahma•8m ago•0 comments

Show HN: Fubar Daily – satirical news for people watching it unravel

1•anonnona8878•10m ago•0 comments

Jsse: Agent-coded JavaScript engine in Rust passing 99.96% of test262

https://github.com/pmatos/jsse
2•ivankra•11m ago•0 comments

Arancely – AI that calculates import costs in Argentina

https://www.arancely.com
1•flambee•12m ago•1 comments

The Billionaire Backlash Against a Philanthropic Dream

https://www.nytimes.com/2026/03/15/business/the-billionaire-backlash-against-a-philanthropic-drea...
2•tysone•12m ago•0 comments

Google wins Korea map access after 20-year freeze

https://www.koreatimes.co.kr/business/tech-science/20260314/google-wins-korea-map-access-after-20...
3•teleforce•12m ago•0 comments

A 277 KB no_std WebAssembly JIT engine that goes head-to-head with V8

https://github.com/mbbill/Silverfir-nano
1•mbbill•13m ago•0 comments

What "Ready" Means in AI-Assisted Software Builds

https://vibe2value.com/what-ready-actually-means/
1•mattcameron•14m ago•2 comments

CeraPiper: Custom Extruded Ceramics for Heat Exchange (2025)

https://dl.acm.org/doi/10.1145/3745778.3766644
1•wslh•14m ago•0 comments

AI tools are making me lose interest in CS fundamentals

3•Tim25659•16m ago•3 comments

Show HN: OpenClaiming, a tiny protocol for verifiable claims that works anywhere

https://github.com/OpenClaiming/Documentation
1•EGreg•16m ago•0 comments

Couvade syndrome makes fathers feel pregnant

https://www.bbc.com/future/article/20260313-the-mysteries-of-couvade-syndrome
2•1659447091•18m ago•0 comments

Federal Right to Privacy Act

https://righttoprivacyact.github.io
2•pilingual•19m ago•0 comments

Ask HN: Supabase PG upgrade wiped production DB, PITR backups failing

1•supai•23m ago•0 comments

Your AI Agent Is Building Shadow IT and Nobody Noticed

https://geoffstearns.com/blog/your-ai-agent-is-building-shadow-it/
2•tensafefrogs•24m ago•0 comments

We Say You Want a Revolution (2025)

https://citizenlab.ca/research/2025-10-ai-enabled-io-aimed-at-overthrowing-iranian-regime/
1•caaqil•25m ago•0 comments

Show HN: Argazer – detect outdated Helm charts in ArgoCD applications

https://github.com/k-krew/argazer
1•kreicer•26m ago•0 comments

Building a high-end, documentation-first API for DualHeart Financial Association

1•DualHeartNEWS•27m ago•0 comments

Different Cultures Pair Food

https://pmc.ncbi.nlm.nih.gov/articles/PMC12026603/
1•jlauf•27m ago•0 comments

Gstack-auto: automated gstack builds with parallelized runs

https://github.com/loperanger7/gstack-auto
1•josh2600•29m ago•1 comments

We built HIGHTITAN instead of using heavy orchestrators

1•HIGHTITAN•34m ago•0 comments

Show HN: AutoBlogWriter – drop-in blog automation SDK for Next.js and React

https://autoblogwriter.app
1•autoblogwriter•37m ago•0 comments

Pulsed High-Power Radio Energy Can Cause Harmful Effects on the Brain (2024)

https://pmc.ncbi.nlm.nih.gov/articles/PMC10914144/
6•greesil•41m ago•0 comments

Cybeetle – AI-powered security scanning and threat intelligence for developers

https://cybeetle.com
1•angeltimilsina•41m ago•1 comments