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

Comments

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

I built an LLM pipeline to automate emotional prosody in long-form audio

https://castory.studio/
1•18272837023•36s ago•0 comments

Alita – Your Virtual Professional AI Assistant

https://alitagpt.com
1•Robelkidin•1m ago•0 comments

South Korea introduces universal basic mobile data access

https://www.theregister.com/2026/04/10/south_korea_data_access_universal/
1•rguiscard•5m ago•0 comments

Tell HN: Claude Code usage depletion makes it basically unusable now

1•prmph•9m ago•0 comments

The Myth That Only Brilliant People Are Good at Math (2018)

https://www.researchgate.net/publication/324951036_The_Myth_That_Only_Brilliant_People_Are_Good_a...
2•lucidplot•9m ago•0 comments

Web Research with Local LLM

https://github.com/AuthBits/webmcp
1•bluethunder•9m ago•1 comments

AI Is Stealing Your Voice

https://daniel.reguero.dev/blogs/ai-is-stealing-your-voice
1•dreguero•10m ago•0 comments

Spanish dollar

https://en.wikipedia.org/wiki/Spanish_dollar
2•fodmap•11m ago•0 comments

Soppo language: Go, with the features it's missing

https://soppolang.dev/
1•networked•12m ago•0 comments

Thought Virus: Subliminal Prompting in Multi-Agent Systems

https://arxiv.org/abs/2603.00131
1•danielmorozoff•13m ago•0 comments

AI Agent Sessions, 21 Human Interventions: Batch Orchestration Data

https://augmentedcode.dev/batch-orchestration-at-scale/
1•viktorianer•13m ago•0 comments

Scientists Are Finally Unlocking a Cancer Treatment's Full Potential

https://www.theatlantic.com/science/2026/04/car-t-cell-therapy-autoimmune-disease/686742/
1•JumpCrisscross•17m ago•0 comments

How Chinese state-media CGTN is shaping global narratives

https://rsf.org/en/65-language-megaphone-how-chinese-state-media-cgtn-shaping-global-narratives
1•fodmap•20m ago•1 comments

Show HN: PyClaw

https://github.com/venkatram-s/pyclaw/
1•venkatram-s•21m ago•0 comments

Have 2 accounts in Claude Code and it sucks switching between them?

https://github.com/Mamdouh66/claude-switch
2•mamdouh_ai•23m ago•0 comments

Purisaki Berberine Patches – Natural Herbal Patch for Healthy Living [pdf]

https://storage.prod.researchhub.com/uploads/papers/users/187827/42ae3503-fb78-4ce2-bfb4-a0a41d3a...
1•carlaglam•24m ago•0 comments

Jj v0.39.0 Released

https://github.com/jj-vcs/jj/releases/tag/v0.39.0
1•birdculture•24m ago•0 comments

Custom AI Solutions – AI Development Company – ViitorCloud

https://viitorcloud.com/capabilities/custom-ai-solutions/
1•Olivia_Watson•26m ago•0 comments

AI scans 400k Reddit posts to flag overlooked GLP-1 side effects

https://medicalxpress.com/news/2026-04-ai-scans-reddit-flag-overlooked.html
2•geox•30m ago•0 comments

I stopped looking for startup ideas. I started noticing something else

1•vibecoder21•31m ago•0 comments

5 Open-Source Projects Running Transformers on CPUs to GPUs in Pure-Modern Java

https://old.reddit.com/r/java/comments/1shho8f/the_purejava_llm_revolution_the_jvm_now_has_all/
3•mikepapadim•36m ago•2 comments

Amazon CEO Andy Jassy's 2025 Letter to Shareholders

https://www.aboutamazon.com/news/company-news/amazon-ceo-andy-jassy-2025-letter-to-shareholders
2•alex_suzuki•41m ago•0 comments

Show HN: Airwave synced music streaming from YouTube/Spotify links

https://github.com/76696265636f646572/Airwave
1•Vibecoder_•44m ago•0 comments

Warp Decode vs. vLLM's Triton kernel: where each wins (crossover analysis)

https://ai.rundatarun.io/AI%20Systems%20%26%20Architecture/reproducing-warp-decode-blackwell
2•RyeCatcher•44m ago•0 comments

Repository Pattern with Hygienic Macros in Scheme – Lisp

https://jointhefreeworld.org/blog/articles/lisps/functional-repository-pattern-in-scheme-with-mac...
2•jjba23•47m ago•0 comments

The Music of the Spheres: SMBC 5 part comic co-authored with Terry Tao

http://smbc-comics.com/comic/spheres-part-1
1•yeellow•49m ago•0 comments

Show HN: Go language extension with HTML templates

https://github.com/doors-dev/gox
2•derstruct•50m ago•0 comments

Show HN: The Stack, a Clay sculpture that writes poems through Wi-Fi [video]

https://vimeo.com/1181880000
1•G_S•51m ago•0 comments

Gender Medicine Set Itself Up for Disaster

https://www.compactmag.com/article/how-gender-medicine-set-itself-up-for-disaster/
2•isolli•51m ago•0 comments

Show HN: Polter – Agent Driven UI (react library)

https://mydatavalue.github.io/polter/
4•lemonade311•53m ago•0 comments