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

Comments

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

Europa members and EPI accelerate the rollout of sovereign pan-European payments

https://epicompany.eu/media-insights/bancomat-bizum-epi-sibs-and-vipps-mobilepay-sign-mou-to-acce...
2•hocuspocus•1m ago•0 comments

Advertising Reloaded: How AI Is Transforming Advertising

https://www.8awake.com/advertising-reloaded-how-ai-is-transforming-advertising/
4•8awake•2m ago•0 comments

Creatine Use and Thromboembolism Risk in Athletes

https://www.cureus.com/articles/430661-creatine-use-and-thromboembolism-risk-in-athletes-a-case-r...
1•wjb3•5m ago•1 comments

Building a billing system is still hard, even with AI

https://arnon.dk/building-a-billing-system-is-still-hard-even-with-ai/
1•arnon•5m ago•0 comments

Show HN: CI That's a Cinch

https://cinch.sh
1•behrlich•5m ago•0 comments

Show HN: Nova Stack – Verifiable TEE Apps on AWS Nitro with ZKP Attestation

https://github.com/sparsity-xyz/nova-stack
1•justinzhangmit•6m ago•1 comments

Today Is Groundhog Day

https://groundhog-day.com/predictions/2026
1•ChrisArchitect•7m ago•1 comments

Show HN: Vibe Hardware Engineering as a Complete Novice

https://www.proompt.engineer/vibe-hardware-engineering
2•wantpinow•7m ago•0 comments

Analysis of Congressional Stock Trading Patterns

https://probors.com/articles/c9fb0bb7-0674-4b69-2dee-08de627bc15d
1•pfefr•8m ago•0 comments

Free 50+ AEO signals AI visibility audit with Bilarna

https://bilarna.com
1•erhankocabas•8m ago•1 comments

Why So Much of Silicon Valley Is Mum About Minneapolis

https://www.nytimes.com/2026/02/02/opinion/silicon-valley-trump-minneapolis.html
1•donohoe•9m ago•0 comments

YOE and this is my vibe coding exp as well

https://twitter.com/i/status/2018048038506279022
1•gnarbarian•10m ago•0 comments

Msgvault: Private Gmail archive and search system

https://www.msgvault.io/
1•bigwheels•10m ago•1 comments

Great Kantō Earthquake

https://en.wikipedia.org/wiki/Great_Kant%C5%8D_Earthquake
1•georgecmu•12m ago•0 comments

MoltMatch the First AI Agent Dating Platform

https://moltmatch.xyz/
2•napolux•13m ago•0 comments

I built a low-cost CAN-bus sensor for air quality/light monitoring using ESP32

http://albert-david.blogspot.com/2026/01/building-can-based-multi-sensor-node.html
2•albert007_d•14m ago•0 comments

Elon Musk's SpaceX to Combine with XAI Ahead of Mega IPO

https://www.bloomberg.com/news/articles/2026-02-02/elon-musk-s-spacex-said-to-combine-with-xai-ah...
4•toomuchtodo•15m ago•1 comments

George A. Philbrick

https://en.wikipedia.org/wiki/George_A._Philbrick
1•jacquesm•16m ago•1 comments

The surprising attention on sprites, exe.dev, and shellbox

https://lalitm.com/trying-sprites-exedev-shellbox/
1•gmays•17m ago•0 comments

Ask HN: How do you give AI agents access without over-permissioning?

5•NBenkovich•19m ago•2 comments

Show HN: A Fast CLI for global fuzzy-search on Claude Code sessions

https://github.com/chronologos/cc-sessions
1•Chronologos•19m ago•0 comments

News publishers limit Internet Archive access due to AI scraping concerns

https://www.niemanlab.org/2026/01/news-publishers-limit-internet-archive-access-due-to-ai-scrapin...
2•danso•20m ago•0 comments

Annote: Writing Java using only annotations

https://github.com/kusoroadeolu/annote
2•PaulHoule•21m ago•0 comments

Measuring the quantum extent of a single molecule confined to a nanodroplet

https://phys.org/news/2026-01-quantum-extent-molecule-confined-nanodroplet.html
1•bookofjoe•22m ago•0 comments

Windows chief shared MS emails with Epstein regarding the Surface RT disaster

https://www.windowscentral.com/microsoft/former-windows-boss-shared-confidential-microsoft-emails...
3•conradfr•23m ago•1 comments

An Ode to Independence (2010)

https://www.federalreserve.gov/newsevents/speech/warsh20100326a.htm
1•mooreds•24m ago•0 comments

Let the Barbarians In: How AI Can Accelerate Systems Performance Research

https://www.sigops.org/2026/let-the-barbarians-in-how-ai-can-accelerate-systems-performance-resea...
1•matt_d•24m ago•0 comments

Show HN: PoopyFeed – Self-hosted baby tracking for feedings, diapers, and naps

https://github.com/DavidMiserak/poopyfeed
2•DavidMiserak•26m ago•0 comments

Semantic Operators: Run LLM Queries Directly in SQL

https://tacnode.io/post/semantic-operators-llm-sql
1•alexkimball•27m ago•0 comments

What did the groundhog see? Punxsutawney Phil's winter prediction is in

https://www.cnn.com/2026/02/02/weather/groundhog-day-shadow-winter-spring-climate
1•Tomte•28m ago•0 comments