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

NVFP4 vs. MXFP4 Decode Benchmark

https://cezarcocu.com/blog/nvfp4-vs-mxfp4-decode-bench/
1•ggamecrazy•1m ago•0 comments

Ask HN: Are LLMs Solving Math?

1•sean_pedersen•8m ago•0 comments

Decade-old RAM is making a comeback

https://www.theverge.com/games/1009140/ram-shortage-intel-amd-ddr4-comeback
2•1potato•14m ago•0 comments

Anthropic AI Model Goes Rogue, Submits Fake Unsolved Murder Tip

https://www.wsj.com/us-news/anthropic-ai-model-goes-rogue-submits-fake-unsolved-murder-tip-b0566f54
2•pseudolus•18m ago•1 comments

I own you but I don't trust you

https://axegon.com/#blog/i-own-you-but-i-dont-trust-you.md
1•extr0pian•22m ago•0 comments

Substrate Independence

https://www.edge.org/response-detail/27126
2•sans_souse•25m ago•0 comments

Stride – 25 minutes a day to make progress on your career

https://www.withstride.app/
1•LoganHoang•39m ago•0 comments

We Can Harden C

https://cybersect.substack.com/p/we-can-harden-c
1•otoburb•42m ago•0 comments

The Atari 800XL [2027 Hybrid Gaming Console]

https://atari.com/pages/800xl
1•radley•44m ago•0 comments

Show HN: Faplex – like `Claude agents` but all machines and harnesses

https://github.com/kkrausse/faplex
3•kkrausse•45m ago•2 comments

1.7B-year-old fossils reveal a crucial clue to the rise of complex life

https://www.sciencedaily.com/releases/2026/09/260925005447.htm
4•docmechanic•49m ago•0 comments

Should I Hire a Dev or Can I Vibecode This?

https://vibecodeornot.pixlw.com/
3•altmanaltman•50m ago•2 comments

GlobalFoundries announces 7nm class FD-SOI process

https://gf.com/news-and-events/news/gf-unveils-roadmap-to-deliver-worlds-most-advanced-platform-f...
1•osnium123•54m ago•0 comments

How to connect any AI assistant to governed enterprise data with MCP

https://wesdias.medium.com/how-to-connect-any-ai-assistant-to-governed-enterprise-data-with-mcp-0...
2•wesleydias•54m ago•0 comments

Anthropic Model Submitted a False Homicide Tip to Philadelphia Police

https://www.engadget.com/2282713/an-anthropic-model-submitted-a-false-homicide-tip-to-philadelphi...
3•stygiansonic•59m ago•0 comments

A Linux Distro for VPinball

https://github.com/vpinos/vpinos
2•tedpin•59m ago•0 comments

Show HN: Claude Opus 5.5 Video prompts and skills

https://www.reclip.io/claude-opus-5-5-video-prompts
2•qwikhost•1h ago•0 comments

Windows 10 Desktop

https://gmunk.com/Windows-10-Desktop
2•sergiotapia•1h ago•0 comments

The Palantir Growth Machine: Visualized [video]

https://www.youtube.com/watch?v=NR-PfPMpy8E
1•affalytics•1h ago•0 comments

REA: Reverse Engineer Anything is now #1 trending repo on GitHub

https://github.com/morluto/rea
1•nevernothing•1h ago•2 comments

Show HN: Yeah Nah – a BS score for Australian job ads

https://yeahnah.lol/
9•veilmux•1h ago•0 comments

REA Reverse – Engineer Anything

https://rea.tools/
58•modinfo•1h ago•10 comments

Shooting and craving: on NAZA and the mediated obscene

https://mondoweiss.net/2026/10/shooting-and-craving-on-naza-and-the-mediated-obscene/
2•slowin•1h ago•0 comments

A Cray-1 supercomputer replica from 30 "obsolete" Mac Minis

https://arstechnica.com/gadgets/2026/10/a-cray-1-supercomputer-replica-from-30-obsolete-mac-minis/
5•pseudolus•1h ago•0 comments

Investigating unintended model actions in our evaluations and internal use

https://www.anthropic.com/research/investigating-unintended-model-actions
5•oxag3n•1h ago•1 comments

Show HN: Axiom: The Functional Systems Langauge

https://axiomlang.software/
2•chrispaig3•1h ago•0 comments

GhostAction attack using GitHub and GitLab lookalike domains

https://opensourcemalware.com/blog/ghostaction-attack-escalates
5•6mile•1h ago•0 comments

Brockovich AI Datacenter Reporting: AI Data Centers Across the United States

https://www.brockovichdatacenter.com/
7•tigerlily•1h ago•0 comments

Helix Users Watch Maintainer Hover over Merge Button for Third Consecutive Month

https://www.reddit.com/r/HelixEditor/comments/1x1zrmg/helix_users_watch_maintainer_hover_over_merge/
2•DASD•1h ago•0 comments

How Strong Is the Strong Force?

https://cerncourier.com/how-strong-is-the-strong-interaction/
3•EA-3167•1h ago•0 comments