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

Robinhood Agent Integration

https://github.com/kevin1chun/rh-for-agents
2•kevin1chun•7m ago•1 comments

Show HN: FizzBuzz Forever – Agent Edition

https://github.com/dleemiller/fizzbuzz-forever
1•deepsquirrelnet•12m ago•0 comments

T9 in the Terminal for Codex, Claude, Gemini

https://github.com/Xsamsx/T9T
1•kyivctoner•16m ago•1 comments

Writing my own text editor, and daily-driving it

https://blog.jsbarretto.com/post/text-editor
2•todsacerdoti•16m ago•0 comments

Why Systems Optimized for Metrics Eventually Drift from Reality [pdf]

https://offbrandguy.com/wp-content/uploads/2026/03/optimization-trap-reality-drift-framework-2023...
1•realitydrift•17m ago•1 comments

Show HN: OpenClaw skill for think-tank style analysis of crises like Iran war

https://github.com/vassiliylakhonin/global-think-tank-analyst
1•vassilbek•20m ago•0 comments

Ask HN: What are some good lectures or talks like this one? [pdf]

https://www.labouseur.com/projects/codeReckon/papers/The-Emperors-Old-Clothes.pdf
1•jdironman•23m ago•1 comments

New Design for Firefox.com

https://www.firefox.com/en-US/
2•pentagrama•31m ago•0 comments

Recursive Problems Benefit from Recursive Solutions

https://jnkr.tech/blog/recursive-benefits-recursive
2•luispa•33m ago•0 comments

Lovable I.A Credits at a Discount

https://mestredalovable.lovable.app/
1•Sebastiao_Tatu•37m ago•1 comments

How HN: Specwatch – Generate OpenAPI specs by watching live API traffic

https://github.com/rajeevramani/specwatch
1•rajeevramani•41m ago•1 comments

Storm [video]

https://www.youtube.com/watch?v=HhGuXCuDb1U
1•nomilk•44m ago•0 comments

Zig – Type Resolution Redesign and Language Changes

https://ziglang.org/devlog/2026/#2026-03-10
5•Retro_Dev•55m ago•0 comments

The tests are the code now

https://softwaredoug.com/blog/2026/03/10/the-tests-are-the-code-now.html
5•zdw•56m ago•0 comments

Show HN: Assemble – Claude Code skill for parallel AI team execution

https://github.com/LakshmiSravyaVedantham/assemble
1•sravyavedantham•59m ago•0 comments

Breaking Control Flow Integrity by Abusing Modern C++ (Coroutines) – BH USA 2025 [video]

https://www.youtube.com/watch?v=hxIPoi4ONNA
2•matt_d•1h ago•0 comments

Show HN: ImageHost.ing – burn-after-reading image host on Cloudflare's free tier

https://imagehost.ing
1•lzy•1h ago•0 comments

Show HN: Polymorph (YC W26) – AI personalization for consumer app engagement

https://usepolymorph.com/
1•andrewsy•1h ago•0 comments

The Highly Exclusive Way That Everybody Shops Now

https://www.theatlantic.com/culture/2026/03/shopping-drop-exclusive-selling-out/686308/
2•paulpauper•1h ago•2 comments

Programming the Loop

https://ianbarber.blog/2026/03/10/programming-the-loop/
1•matt_d•1h ago•0 comments

Terence Tao had a paper rejected

https://mathstodon.xyz/@tao/113721209277409929
3•paulpauper•1h ago•1 comments

Ask HN: How do you review gen-AI created code?

3•captainkrtek•1h ago•3 comments

Pristan: The simplest way to create a plugin infrastructure in Python

https://github.com/mutating/pristan
2•pomponchik•1h ago•0 comments

Pact – contracts-first multi-agent coding (212/212 ICPC vs. 79-92% Claude Code)

https://jmcentire.github.io/pact/
2•jmcentire2025•1h ago•0 comments

VPNs surge in Australia as mandatory age verification for adult content begins

https://www.techradar.com/vpn/vpn-privacy-security/vpns-surge-in-australia-as-mandatory-age-verif...
2•reassess_blind•1h ago•1 comments

xAI wins permit to build power plant in Mississippi despite pollution concerns

https://www.cnbc.com/2026/03/10/elon-musk-xai-permit-for-mississippi-plant-despite-pollution-conc...
2•spenvo•1h ago•2 comments

The No World Order: Meir Kahane, Netanyahu, Trump, and the War Beyond Iran

https://sarahkendzior.substack.com/p/the-no-world-order
3•hkhn•1h ago•0 comments

Show HN: ULLI – A Linux installer without a live USB flash drive

https://github.com/rltvty2/ulli
1•AlOwain•1h ago•0 comments

NYC considers increasing minimum wage to $30 by 2030

https://ny1.com/nyc/all-boroughs/mornings-on-1/2026/03/10/city-council-considers-increasing-minim...
2•geox•1h ago•1 comments

Show HN: Readhn – AI-Native Hacker News MCP Server (Discover, Trust, Understand)

https://github.com/xodn348/readhn
2•xodn348•1h ago•0 comments