frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://t128n.github.io/routr/
2•trbndev•1y ago

Comments

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

Investigating why RustCrypto is slow: deep dive into SIMD instructions

https://kerkour.com/rustcrypto-slow-simd-rust
1•cold_pizz4•1m ago•0 comments

Lawmakers probe growing use of Chinese AI models in U.S. companies

https://www.cnbc.com/2026/07/08/chinese-ai-models-probe-us-lawmakers.html
1•yogthos•2m ago•0 comments

From cloning to gene-editing: the enduring legacy of Dolly the sheep

https://www.nature.com/articles/d41586-026-02096-1
1•bookofjoe•3m ago•0 comments

Professor Lange and team contribute to standard for post-quantum cryptography

https://www.tue.nl/en/news-and-events/news-overview/26-06-2026-professor-tanja-lange-and-team-con...
2•u1hcw9nx•3m ago•0 comments

Show HN: Clapstorm – a free product launch board with no paid placement

https://www.clapstorm.com/
1•Bradd3rs•4m ago•0 comments

Show HN: A Windows Desktop Pet for Claude Code, in PowerShell/Win32

https://github.com/SHIN620265/claude-pet
1•shin620265•5m ago•0 comments

Show HN: Dreamer – Mine your agent sessions for corrections you keep repeating

https://github.com/whistler/dreamer
1•ibmmmm•5m ago•0 comments

AI alignment research is unintentionally building a censor's toolkit

https://s-ball-10.github.io/censors-toolkit/
1•thinkzilla•6m ago•0 comments

What Nobody Explains About Debezium in 2026 (But Should)

https://debezium.io/blog/2026/05/22/what-nobody-explains-about-debezium-2026/
1•b-man•7m ago•0 comments

Is Life Just Different?

https://www.quantamagazine.org/is-life-just-different-20260708/
1•Tomte•7m ago•0 comments

UK Farage's election gamble could see him face one challenger Count Binface

https://www.reuters.com/world/uk/uk-farages-election-gamble-could-see-him-face-one-challenger-cou...
2•Tomte•8m ago•0 comments

Low Birth Rate Risks Creating US Housing Glut over Coming Decade

https://www.bloomberg.com/news/articles/2026-07-08/low-birth-rate-risks-creating-us-housing-glut-...
2•toomuchtodo•9m ago•1 comments

American Express launches NFTs in 2026

https://www.americanexpress.com/en-us/web3/passport/
1•runamuck•10m ago•0 comments

Kids (With Phones) Are Alright

https://heatherburns.tech/2026/07/08/the-kids-with-phones-are-alright/
1•speckx•13m ago•2 comments

Show HN: Abralo – Manage several Claude Code agents in one window

https://abralo.com/
1•cwbuilds•13m ago•1 comments

Venus Aerospace raises $91M to advance its revolutionary rocket engine design

https://www.space.com/technology/revolutionary-rocket-engine-company-venus-aerospace-raises-usd91...
2•rbanffy•16m ago•0 comments

ArticleOne – a daily tech briefing app

https://articleone.news/
1•ethanjamesfox•17m ago•0 comments

Measuring and improving AI-generated UI design

https://softlight.com/blog/measuring-and-improving-ai-generated-ui-design
2•ashwin153•17m ago•0 comments

Show HN: BrAIn, reactive AI agent nodes on a NATS bus instead of a chat loop

https://github.com/tibzejoker/brAIn
1•tibzejoker•18m ago•0 comments

Start with A – Open-source, self-hosted investment research platform (BYOK AI)

https://github.com/warlock20/StartWithA
1•warlock_20•18m ago•0 comments

OpenAI/YC, Netflix, Michaels and Apollo

https://www.marginpoints.com/issues/2026-07-07-openai-yc-netflix-michaels-apollo
1•historian1066•18m ago•0 comments

A free Claude skill that turns one blog post into 3 ready-to-publish posts

https://github.com/alexmendo25703-hub/content-repurposer-lite
1•Creator_Forge•20m ago•1 comments

Show HN: RepoFleet – A CLI to manage Git workflows across multiple repositories

https://github.com/mehranzand/repofleet
1•mehranzand•20m ago•0 comments

LLM-wiki-tags: LLM-readable codebase docs with grep-friendly tags

https://github.com/mpashka/llm-wiki-tags
1•m_pashka•24m ago•0 comments

Anyone here with an "in" with eBay?

13•ColinWright•24m ago•3 comments

Are all evils caused by insufficient knowledge?

https://www.bretthall.org/blog/are-all-evils-are-caused-by-insufficient-knowledge
3•jxmorris12•25m ago•1 comments

Waterfall CAD Playground: Haskell-Powered Programmable CAD in Browser with WASM

https://doscienceto.it/waterpark/
1•birdculture•25m ago•0 comments

German Exit Tax: What to Do Before Your First Funding Round

https://eidel.io/posts/german-exit-tax-what-to-do-before-your-first-funding-round
3•olieidel•26m ago•0 comments

Digital show and tell: how digital audio signals behave in the real world

https://wiki.xiph.org/Videos/Digital_Show_and_Tell
1•fanf2•26m ago•0 comments

Quilt: Run many AI coding agents in one Git checkout

https://github.com/wkoverfield/quilt
1•wkoverfield•27m ago•0 comments