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

Show HN: Emergency kits – Their guide when you're not there to lead

https://hypervault.com/insights/new-release-emergency-kits
1•glennhv•1m ago•0 comments

Metacritic statement pledges to ban outlets that use AI-generated reviews

https://www.shacknews.com/article/148056/metacritic-statement-ai-reviews-banned
2•cratermoon•1m ago•0 comments

Jack Dorsey's Block to Lay Off 4k Employees in AI Remake

https://www.wsj.com/business/jack-dorseys-block-to-lay-off-4-000-employees-in-ai-remake-28f0d869
1•mraniki•2m ago•2 comments

Heptaconn: A framed TCP protocol separating admission and back end execution

https://github.com/newssourcecrawler/heptaconn
1•ismcanga•4m ago•0 comments

Sudo-rs enables password feedback by default

https://www.phoronix.com/news/sudo-rs-password-feedback
2•patal•5m ago•0 comments

Gucci criticised for 'AI slop' images ahead of major fashion show

https://www.bbc.co.uk/news/articles/cjwz6yzn5jqo
1•CrzyLngPwd•7m ago•0 comments

Midtraining Bridges Pretraining and Posttraining Distributions

https://arxiv.org/abs/2510.14865
1•matt_d•7m ago•0 comments

Steam Deck Plugin to Enable MTP File Transfer via USB DRD (Dual-Role Device)

https://github.com/dafta/DeckMTP
1•transpute•8m ago•0 comments

How do fintech platforms handle audit sampling of privileged actions?

1•leiishta•8m ago•0 comments

Warner Bros. Discovery deems Paramount offer superior to Netflix

https://www.cnbc.com/2026/02/26/warner-bros-discovery-paramount-skydance-deal-superior-netflix.html
2•pseudalopex•10m ago•0 comments

Show HN: InstallerStudio – Create MSI Installers Without InstallShield or WiX

https://www.ionline.com
2•pkailas•11m ago•0 comments

Hillary Clinton's Opening Statement to House Oversight and Gov Reform Committee

https://twitter.com/HillaryClinton/status/2027053057100693779
3•ZeroGravitas•12m ago•0 comments

Show HN: Visual Agents for Fitness: How to Enable Automated Exercise Feedback

https://jeremyparkphd.substack.com/p/daaee5d4-9fd9-40a4-8d03-19cf298c57dc
2•visioninmyblood•12m ago•0 comments

Show HN: The easiest way to run shell commands in plain English (no app needed)

https://github.com/iafan/at-command
1•iafan•12m ago•0 comments

Are there any AI video tools left that don't have aggressive safety filters?

https://unbound.video
1•gabrieln•13m ago•1 comments

Jack Dorsey's Block cuts nearly half of its staff in AI gamble

https://www.theverge.com/tech/885710/jack-dorsey-block-layoffs-job-cuts-ai
3•pavel_lishin•14m ago•1 comments

Claude for OSS

https://claude.com/contact-sales/claude-for-oss
2•zenoware•16m ago•1 comments

Deploycel (Vercel Alternative)

https://deploycel.org/
3•joshcsimmons•20m ago•0 comments

A red tide in South Africa is causing the mass deaths of crayfish

https://apnews.com/article/south-africa-ocean-marine-fish-environment-31f47d345d3811bd251abec88fe...
1•mooreds•20m ago•0 comments

Global Intelligence Crisis – Citadel Securities' Response

https://www.citadelsecurities.com/news-and-insights/2026-global-intelligence-crisis/
1•ceh123•21m ago•0 comments

Show HN: ClickNest a tiny self-hosted, AI native web analytics in Go

https://github.com/danielthedm/clicknest
4•ethantheswe•21m ago•0 comments

Evaluating Memory Structure in LLM Agents

https://arxiv.org/abs/2602.11243
2•PaulHoule•22m ago•0 comments

Hydroph0bia – a fixed SecureBoot bypass for UEFI firmware based on Insyde H2O

https://coderush.me/hydroph0bia-part3/
2•transpute•23m ago•0 comments

Show HN: A drag and drop GUI builder for CustomTkinter

https://github.com/talhababi/VisualTK-Studio
2•talhababi•24m ago•0 comments

The Password That Lets Caterpillars Hide in an Ant's Lair

https://www.nytimes.com/2026/02/25/science/caterpillar-ant-language.html
3•digital55•25m ago•0 comments

Claude just killed our startup

https://twitter.com/irabukht/status/2025846968245948795
3•SunshineTheCat•25m ago•0 comments

Jmp.chat: SMS via XMPP

https://jmp.chat/
2•inigyou•26m ago•0 comments

Smartphone Mkt to Decline 13% in '26, Largest Drop Ever Due to Memory Shortage

https://www.idc.com/resource-center/press-releases/wwsmartphoneforecast4q25/
39•littlexsparkee•27m ago•15 comments

Metacritic Drops VideoGamer's AI Slop Review of Resident Evil Requiem

https://www.avclub.com/metacritic-removes-ai-review
5•mindracer•27m ago•0 comments

Show HN: Huesnatch – Free Color Extractor

https://huesnatch.com/
2•tatheery•29m ago•1 comments