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

Comments

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

Architecture discovery in Riemannian neural fields

https://www.researchgate.net/publication/399760434_STRUCTURED_KNOWLEDGE_ACCUMULATION_GEODESIC_LEA...
1•quantiota•34s ago•1 comments

Navigating with Starlink-Signals in GPS-Denied Environments

https://xxtomcooperxx.substack.com/p/navigating-with-starlink-signals
1•jnsaff2•1m ago•0 comments

Show HN: Tabstack – Browser infrastructure for AI agents (by Mozilla)

1•MrTravisB•2m ago•0 comments

Running cheap and crappy USB hard drives in RAID0 is indeed a terrible idea

https://ounapuu.ee/posts/2026/01/14/raid0/
2•speckx•3m ago•0 comments

How to Use LLMs for Continuous, Creative Code Refactoring

https://thenewstack.io/how-to-use-llms-for-continuous-creative-code-refactoring/
1•rbanffy•4m ago•0 comments

Beijing tells Chinese firms to stop using US and Israeli cybersecurity software

https://www.yahoo.com/news/articles/exclusive-beijing-tells-chinese-firms-094036030.html
1•jmsflknr•4m ago•0 comments

How to avoid dynamic linking of Steam's client library using a old trick

https://nullonerror.org/2025/06/03/how-to-avoid-dynamic-linking-of-steam-s-client-library-using-a...
1•delduca•5m ago•0 comments

How to Stand Out When Every AI Product Promises the Same Magic

https://toolsfortech.substack.com/p/how-to-stand-out-when-every-ai-product
1•eh_tk•8m ago•0 comments

Show HN: A kids' math app without dark patterns

https://playlumi.app/
1•matheusml•9m ago•0 comments

Can AI Generate New Ideas?

https://www.nytimes.com/2026/01/14/technology/ai-ideas-chat-gpt-openai.html
1•lateforwork•10m ago•0 comments

Molecular bio-researcher, lifespan elongation

1•vikmarec•11m ago•0 comments

Clone Wars: IBM Edition

https://hackaday.com/2026/01/14/clone-wars-ibm-edition/
1•quantumfissure•11m ago•0 comments

Show HN: AI Vibe Coding Hackathon

https://vibe.devpost.com/
1•abdibrokhim•11m ago•0 comments

US approves sale of Nvidia's advanced AI chips to China

https://www.bbc.com/news/articles/cg4erx1n04lo
2•01-_-•12m ago•0 comments

Show HN: AlgoMommy – Organize video clips by talking while recording (macOS)

https://www.algomommy.com/show-hn.html
1•diarmuid_glynn•13m ago•0 comments

Technical Analysis of Starlink Terminal GPS Spoofing/Jamming Detection in Iran

https://github.com/narimangharib/starlink-iran-gps-spoofing/blob/main/starlink-iran.md
2•bazzmt•13m ago•0 comments

Making hypermadia-driven applications feel faster

https://postomator.com/updates/making-hypermedia-driven-applications-faster/
1•eljs•15m ago•0 comments

Introduction to Formal Methods (Part 2): From Spec to Code

https://vikramsg.github.io/introduction-to-formal-methods-part-2/
1•whinvik•15m ago•0 comments

Markiplier Will Open Iron Lung on 2,500 Screens with No Distributor

https://www.indiewire.com/news/analysis/markiplier-open-iron-lung-2500-screens-no-distributor-123...
1•Tomte•16m ago•0 comments

I built an app to install AI as if it were Steam or the App Store

https://getdione.app/
1•deeivihh•18m ago•0 comments

Apple-TSMC: The Partnership That Built Modern Semiconductors

https://newsletter.semianalysis.com/p/apple-tsmc-the-partnership-that-built
1•akyuu•18m ago•0 comments

Getting Real Leverage from Claude Code

https://estsauver.com/blog/claude-code-workflow
1•estsauver•19m ago•0 comments

I built a geocoder for AI agents because I couldn't afford Google Maps

https://jonready.com/blog/posts/geocoder-for-ai-agents.html
2•mips_avatar•20m ago•1 comments

Pain and Reflection = Progress

https://federicopereiro.com/progress-formula/
1•swah•22m ago•0 comments

The open-source Ableton-style music composer for the web

https://github.com/AppsYogi-com/ComposeYogi
3•vaibhav1312•22m ago•0 comments

Audacious: Playback Control

https://github.com/madprops/playback-control
1•the_stocker•23m ago•0 comments

Interface Craft: a library for those committed to designing with uncommon care

https://www.interfacecraft.dev/
1•duck•23m ago•0 comments

What Is Cloud.microsoft?

https://support.microsoft.com/en-us/office/what-is-cloud-microsoft-7ba4c8b9-d062-4444-84a5-fca6c3...
2•microsoftedging•23m ago•0 comments

Are diffs still useful for AI-assisted code changes?

2•nuky•24m ago•1 comments

Can the American Oboe Sing Again?

https://www.nytimes.com/2026/01/14/arts/music/oboe-laubin-jim-phelan.html
2•perihelions•24m ago•0 comments