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

Despite Denial, Trump Was Told on Trip to China About Spying on Nvidia Leader

https://www.nytimes.com/2026/11/10/us/politics/trump-china-trip-nvidia.html
1•vrganj•1m ago•1 comments

Why most crypto track records mislead [pdf]

https://aevumprotocol.io/papers/did-they-call-it.pdf
1•Quinte2885•2m ago•0 comments

What if I had bought Apple stock with every iPhone?

https://www.seriousaboutech.com/2026/11/iphoneapplestocks.html
1•janandonly•3m ago•0 comments

Show HN: Wordout, an open-source daily word game with no server

https://dilippanicker.github.io/wordout/play/
1•onglipo•10m ago•0 comments

Show HN

https://github.com/msbayindir/panosync
2•msefabayindir•11m ago•0 comments

Connecting identity lifecycle to cryptographic key management

https://github.com/lecodev-26/nexus-q
1•lecodev•12m ago•0 comments

Walk in Bengaluru Traffic

https://www.bengaluruwalk.wtf/
1•josharsh•13m ago•1 comments

Elon Musk says it would be an honor to hire Jensen Huang

https://www.bloomberg.com/news/articles/2026-11-12/elon-musk-says-it-would-be-an-honor-to-hire-nv...
2•amelius•16m ago•2 comments

29M Japanese Buildings

https://tech.marksblogg.com/japanese-building-footprints.html
1•marklit•16m ago•0 comments

Weird licenses and the new open source

https://dustri.org/b/weird-licenses-and-the-new-open-source.html
1•birdculture•16m ago•0 comments

Show HN: Open-source animated UI icons your coding agent can add to

https://generativeicons.com/
1•reallynattu•21m ago•0 comments

Ring launches a home security drone and an enterprise security robot

https://techcrunch.com/2026/11/10/ring-known-for-its-doorbell-cameras-launches-a-home-security-dr...
2•edward•23m ago•1 comments

Show HN: Veshell – Your Linux apps on a map, not on a desktop

https://free-explorers.com/veshell
1•PapyElGringo•25m ago•0 comments

I gave an AI a week to make something interesting or I switch it off

https://lira-ia.github.io/
1•nantignolo•28m ago•1 comments

Zpq 0.5.2 – optimized Parquet locally or in S3 with Zig

https://github.com/chicagobuss/zpq/releases/tag/v0.5.2
1•chicagobuss•29m ago•1 comments

DeepL unveils Aure, its most lifelike Voice AI translation model yet

https://www.deepl.com/en/press-release/aure-voice-ai-model
2•ngruhn•31m ago•0 comments

I matched Opus 4.5 on ARC-2 with a 100M looped transformer that never saw text

https://mvakde.github.io/blog/looped-mdlarc/
2•evilmathkid•31m ago•0 comments

AWS Emulator

https://docs.aws.amazon.com/emulator/
1•BerislavLopac•34m ago•2 comments

AI Customer Driven Development

https://chohaninsight.com/blog/ai-customer-driven-development/
1•nlake44•37m ago•0 comments

For my first post, I'm sharing a letter Nvidia signed on why open models matter

https://twitter.com/JensenHuang/status/2080643682408321103
2•espeed•39m ago•1 comments

Show HN: Pure-sift – 100% pure-Rust implementation of expired SIFT patent

https://github.com/dannkkie/pure-sift
1•dannkkie•41m ago•0 comments

Adobe Project Deep Brush

https://labs.adobe.com/sneaks/deep-brush
3•charan354•43m ago•0 comments

Show HN: EmailDJ – track tasks and follow-ups from email

https://app.emaildj.com/?preview=embed
1•olllo•44m ago•0 comments

Show HN: A private one-time paid alternative to Text Blaze

https://simplefill.app
2•rampatra•44m ago•3 comments

Speed Restrictions are being imposed on Starshield in Ukraine again

https://twitter.com/ZelenskyyUa/status/2120804738031616095
2•defly•45m ago•0 comments

Google gooses Python AI performance by... removing Python

https://www.theregister.com/devops/2026/11/11/google-gooses-python-ai-performance-by-removing-pyt...
1•pjmlp•47m ago•0 comments

Pi GPUI: A native GUI for the pi coding agent, built with Rust and GPUI.

https://pi-gpui.dev
4•bytesbay•52m ago•0 comments

Show HN: A better alternative to Monarch, mint,YNAB

https://finbudget.app/
1•heyykk23•52m ago•0 comments

China's Spy Machine Isn't as Clever as You Think (Nvidia Scandal)

https://yinfi.substack.com/p/chinas-spy-machine-isnt-as-clever
2•ScottBurson•56m ago•1 comments

Show HN: ShanHaiGateway – multi-upstream LLM gateway in Go

https://github.com/ffseika0304/shanhai-gateway
2•ffseika0304•57m ago•1 comments