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•8mo ago

Comments

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

Employees Are Using AI

https://guardianhealth.dev/blog/employees-already-using-ai/
1•rndkeithw•1m ago•0 comments

Show HN: I made 25 tech predictions and mass-published them

1•JoseOSAF•3m ago•0 comments

Show HN: Endless: Run Your Own Social Network

https://github.com/XS-Xspert-Software/Social-Media
1•thegoodduck•14m ago•0 comments

AI Won't Kill Open Source – It Will Amplify It

https://petabridge.com/blog/ai-wont-kill-open-source/
1•alexzeitler•16m ago•0 comments

Sakana AI Agent Wins AtCoder Heuristic Contest (First AI to Place First)

https://sakana.ai/ahc058/
1•davidst•21m ago•0 comments

Extreme Recall: Which Politicians Come to Mind?

https://www.tandfonline.com/doi/full/10.1080/17457289.2025.2474411
1•neehao•23m ago•0 comments

Carjackers swipe biometric Merc, plus owner's finger

https://www.theregister.com/2005/04/04/fingerprint_merc_chop/
3•mysterypie•26m ago•1 comments

The Three AI Bets

https://alearningaday.blog/2026/01/10/the-three-ai-bets/
1•herbertl•26m ago•0 comments

Generating real-time subtitles from YouTube audio (even when captions fail)

https://drive.google.com/drive/folders/1I_z6HjGCVUwgYs1UXlB7sg4nj8Rwfory?usp=sharing
1•techspecs•30m ago•1 comments

Lafferty and Chesterton: Seeing "Through Other Eyes" into "The Weirdest World"

https://bernardus66.substack.com/p/ra-lafferty-and-gk-chesterton-seeing
1•stacktrust•35m ago•0 comments

Starmer rallies international support to take on Musk

https://www.telegraph.co.uk/politics/2026/01/10/musk-accuses-labour-of-being-fascist/
8•beejiu•38m ago•1 comments

Money Is a Technology

https://blog.mempko.com/money-is-a-technology/
3•mempko•40m ago•0 comments

Global ripple effects of corporate tax reforms

https://www.nber.org/papers/w34627
2•hhs•46m ago•0 comments

What are you using today to monitor uptime for small or personal projects?

https://updown.fly.dev/
3•ejncman•52m ago•1 comments

Get Salty [video]

https://www.youtube.com/watch?v=NfxHiT-0inM
3•marysminefnuf•53m ago•1 comments

CES 2026: These 32 Tech Products Made Some of the Biggest Impressions

https://www.cnet.com/pictures/ces-2026-overall-products/
2•SilverElfin•54m ago•0 comments

Carina Hong of Axiom Math at the Neuron

https://www.youtube.com/watch?v=xldMXTPGMGI
1•rasengan0•55m ago•0 comments

Show HN: GlyphLang – An AI-first programming language

10•goose0004•55m ago•4 comments

Show HN: TheTabber – Create, repurpose, and post across 9+ platforms

https://thetabber.com/
1•dibasdauliya•56m ago•0 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

17•jamesponddotco•57m ago•6 comments

Cocopilot: Self-Updating Repository

https://acbart.github.io/cocopilot/
2•acbart•58m ago•1 comments

Disaggregated machine learning via in-physics computing at radio frequency

https://www.science.org/doi/10.1126/sciadv.adz0817
2•gnabgib•1h ago•0 comments

Polymaths: An Argument for Analogies

https://nonzerosum.games/polymaths1.html
1•samixg•1h ago•1 comments

The "Good Will Hunting" Problem in Generative AI

https://medium.com/@chipmunkworks/ai-the-will-hunting-of-our-age-59952c1744f1
2•treelover•1h ago•2 comments

Show HN: Embex – 9K organic downloads in 2 weeks with zero marketing

https://www.bridgerust.dev/embex/introduction/
1•mimchak•1h ago•0 comments

MCP Joins the Linux Foundation

https://github.blog/open-source/maintainers/mcp-joins-the-linux-foundation-what-this-means-for-de...
1•raju•1h ago•1 comments

Private equity firms acquired more than 500 autism centers in past decade: study

https://www.brown.edu/news/2026-01-07/private-equity-autism-centers
72•hhs•1h ago•21 comments

Mapping and editing learned functional geometry inside a CNN (with controls)

https://github.com/boglim1984/functional-geometry-hebbian-manifold
1•boglim1984•1h ago•1 comments

CFT: "sqawk" 0.8.0 – optimized SQL Awk utility with Rust's sqlparser

https://github.com/jgarzik/sqawk/tree/v0.8.0
1•jgarzik•1h ago•1 comments

The da Vinci Code: Quest to Identify Leonardo da Vinci's DNA

https://www.science.org/content/article/have-scientists-found-leonardo-da-vinci-s-dna
1•bookmtn•1h ago•0 comments