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

Comments

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

Upgrading OpenClaw to Latest on Jetson Nano with Node 22

https://brtkwr.com/posts/2026-03-02-upgrading-openclaw-to-latest-node22-on-jetson-nano/
1•thunderbong•57s ago•0 comments

Qwen 3.5: small models with impressive performance

https://twitter.com/Alibaba_Qwen/status/2028460046510965160
1•moondistance•1m ago•0 comments

Show HN: OpenClaw Horror Stories – leaderboard of worst AI agent incidents

https://openclaw-horror-leaderboard.vercel.app
1•bhekanik•5m ago•1 comments

SteptronOss: Lightweight, AI-native training framework for large language models

https://github.com/stepfun-ai/SteptronOss
1•limoce•6m ago•0 comments

Ask HN: How are you structuring Markdown-based context for AI coding agents?

1•lepuski•6m ago•0 comments

Nobody Gets Promoted for Simplicity

https://terriblesoftware.org/2026/03/03/nobody-gets-promoted-for-simplicity/
1•matheusml•7m ago•0 comments

VoxCSS – CSS voxel engine for the DOM

https://voxcss.com
1•robin_reala•8m ago•0 comments

Show HN: LynxPrompt – Self-hostable, federated AI config rules manager

https://github.com/GeiserX/LynxPrompt
2•geiser•8m ago•0 comments

Algorithmic Feeds Need to Be Banned

https://shubhamjain.co/2026/02/25/algorithmic-feeds-need-to-be-banned/
1•shubhamjain•8m ago•0 comments

Addicted to the algorithm – Big Tech lobbies to keep us hooked on social media

https://corporateeurope.org/en/2026/02/addicted-algorithm-0
1•robtherobber•11m ago•0 comments

Show HN: Live Vulnerability Intelligence Dashboard (Trending CVEs)

https://www.leakycreds.com/vulnerability-intelligence
1•saynsec•11m ago•0 comments

Npmx: a fast, modern browser for the NPM registry

https://npmx.dev/blog/alpha-release
2•todsacerdoti•17m ago•1 comments

Anthropic's Killer-Robot Dispute with The Pentagon

https://www.theatlantic.com/technology/2026/03/inside-anthropics-killer-robot-dispute-with-the-pe...
2•helloplanets•17m ago•0 comments

From Abilities to AI Agents: Introducing the WordPress MCP Adapter

https://developer.wordpress.org/news/2026/02/from-abilities-to-ai-agents-introducing-the-wordpres...
1•bph•18m ago•1 comments

Show HN: CryptoMorning – AI crypto briefing via a single Claude.md file

https://plus8bit.github.io/cryptomorning/
1•plus8bit•19m ago•1 comments

.NET Devs: You're Probably Ignoring This Attribute (Stop)

https://www.youtube.com/watch?v=a7Kh8hDd96E
1•aloneguid•19m ago•0 comments

Show HN: Web2cli – Every website is a Unix command

https://github.com/jb41/web2cli
2•michaeloblak•21m ago•1 comments

India's top court angry after junior judge cites fake AI-generated orders

https://www.bbc.com/news/articles/c178zzw780xo
2•tchalla•22m ago•0 comments

Mullvad VPN: Banned TV Ad in the Streets of London [video]

https://www.youtube.com/watch?v=rwhznrpgl7k
6•vanyauhalin•26m ago•1 comments

Show HN: MRSF – A sidecar review format for Markdown (CLI and MCP server)

https://github.com/wictorwilen/MRSF
1•wictorwilen•30m ago•1 comments

OpenAI changes deal with US Military after backlash

https://www.bbc.co.uk/news/articles/c3rz1nd0egro
2•kulor•30m ago•0 comments

Show HN: Building a Globe Viewer When Software Is Cheap

https://github.com/arpentry/arpentry/blob/main/docs/MOTIVATION.md
1•bchapuis•31m ago•1 comments

Data Does Not Speak to You

https://tantaman.com/2026-03-02-data-doesnt-speak.html
1•tantaman•31m ago•0 comments

Legal AI slop is becoming a real problem

https://www.ctinsider.com/connecticut/article/supreme-court-ai-cases-middletown-21950447.php
3•dryadin•33m ago•0 comments

Show HN: Only firewall for AI prompts with a security grade on every PR

https://promptguard.co/
1•acebot712•33m ago•0 comments

Show HN: AI Referral Detector – See which AI sent traffic to your site

https://github.com/Mantasaur/AI-referral-detector
2•grandlaps•33m ago•0 comments

Startup claims it can stop lightning and prevent catastrophic wildfires

https://www.technologyreview.com/2026/03/03/1133848/this-startup-claims-it-can-stop-lightning-and...
1•joozio•33m ago•1 comments

Show HN: Claude Gym – a tiny CLI that nudges you to move while Claude Code runs

1•mosesxu•34m ago•0 comments

SDK code mode shows SotA accuracy and performance for agents using APIs

https://www.stainless.com/blog/sdk-code-mode
1•dgellow•34m ago•0 comments

Even AI agents need a digital detox

https://vibesprings.net
1•Vibeguy900•34m ago•0 comments