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

Comments

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

Hermes.md in Git commit messages causes requests to route to extra usage billing

https://github.com/anthropics/claude-code/issues/53262
1•adunk•6m ago•0 comments

Show HN: Bulk URL Checker – check 75k URLs from any LLM via MCP

https://bulkurlchecker.com
1•carlosofscience•7m ago•1 comments

The Lunar Gateway's primary modules are corroded

https://arstechnica.com/space/2026/04/well-this-is-embarrassing-the-lunar-gateways-primary-module...
2•simonebrunozzi•7m ago•0 comments

Greenfield and Iterative deployment – By superpowers creator

https://primeradiant.com/blog/2026/greenfield-and-iterative-development.html
1•sorcercode•9m ago•0 comments

Show HN: I benchmarked how good LLMs are at proofreading English

https://github.com/reviseio/errata-bench
1•artursapek•11m ago•0 comments

Turkey to Ban Anonymous VPNs

https://reclaimthenet.org/turkey-to-ban-anonymous-vpns
1•Cider9986•11m ago•0 comments

Show HN: Read and Echo – Turn any text into structured language practice

2•jondones•15m ago•0 comments

Paperclip – a ticket-based multi AI agent orchestrator

https://github.com/paperclipai/paperclip
1•Flundstrom2•16m ago•0 comments

Three Constraints Before I Build Anything

https://jordanlord.co.uk/blog/3-constraints/
1•nervous_north•17m ago•0 comments

Observational constraints project a ~50% AMOC weakening by end of this century

https://www.science.org/doi/10.1126/sciadv.adx4298
1•geox•18m ago•0 comments

Today's harness is Tomorrow's Prompt

https://tanay.co.in/blog/todays-harness-is-tomorrows-prompt
2•tangoalpha•20m ago•0 comments

Show HN: Mdspec – auto sync your md files from GitHub repos with wikis

https://mdspec.dev
2•zameermfm•20m ago•0 comments

Show HN: Get an Ethereum wallet for your agent with one API call, no OAuth

https://aethergent.com
2•AgentNews•22m ago•1 comments

A Common Diabetes Drug May Hold the Key to Stopping HIV from Coming Back

https://scitechdaily.com/a-common-diabetes-drug-may-hold-the-key-to-stopping-hiv-from-coming-back/
3•01-_-•25m ago•1 comments

Different Perspectives of Memory System Simulation

https://arxiv.org/abs/2604.16965
2•matt_d•27m ago•0 comments

Are We in Control of AI?

https://members.sigmazero.cc/posts/are-we-in-of-ai-156344301
2•sigmazero•27m ago•0 comments

Claude Web UI is down

https://claude.ai/recents
4•zkmon•28m ago•2 comments

AI agents that argue with each other to improve decisions

https://github.com/rockcat/HATS
2•rockcat12•28m ago•0 comments

US says it's hunting for explosive mines in latest push to open Hormuz

https://apnews.com/article/iran-war-strait-hormuz-minesweeping-navy-underwater-edef3201f6e227c4b5...
2•m_nathan•28m ago•1 comments

Hypertalking

https://www.hypertalking.com/
4•doener•31m ago•0 comments

Govee's new rechargeable table lamp is less than half the price of Hue's

https://www.theverge.com/tech/915959/govee-table-smart-lamp-classic-battery-rechargeable-matter-p...
2•01-_-•32m ago•0 comments

California Coastal Community Must Reject CBP's AI-Powered Surveillance Tower

https://www.eff.org/deeplinks/2026/04/california-coastal-community-must-reject-cbps-ai-powered-su...
3•Brajeshwar•32m ago•0 comments

The Quiet Resurgence of RF Engineering

https://atempleton.bearblog.dev/quiet-resurgence-of-rf-engineering/
2•merlinq•32m ago•0 comments

Last Rounds? Status of Key Munitions at the Iran War Ceasefire

https://www.csis.org/analysis/last-rounds-status-key-munitions-iran-war-ceasefire
2•Teever•33m ago•0 comments

Show HN: Quay – Menu-bar Git sync

https://code.sailorslog.io/quay
3•sailingcode•34m ago•0 comments

Show HN: MockHop – capture and annotate web pages on macOS

https://bendansby.com/apps/mockhop.html
2•webwielder2•36m ago•0 comments

Earliest octopuses were giant top predators in Cretaceous oceans

https://www.science.org/doi/10.1126/science.aea6285
3•marojejian•36m ago•1 comments

Vorim.ai, Identity and trust layer for AI agents

https://vorim.ai/
2•kwamzino007•37m ago•0 comments

Anthropic: How we built our multi-agent research system

https://www.anthropic.com/engineering/multi-agent-research-system
2•theorchid•39m ago•0 comments

This To That: Because people have a need to glue things to other things

https://www.thistothat.com/
3•mhb•41m ago•0 comments