frontpage.
newsnewestaskshowjobs

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

The newest ESP32 can run Linux and it's getting close to a Raspberry Pi

https://www.xda-developers.com/newest-esp32-run-linux-close-to-raspberry-pi/
1•adunk•29s ago•0 comments

How to keep enjoying programming in a world of LLMs

https://discourse.haskell.org/t/how-to-keep-enjoying-programming-in-a-world-of-llms/14705
2•kqr•5m ago•0 comments

AI is dominating the conversation at Climate Week

https://www.technologyreview.com/2026/09/24/1145048/ai-climate-week/
2•joozio•7m ago•0 comments

Show HN: I Rebuilt Captcha with Jev

https://www.localcan.com/blog/build-your-own-captcha
1•jarekceborski•10m ago•0 comments

Ten AI models debated fixes for 15 problems

https://fixtheworld.io/ai/debate
1•tiago-pita•10m ago•0 comments

When the Debugger Lies

https://danielmangum.com/posts/when-the-debugger-lies/
1•hasheddan•13m ago•0 comments

In Sweden, Organized Election Fraud

https://www.svd.se/a/43a0Qq/skandalen-i-borlange-ar-bara-borjan
2•try-working•14m ago•1 comments

Evolving programming languages in the AI era

https://dashbit.co/blog/evolving-ai-era
1•ahamez•16m ago•0 comments

The Most Expensive Breach on Earth Still Speaks Plaintext DNS

https://redhand.io/resources/dns-detections
2•eladlad•17m ago•0 comments

I built aiFlow, a free and open-source macOS file manager

https://github.com/nnikolaandric-sudo/aiFlow
1•oblivion1789•19m ago•0 comments

Enjoy.dev: one person, infinite engineers

https://enjoy.dev/
2•serial_dev•20m ago•1 comments

Qualcomm Talks Up Linux on Snapdragon X2 Laptops

https://www.phoronix.com/news/Qualcomm-Talks-Up-X2-Linux
1•rbanffy•20m ago•0 comments

SQLite database migrations directly in the browser, built with WebAssembly

https://play.ptah.run/
1•cabyrcus•21m ago•1 comments

Utyansky Index: Deterministic O(1) slot isolation for AI vibe coding

https://github.com/vlad-utyansky/utyansky-index
2•vladutyansky•23m ago•0 comments

Show HN: Forkbench – boundaries and supervision for AI coding agents

https://forkbench.com/l/FAUiWl3f
1•forkbench•24m ago•0 comments

First Autonomous Agentic System

https://blog.cloudgeni.ai/cloudgeni-first-truly-autonomous-cloud-platform/
1•davletdz•24m ago•0 comments

I am looking for GTM co-founder for my anti AI slop startup I am building

1•arpanghoshal•26m ago•1 comments

Measuring the Trustworthiness of Open-Source-Derived Models

https://cognition.com/blog/measuring-open-source-model-trustworthiness
2•ronfriedhaber•27m ago•0 comments

The Invisible Way Companies Are Using AI to Set Salaries

https://www.wsj.com/lifestyle/careers/the-invisible-way-companies-are-using-ai-to-set-salaries-ad...
3•thm•27m ago•0 comments

Agent IAP – Little Snitch Meets 1Password for AI Agents

https://vpetersson.com/2026/09/23/little-snitch-meets-1password-for-ai-agents/
7•mvip•28m ago•1 comments

China Is Holding Sensitive F-35 Parts Diverted to Hong Kong

https://www.bloomberg.com/news/articles/2026-09-23/china-is-holding-sensitive-f-35-parts-diverted...
1•Lio•29m ago•0 comments

Two-Tier Encryption in the UK – Identical Apple Devices, Different Protection

https://macanorak.com/two-tier-encryption-in-the-uk/
1•ReturnoftheHack•29m ago•0 comments

ACTx486 turns a podcast or video into a responsive AI conversation

https://runtimewire.com/article/actx486-turns-a-podcast-or-video-into-a-responsive-ai-conversation
1•Alifatisk•30m ago•0 comments

AMD Upstreams AVX10_V2_AUX Support into LLVM Clang 24

https://www.phoronix.com/news/LLVM-Clang-AVX10_V2_AUX
1•rbanffy•31m ago•1 comments

Polytender – AI for Public Tenders

https://polytender.com/en
1•mnewme•31m ago•0 comments

Show HN: I built AgeDB, a database for AI agents to store context and data

https://github.com/sivsivsree/agedb
1•sivsivsree•35m ago•0 comments

New Physics SIM

https://pmad-sim.org/
1•lucahenrikmarsu•35m ago•2 comments

Show HN: HodoClip - A browser scratchpad that saves links with clips

https://chromewebstore.google.com/detail/hodoclip/olklheidccboooipkkbegbejgkonpcln
1•rakshran•36m ago•0 comments

FlatPing, uptime monitoring and status pages

https://flatping.darsena.app
1•paranojik•37m ago•0 comments

A new report from Europe raises serious alarms about orbital collisions

https://arstechnica.com/space/2026/09/there-are-now-17000-satellites-in-orbit-and-growing-should-...
1•rbanffy•38m ago•0 comments