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

Scene Data

https://www.scene-data.com/
1•rprend•51s ago•1 comments

Implementing a Clear Room Z80/ZX Spectrum Emulator with Claude Code

https://antirez.com/news/160
1•ingve•1m ago•0 comments

Dash: A Self-Learning Data Agent That Remembers Its Mistakes

https://starlog.is/articles/ai-machine-learning/agno-agi-dash/
1•theoradical•3m ago•0 comments

I made MCP cheaper in one command

https://kanyilmaz.me/2026/02/23/cli-vs-mcp.html
1•thellimist•3m ago•0 comments

Bloom Filters vs. Oil Filters

https://www.proxylity.com/articles/bloom-filters-vs-oil-filters.html
1•mlhpdx•4m ago•0 comments

Breakthrough Study Shows Sound Stimulation May Help Clear Alzheimer's Plaques

https://scitechdaily.com/breakthrough-study-shows-sound-stimulation-may-help-clear-alzheimers-pla...
1•donsupreme•5m ago•0 comments

Mike Little: the British co-founder of WordPress you've probably never heard of

https://25.netribution.co.uk/nic/mike-little-the-british-co-founder-of-wordpress-youve-probably-n...
1•mwenge•6m ago•0 comments

Magnavox Odyssey 2 – By Paul Lefebvre

https://www.goto10retro.com/p/magnavox-odyssey-2
1•rbanffy•6m ago•0 comments

Show HN: Vaulty, sync your chats to the cloud for AI to read (iMessage/WhatsApp)

https://github.com/felipap/vaulty
1•felipap•6m ago•0 comments

Lose Myself

https://www.eod.com/blog/2026/02/lose-myself/
1•speckx•7m ago•0 comments

Show HN: Upjack – Declarative framework for building apps over MCP

https://github.com/NimbleBrainInc/upjack
1•barefootsanders•8m ago•0 comments

Show HN: Aniframe- AI Powered Cartoon E-Ink Picture Frame

https://justusdevs.substack.com/p/aniframe-love-animated
1•floydhead01•10m ago•0 comments

Squad – AI agent teams. A team that grows with your code. (GitHub Copilot CLI)

https://github.com/bradygaster/squad
1•cdisns•10m ago•0 comments

RK3588 and RK3576 video decoders support merged in the upstream Linux Kernel

https://www.collabora.com/news-and-blog/news-and-events/rk3588-and-rk3576-video-decoders-support-...
1•losgehts•12m ago•0 comments

Did anyone here use EyeEm before it shut down?

https://www.diyphotography.net/eyeem-closure-2026-migrate-freepik/
1•nemath•12m ago•1 comments

SpacetimeDB ThreeJS Support

https://discourse.threejs.org/t/spacetimedb-threejs-support-and-free-tier/90052
1•ryker2000•13m ago•1 comments

Show HN: SocialCompute – Local LLM social simulation engine

https://www.socialcompute.dev/
1•dev_marcospimi•14m ago•0 comments

Show HN: Claude-PR-reviewer – AI code review in GitHub Actions (BYOK)

https://github.com/indoor47/claude-pr-reviewer
1•adamrunboy•16m ago•0 comments

Jimi Hendrix was a systems engineer

https://spectrum.ieee.org/jimi-hendrix-systems-engineer
12•tintinnabula•16m ago•2 comments

How Not to Measure the ROI from AI in Your Software Organization

https://www.fightforthehuman.com/how-not-to-measure-the-roi-from-ai-in-your-software-organization/
1•speckx•17m ago•0 comments

Your Everyday Companion

https://www.crowdsupply.com/meterbit-cybernetics/pixlpal
2•fustinus•21m ago•0 comments

Refine

https://www.grumpy-economist.com/p/refine
2•paulpauper•21m ago•0 comments

PA Bench: Evaluating Frontier Models on Multi-Tab Pa Tasks

https://vibrantlabs.com/blog/pa-bench
2•shahules•21m ago•0 comments

Neuroscientists identified brain circuitry behind hesitation

https://theconversation.com/hesitation-is-costly-in-sports-but-essential-to-life-neuroscientists-...
3•PaulHoule•22m ago•0 comments

Show HN: A CLI to query the unsealed court files with local LLMs

https://github.com/simulationship/epstein-search
2•simulationship•22m ago•0 comments

The Macroeconomic Effects of Tariffs: Evidence from U.S. Historical Data

https://www.nber.org/papers/w34852
2•paulpauper•22m ago•1 comments

Early Signals: How is AI reshaping the labor market?

https://labor.mattzieger.com/
2•donohoe•23m ago•0 comments

Local Prosecutors and Public Health

https://drive.google.com/file/d/1aEfIlS943SwbDytdghTdFeWc49dws7yw/view
2•paulpauper•23m ago•0 comments

Reverse engineering the KakaoTalk app so I can build a Beeper Bridge

https://jusung.dev/posts/kakao-talk-is-making-me-local/
5•badeeya•23m ago•1 comments

Google Pixel 10a

https://blog.google/products-and-platforms/devices/pixel/google-pixel-10a/
2•tosh•24m ago•1 comments