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

AMD surpasses 40% server CPU revenue share for the first time

https://videocardz.com/newz/amd-surpasses-40-server-cpu-revenue-share-for-the-first-time
1•giuliomagnifico•2m ago•0 comments

Show HN: I built an webpage to showcase Singapore's infra and laws

https://github.com/adityaprasad-sudo/Explore-Singapore
1•curiousbatman•2m ago•0 comments

Copilot Fun – Play terminal games while GitHub Copilot codes for you

https://github.com/sirluky/copilot-fun
1•sirluky•4m ago•1 comments

LocalStack: Moving to paid only from March 2026

https://blog.localstack.cloud/the-road-ahead-for-localstack/
1•hrpnk•7m ago•1 comments

Robots Dream of Agentic Soup

https://punkleadership.com/robots-dream-of-agentic-soup/
1•PretzelFisch•7m ago•0 comments

Show HN: BlockHost OS – Autonomous VM provisioning through smart contracts

https://github.com/mwaddip/blockhost
2•mwaddip•7m ago•0 comments

Ask HN: How to truly sandbox AI tools on a Mac?

2•shelled•10m ago•0 comments

The Rise of Generative AI Large Language Models

https://informationisbeautiful.net/visualizations/the-rise-of-generative-ai-large-language-models...
1•Anon84•11m ago•0 comments

Show HN: Commander, an opinionated yet powerful new tab page

https://chromewebstore.google.com/detail/commander/pgfpnakgiejllklfaamjogeoamalobfp
1•h4ch1•11m ago•0 comments

Show HN: Priset–AI coding agent 4 IntelliJ,VSCode tht doesn't train on your code

https://plugins.jetbrains.com/plugin/29894-priset--the-autonomous-ai-engineering-partner
1•Priset-AI•11m ago•1 comments

Byte magazine artist Robert Tinney, who illustrated the birth of PCs, dies at 78

https://arstechnica.com/gadgets/2026/02/byte-magazine-artist-robert-tinney-who-illustrated-the-bi...
2•rbanffy•12m ago•0 comments

Salesforce's "SaaS Seat License Crisis": Transitioning to AI Digital Headcount

https://open.spotify.com/episode/4FW1nveIMeXgdyDp72zIMQ
1•timarits•13m ago•2 comments

Molten Salt Technology Validated

https://www.marinelink.com/news/molten-salt-technology-validated-535563
1•mpweiher•15m ago•0 comments

Long March-10 in-flight abort and rocket landing demostration [video]

https://www.youtube.com/watch?v=1huIM_ip6bQ
3•u1hcw9nx•18m ago•0 comments

Show HN: SC-NeuroCore – Rust neuromorphic compiler, 512× speedup

https://github.com/anulum/sc-neurocore
2•anulum•20m ago•0 comments

delta

https://dandavison.github.io/delta/
1•tosh•21m ago•0 comments

LocalMind – WebGPU and WebLLM in-browser local AI chat

https://github.com/ipattis/LocalMind
2•adzicg•23m ago•0 comments

I built an AI that explains what your developers did this week

2•inferno22•23m ago•0 comments

Pursuit of Wonder -YouTube- face reveal (because of AI) [video]

https://www.youtube.com/watch?v=FjtzCarSWgU
1•gatinsama•26m ago•0 comments

MinIO is now no longer maintained

https://github.com/minio/minio/commit/bf50cdb59a54fb613462af8f330e0b2e4a883e5c
2•chetangoti•27m ago•0 comments

When Vibe Coded Consumer Agents Go Rogue

https://nearfuturelaboratory.com/editorial/when-vibe-coded-consumer-agents-go-rogue/
1•janandonly•28m ago•0 comments

Show HN: SCPN Fusion Core – Tokamak plasma SIM and neuromorphic SNN control

https://github.com/anulum/scpn-fusion-core
1•anulum•29m ago•0 comments

microgpt

https://karpathy.ai/microgpt.html
2•tosh•29m ago•0 comments

Google says attackers used 100k prompts to try to clone AI chatbot Gemini

https://www.nbcnews.com/tech/security/google-gemini-hit-100000-prompts-cloning-attempt-rcna258657
1•belter•29m ago•1 comments

IDF reservist and civilian accused of insider Polymarket betting

https://www.theblock.co/post/389575/israeli-defense-reservist-civilian-indicted-over-alleged-insi...
1•bhouston•29m ago•1 comments

Train and inference GPT in 243 lines of pure, dependency-free Python

https://twitter.com/karpathy/status/2021694437152157847
1•tosh•31m ago•0 comments

Show HN: I built a voice keyboard for Android that adapts to whats on the screen

https://play.google.com/store/apps/details?id=com.tapless.keyboard&hl=en_US
1•mansehej•32m ago•0 comments

Sparks seen from rocket as ULA Vulcan launches from Florida Thursday

https://www.floridatoday.com/story/tech/science/space/2026/02/12/ula-vulcan-rocket-lifts-off-from...
1•bookmtn•35m ago•1 comments

Building a 3D Elevation Photo Diary with deck.gl

https://geeksta.net/geeklog/building-a-3d-elevation-photo-diary/
4•gkst•36m ago•0 comments

Choosing Between EloqDoc and MongoDB Architecture

https://www.devtoolsacademy.com/blog/eloqdoc-vs-mongodb-architecture-and-design/
1•alokDT•38m ago•0 comments