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

I gave an AI autonomous tools 6 weeks ago. Here's the record she's been keeping

https://ravennest.science
1•larklaflamme•6s ago•1 comments

Sciwrite-Lint: Verification Infrastructure for the Age of Science Vibe-Writing

https://arxiv.org/abs/2604.08501
1•wb14123•54s ago•0 comments

Quiche Customizable Browser

https://quiche.industries/browser/
1•evo_9•1m ago•0 comments

Annotation is all you need

https://www.scorecard.io/blog/annotation-is-all-you-need
1•yash1hi•2m ago•0 comments

Show HN: Uninum – All elementary functions from a single operator in Python

https://github.com/Brumbelow/uninum
1•brumbelow•4m ago•1 comments

Gagan Biyani: how I feel about Udemy's sale to Coursera

https://twitter.com/gaganbiyani/status/2044092914582822936
1•nadis•5m ago•0 comments

BankToCSV – Convert bank statement PDFs to clean CSVs

https://banktocsv.vercel.app
1•pixelpushr•6m ago•0 comments

EIU Democracy Index 2025: democracy stabilises after eight years of decline

https://www.economistgroup.com/press-centre/economist-enterprise/eiu-democracy-index-2025-democra...
1•Bondi_Blue•6m ago•0 comments

Researchers Asked LLMs for Strategic Advice. They Got "Trendslop" in Return

https://hbr.org/2026/03/researchers-asked-llms-for-strategic-advice-they-got-trendslop-in-return
2•cdrnsf•7m ago•0 comments

Is GitHub Down Again?

1•codehead•8m ago•0 comments

The Wisdom of the People's Computer Company

https://arbesman.substack.com/p/the-wisdom-of-the-peoples-computer
1•arbesman•11m ago•0 comments

Tesla FSD Europe launch backlash: HW3 owners launch claim site

https://electrek.co/2026/04/14/tesla-fsd-europe-hw3-owners-dutch-claim/
1•breve•12m ago•0 comments

Show HN: ContextPack – CLI that maps any codebase into ranked context

https://github.com/Sashank006/Context-Engine
1•Sashank06•12m ago•0 comments

Zelensky: Ukraine's defense industry can produce FPV drones annually

https://www.ukrinform.net/rubric-defense/4112129-zelensky-ukraines-defense-industry-can-produce-m...
1•doener•15m ago•0 comments

Comparison of Payment Methods

https://eylenburg.github.io/payments.htm
1•Cider9986•15m ago•0 comments

Terminator: Code You See Onscreen [video]

https://www.youtube.com/watch?v=NebvccLHutQ
1•ingve•16m ago•0 comments

Data Discovery – plain-English to discovering and acquiring data using AI

https://datris.ai/videos/data-discovery-ingestion-consumption
1•tfearn•16m ago•1 comments

Patches for Linux 7.1 May Have Negative Impact on 32-Bit Systems

https://www.phoronix.com/news/Linux-7.1-VFS-Kino-32-bit
1•doener•17m ago•0 comments

How to diagnose RAG failures from traces

https://www.siquick.com/blog/diagnose-rag-failures-from-traces
1•siquick•24m ago•0 comments

Did games really get more costly to make?

https://newsletter.hushcrasher.com/p/did-games-really-get-more-costly
1•juliebelz•26m ago•1 comments

Stack Overflow moderator publicly leaks private flagger information

https://meta.stackoverflow.com/questions/438679/why-is-a-moderator-harassing-me-about-an-answer-i...
4•hskdididn•27m ago•1 comments

Are ClickHouse JOINs Slow? A 2026 PR-by-PR Analysis

https://dataanalyticsguide.substack.com/p/clickhouse-join-performance-2026
1•manveerc•29m ago•0 comments

Sandyaa: Recursive-LLM source code auditor that writes exploitable PoCs

https://github.com/securelayer7/sandyaa
1•sandeep_kamble•30m ago•1 comments

How Not to 'Pilet' a Kickstarter

https://c33tech.com/blog/2026/04/how_not_to_pilet_a_kickstarter/
1•mikeflynn•31m ago•0 comments

Michael O. Rabin has passed away

https://en.wikipedia.org/wiki/Michael_O._Rabin
2•statusreport•31m ago•1 comments

Connect iMessage to your Claude Code assistant

https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/imessage
1•rob•31m ago•0 comments

New (Twin) Dad Advice

https://hec.works/blog/new-twin-dad/
2•dividedcomet•33m ago•2 comments

Show HN: Turned a viral DevOps debugging tweet into a playable incident SIM

https://youbrokeprod.com/login?redirect=%2Fplay%2Frunaway-process-001
1•cdnsteve•35m ago•0 comments

Anthropic Redesigns Claude Code Desktop

https://twitter.com/claudeai/status/2044131493966909862
1•Nevin1901•36m ago•1 comments

Show HN: Start Using Claude Managed Agents Today – Posse

https://github.com/oguzbilgic/posse
1•obilgic•36m ago•0 comments