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

Crow Watch: A Hacker News Alternative

https://crow.watch
1•medv•14s ago•0 comments

Analysis of Ninth Circuit Allows TOS Amendment by Email–Ireland-Gordy vs. Tile

https://blog.ericgoldman.org/archives/2026/03/ninth-circuit-allows-tos-amendment-by-email-ireland...
1•hazzamanic•1m ago•0 comments

Terence Tao: Formalizing a proof in Lean using Claude Code [video]

https://www.youtube.com/watch?v=JHEO7cplfk8
1•helloplanets•2m ago•0 comments

Apple: The first 50 years, CBS Sunday Morning [video]

https://www.youtube.com/watch?v=7bA2w7uwUbs
1•oldnetguy•6m ago•0 comments

NSF National Deep Inference Fabric

https://ndif.us/
1•pramodbiligiri•8m ago•0 comments

CorridorKey – Perfect Green Screen Keys

https://github.com/nikopueringer/CorridorKey
1•h4kor•12m ago•0 comments

Shockwave Player Reimplemented in Rust and WASM

https://github.com/igorlira/dirplayer-rs
2•njaremko•14m ago•0 comments

How to win slots and influence people

https://www.bloomberg.com/features/2026-stake-drake-crypto-casino-adin-ross-gambling/
3•simonebrunozzi•16m ago•0 comments

Ask HN: Where do all the laid off devs hang out?

2•fud101•18m ago•0 comments

Set-OutlookSignatures v4.26.0 support for M365 sovereign clouds

https://set-outlooksignatures.com/
1•explicitcons•20m ago•1 comments

Show HN: TrustScan – Simplify privacy policies and audit GDPR compliance

https://trustscan.dev
1•hafizjavid•21m ago•1 comments

Every business will have AGI by 2027

https://nuggetz.ai/articles/every-business-will-have-agi-by-2027
4•ezisezisezis•24m ago•0 comments

Show HN: Marketing Content Generator AI-powered multi-channel content platform

https://devpost.com/software/marketing-content-generator-ch4p2q
3•gaborishka•25m ago•0 comments

Show HN: I built a mini PowerBI for tech comps with no dev experience with Codex

https://gotham-web.onrender.com/
1•muhneesh•27m ago•0 comments

Fontcrafter: Turn Your Handwriting into a Real Font

https://arcade.pirillo.com/fontcrafter.html
1•rendx•28m ago•0 comments

Show HN: cursor-tg – Run Cursor Cloud Agents from Telegram

https://github.com/tb5z035i/cursor-tg
1•tb5z035i•31m ago•0 comments

MoltBrowser MCP

https://github.com/Joakim-Sael/moltbrowser-mcp
2•geobotPY•32m ago•1 comments

Show HN: FretBench – I tested 14 LLMs on reading guitar tabs. Most failed

https://fretbench.tymo.ai/blog/i-asked-14-ai-models-to-read-guitar-tabs/
1•jmcapra•32m ago•0 comments

Show HN: NirvaCrop – Offline Python tool for batch video cropping

https://nirvasoft.gumroad.com/l/ffdoc
1•Ashwiniakash•33m ago•1 comments

A sneak preview behind an embedded software factory. I suspect "rad" is back

https://ghuntley.com/rad/
1•ghuntley•40m ago•0 comments

Sumi – Open-source voice-to-text with local AI polishing

2•alkd•40m ago•0 comments

Show HN: U-Claw – An Offline Installer USB for OpenClaw in China

https://www.u-claw.org/
1•17vibe•42m ago•0 comments

Replaced by a Goldfish

https://clawd.it/posts/10-replaced-by-a-goldfish/
4•patrikgro•45m ago•0 comments

Why AI Agents Need Email Guardrails

https://molted.email/blog/why-ai-agents-need-email-guardrails
2•spacesh1psoda•45m ago•0 comments

SQLite: Query Result Formatting in the CLI

https://www.sqlite.org/climode.html
1•thunderbong•47m ago•0 comments

Seedance2.0 and OmniVideo: AI video creation from text and images – experiences?

1•hongxiao•48m ago•0 comments

Kairos – real-time AI that cross-verifies news before answering (Python, 90KB)

1•joshuaveliyath•50m ago•0 comments

A short guide to email opening lines

https://www.economist.com/business/2026/03/05/a-short-guide-to-email-opening-lines
1•petethomas•53m ago•0 comments

MiniMax Music 2.5 – AI Music Generation Model for Fast Song Creation

https://www.minimax-music.com/minimax-music-2-5
2•cy20251210•54m ago•1 comments

Is Europe's AI Darling Mistral Becoming a Consultant?

https://www.bloomberg.com/news/newsletters/2026-03-03/europe-s-ai-darling-mistral-looks-more-like...
2•flawn•55m ago•1 comments