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

Comments

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

Kavia AI now supports Bitbucket (agent-driven code analysis and regression diff)

https://www.youtube.com/watch?v=r3la8vo_G0E
1•kavitha_kavia•33s ago•1 comments

Keeping Power Utilities in Corporate Hands Doesn't Make Sense

https://jacobin.com/2025/12/hudson-valley-public-power/
1•PaulHoule•1m ago•0 comments

Show HN: Gdocs-CLI – Fetch Google Docs as Markdown for AI Coding Agents

https://github.com/famasya/gdocs-cli
1•pacific01•1m ago•0 comments

Big Tech 'DRAM Beggars' Scramble for Scarce Inventory

https://www.chosun.com/english/industry-en/2026/01/09/KWC26UZIENDUBIPRVLRLTCINPY/
1•ksec•2m ago•0 comments

Show HN: Server for Pydantic-AI Agents

https://github.com/caesarnine/lattis
1•binalpatel•2m ago•0 comments

Ask HN: Erratic HN front page algorithm

1•7777777phil•4m ago•0 comments

Show HN: Subtle – Local, open-source analytics for Claude Code sessions

1•itsderek23•9m ago•0 comments

Neo Is Starting to Learn on Its Own (1X World Model – From Video to Action)

https://www.youtube.com/watch?v=lS_z60kjVEk
1•fadedlight•10m ago•1 comments

Review: How to Solve It by George Pólya

https://www.thepsmiths.com/p/review-how-to-solve-it-by-george
1•jger15•10m ago•0 comments

Ask HN: How do you automate your release notes?

1•dustfinger•11m ago•1 comments

Bloom: An iOS inspired pull down menu for the web

https://joshpuckett.me/bloom
2•eustoria•11m ago•0 comments

AI Coding Assistants Will Overwhelm Your Delivery Pipeline: How to Prepare

https://aws.amazon.com/blogs/enterprise-strategy/your-ai-coding-assistants-will-overwhelm-your-de...
1•cebert•13m ago•0 comments

pip install hodor

https://github.com/bukzor/hodor
3•chris_guidry•13m ago•0 comments

Project STARSCREAM: Using Cosmic data for training adaptable foundation models

https://www.researchgate.net/publication/399653645_STARSCREAM_A_scientific_framework_for_training...
1•DwayneSamuels•14m ago•0 comments

Security considerations for confidential tip pages

https://freedom.press/digisec/blog/security-confidential-tip-pages/
1•eustoria•14m ago•0 comments

Show HN: mcp-apps-kit - Build AI apps for MCP Apps and ChatGPT from one codebase

https://github.com/AndurilCode/mcp-apps-kit
1•unfold_ai•14m ago•1 comments

Building a 25 Gbit/s workstation for the SCION Association

https://github.com/scionassociation/blog-25gbit-workstation
1•romshark•15m ago•0 comments

Chess in Pure SQL

https://www.dbpro.app/blog/chess-in-pure-sql
1•upmostly•16m ago•0 comments

Ask HN: I built a tool that is catching AI SEO of its own. Should I double down?

2•udit_50•17m ago•0 comments

Roborev: Automated background code review for your agentic commits

https://github.com/wesm/roborev
1•wesm•18m ago•0 comments

Ask HN: Does PPP (Parity Pricing) work for one-time digital products?

https://apmcommunication.com/tech-lead
1•pingananth•18m ago•1 comments

Drew Devault's new microkernel (called "Hermes") blog post

https://drewdevault.com/2026/01/12/2026-01-12-Hermes-from-the-ground-up.html
3•Shugyousha•19m ago•0 comments

Tom Brady Is Newest Face of GLP-1s, Joining Telehealth Startup

https://www.bloomberg.com/news/articles/2026-01-12/tom-brady-is-newest-face-of-glp-1s-joining-tel...
2•alexmorley•20m ago•0 comments

History of Methods Section

https://www.asimov.press/p/methods
1•mailyk•21m ago•0 comments

Apple Confirms Google Gemini Will Power Next-Gen Siri This Year – MacRumors

https://www.macrumors.com/2026/01/12/google-gemini-next-generation-siri/
1•provdr•22m ago•0 comments

Show HN: CleanCloud – Cloud cleanup that can't delete anything

https://getcleancloud.com
1•sureshcsdp•22m ago•1 comments

Experts Warn of Growing Parrot Crisis in Canada

https://www.ctvnews.ca/ottawa/video/2026/01/06/experts-warn-of-growing-parrot-crisis-in-canada/
2•debo_•23m ago•0 comments

Economists are facing a recession as a hiring crunch hits

https://www.ft.com/content/eb080c14-e946-4806-ad66-81b2bb8c67ba
3•ryan_j_naughton•24m ago•0 comments

I Was Kidnapped by Idiots

https://www.theatlantic.com/international/2026/01/kidnapped-baghdad/685470/
2•Tomte•25m ago•0 comments

I tried the new Linux Mint 22.3 – it's a masterclass in polish

https://www.zdnet.com/article/linux-mint-22-3-zena/
1•CrankyBear•26m ago•0 comments