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•1y ago

Comments

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

We built an API that tells AI agents whether to trust a professional

https://prezlo.io/
1•loptymobile•24s ago•1 comments

Show HN: NvEnvy – A Notational Velocity (NvAlt) Reboot in Swift. OSS

https://github.com/kenm47/nvEnvy
1•hank2000•2m ago•0 comments

Show HN: Vibewarz – bot vs bot arena for vibecoders

https://vibewarz.com
1•gaomri•2m ago•1 comments

Rsync maintainer starts uses Claude, regressions mount

https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345332213390
4•timmytokyo•6m ago•0 comments

Show HN: Inkfeed – RSS Reader for Kindle

https://inkfeed.xyz
1•adhamsalama•7m ago•0 comments

Artificial Intelligence for Software Engineering: From Probable to Provable

https://cacm.acm.org/opinion/artificial-intelligence-for-software-engineering-from-probable-to-pr...
1•yarapavan•8m ago•0 comments

AI Now Writes as Many Online Articles as Humans

https://graphite.io/five-percent/ai-now-writes-as-many-online-articles-as-humans-do
1•ChrisArchitect•8m ago•0 comments

Reviving Teletext for Ham Radio

https://spectrum.ieee.org/reviving-teletext-for-ham-radio
2•yarapavan•9m ago•0 comments

Ask HN: Is the AI "Boom" Merely Another Excuse for Layoffs?

3•giardini•12m ago•1 comments

Show HN: TV Explorer. Adding advanced UI to free online TV

https://tvexplorer.live
2•dtagames•12m ago•1 comments

Mystery company accidentally blew $500M on Claude AI in a single month

https://www.tomshardware.com/tech-industry/artificial-intelligence/mystery-company-accidentally-b...
1•yogthos•12m ago•1 comments

Startup offers free home cleaning–if it can record it all for robot training

https://arstechnica.com/ai/2026/05/robot-training-startup-will-send-humans-wearing-cameras-to-cle...
2•tartoran•13m ago•0 comments

Nesbitt: Protestware for Coding Agents

https://lwn.net/Articles/1075315/
3•Brajeshwar•15m ago•1 comments

Nature is expanding Registered Reports to all the fields in which we publish

https://www.nature.com/articles/d41586-026-01629-y
1•bookofjoe•18m ago•0 comments

iFood "Mega Leak" Alert: What This Case Teaches All Business About Data Security

https://www.pentesty.co/blog/ifood-data-leak-extortion-2026
1•josanjohnata•20m ago•0 comments

Unix-CTF: Procedural Environments for Unix-Competence Reinforcement Learning

https://twitter.com/MavorParker/status/2060386383496433862
1•AMavorParker•21m ago•0 comments

Apollo and Blackstone are wrangling $36B to buy Google chips for Anthropic

https://qz.com/apollo-blackstone-36-billion-debt-deal-anthropic-google-chips-052926
2•cwwc•23m ago•1 comments

Let's Standardize the 1970 Epoch

https://github.com/billpg/1970EpochalTime/
1•billpg•25m ago•1 comments

CS 153: Frontier Systems (Amin Vahdat)

https://share.descript.com/view/rYJYVV36fKa
1•aloukissas•25m ago•0 comments

Woodworkers at Melbourne Design Week are building on sustainability

https://www.abc.net.au/news/2026-05-24/melbourne-design-week-women-woodworkers/106695946
1•Tomte•26m ago•0 comments

Magnets Are Bad for Hardware Again

https://hackaday.com/2026/05/21/magnets-are-bad-for-hardware-again/
3•speckx•29m ago•0 comments

Notes from the Mistral AI Now Summit in Paris

https://koenvangilst.nl/lab/mistral-ai-now-summit
3•vnglst•29m ago•0 comments

Liquid AI reveals 8B-A1B MoE trained on 38T

https://www.liquid.ai/blog/lfm2-5-8b-a1b
2•simjnd•31m ago•0 comments

Strace-UI, Bonsai_term, and the TUI Renaissance

https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/
1•hardwaregeek•31m ago•0 comments

Same Driver, new vehicle: Welcoming our first riders trips in the Ojai

https://waymo.com/blog/2026/05/welcoming-riders-in-the-ojai/
1•xnx•31m ago•0 comments

Which LLM is the best at finding real vulnerabilities?

https://medium.com/@lp1/which-llm-is-the-best-at-finding-real-vulnerabilities-part-1-2c51802cd55b
3•leakr•32m ago•0 comments

Lipstick on a Pig

https://blog.fredrb.com/2026/05/29/lipstick-on-a-pig/
1•fredrb•33m ago•0 comments

95% of Canceled Annual App Subscribers Never Come Back

https://9to5mac.com/2026/05/27/new-report-shows-annual-app-subscribers-rarely-return-after-they-c...
1•karakoram•33m ago•0 comments

Ask HN: Is anybody providing deterministic LLMs?

2•julienreszka•33m ago•1 comments

The Unsustainable AI Subsidy

https://tomtunguz.com/ai-model-inflation/
2•djha-skin•34m ago•0 comments