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

Comments

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

Reddit Wrapped 2025

https://reddit-wrapped.kadoa.com/
3•0x54MUR41•8m ago•0 comments

Journeying through cosmic views with James Webb Space Telescope [video]

https://www.youtube.com/watch?v=lFiOZqyymUY
2•the-mitr•9m ago•0 comments

Fastest Auto-Scaling Cuckoo Filter in Rust (v0.5.8)

https://crates.io/crates/autoscale_cuckoo_filter
1•i18n•12m ago•1 comments

Ask HN: How to improve AI coding/debugging in large codebases

1•saha26•14m ago•0 comments

Corroded: Illegal Rust

https://github.com/buyukakyuz/corroded
1•WD-42•14m ago•0 comments

Threads – A context strategy for humans and LLMs

https://blog.sao.dev/2025-threads/
1•stuartaxelowen•16m ago•0 comments

Show HN: Reveal – A stateless, zero-DB blur curtain for suspicious links

https://app.iddqd.kr/reveal/
2•iddqd_park•18m ago•0 comments

Node_env: What It Does (and What It Doesn't)

https://ezz.sh/posts/nodeenv-does-not-mean-what-you-think-it-means/
2•ezzabuzaid•18m ago•0 comments

Show HN: Agent Skill + Activity Watcher = productivity hack for 2026

https://github.com/BayramAnnakov/activitywatch-analysis-skill
2•Bayram•19m ago•0 comments

Charm Ruby – Glamorous Terminal Libraries for Ruby

https://charm-ruby.dev/
2•todsacerdoti•20m ago•0 comments

One of America's Most Successful Experiments Is Coming to a Shuddering Halt

https://www.nytimes.com/2025/12/29/opinion/indian-americans-trump.html
3•occamschainsaw•21m ago•0 comments

Silver prices are going crazy

https://english.elpais.com/economy-and-business/2025-12-29/silver-prices-are-going-crazy-this-is-...
2•cumo•23m ago•1 comments

Binaries: I thunk therefore I am

https://fzakaria.com/2025/12/29/huge-binaries-i-thunk-therefore-i-am
3•ingve•35m ago•0 comments

Be fearful when others are greedy Warren Buffett's sharpest lessons in investing

https://www.theguardian.com/business/2025/dec/30/warren-buffett-retires-aunnual-letters-investing...
4•beardyw•38m ago•0 comments

What does the software engineering job market look like heading into 2026?

https://www.finalroundai.com/blog/software-engineering-job-market-2026
2•birdculture•39m ago•0 comments

Real-Time Head-and-Shoulders Pattern Detection for AI Trading Strategies

https://jiripik.com/2025/12/30/real-time-head-and-shoulders-pattern-detection-for-ai-trading-stra...
2•jiripik•42m ago•0 comments

Show HN: Videx – Summarize YouTube without the fluff

https://videxs.com
2•bchaipats•46m ago•0 comments

LatentSync1.6, an end-to-end lip-sync method

https://latentsync.com
3•BruceWok•46m ago•1 comments

Digital age brings Denmark's postal service to a historic end

https://www.cnn.com/2025/12/30/europe/denmark-postal-service-letters-intl-scli
2•asplake•46m ago•2 comments

How Real Satellites Dogfight - Proximity Operations In Space Explained [video]

https://www.youtube.com/watch?v=HcJMT1rW8Lg
3•skibz•46m ago•0 comments

Easydown – Fast, Free, and No-Watermark Video Downloader

https://www.easydown.org/
2•zhangbo•46m ago•1 comments

What to Do When Everyone Can Do Everything

https://digitaliziran.si/2025/12/30/2026-what-to-do-when-everyone-can-do-everything/
3•gregman1•48m ago•1 comments

Robots.txt Tester

https://alertsleep.com/tools/robots-txt-tester
2•thepatrykooo•49m ago•0 comments

Everybody Hates Timesheets

https://ihatetimesheets.eu
2•avh3•49m ago•0 comments

The Missing Control Layer Between AI Decisions and Execution

https://github.com/Rick-Kirby/execution-control-layer
2•RickKirby•52m ago•1 comments

Smallest Robot Uses Light for Power and Navigation

https://insidetelecom.com/worlds-smallest-robot-can-think-and-costs-a-penny/
2•tzury•52m ago•0 comments

Show HN: DevCompare – a live, auto-updating comparison of AI coding tools

https://www.devcompare.io/
3•anticlickwise•53m ago•0 comments

Show HN: Revieko – architecture drift hotspots in every pull request

https://synqra.tech/revieko
2•EfimovSD•57m ago•1 comments

Claude Code Mobile Client [MIT License]

https://happy.engineering
3•e2e4•59m ago•1 comments

Show HN: I made AI virtual staging tool for real estate listing

https://www.aivirtualstaging.net
4•atharvtathe•1h ago•0 comments