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

Comments

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

FlowSQL is a free, privacy-focused SQL editor that runs in the browser

https://flowsql.com/
1•speckx•2m ago•0 comments

Request for Wife

https://andys.blog/rfw/
1•andytratt•3m ago•1 comments

Not Minds, but Signs: Reframing LLMs Through Semiotics [pdf]

https://arxiv.org/abs/2505.17080
1•refset•3m ago•0 comments

AI Companies are hiring one-third fewer PMs

https://risogroup.co/insights/ai-companies-hiring-one-third-fewer-pms
1•jamesriso•4m ago•1 comments

Using E-Ink tablet as monitor for Linux

https://alavi.me/blog/e-ink-tablet-as-monitor-linux/
1•yolkedgeek•6m ago•0 comments

SafeLine – a self-hosted WAF to protect your web apps from attacks and exploits

https://github.com/chaitin/SafeLine
1•0x54MUR41•9m ago•0 comments

Show HN: Human Code Principles – 12 principles for human-centered software dev

https://humancodeprinciples.org
1•janijarvinen•10m ago•0 comments

Instacart's AI-Enabled Pricing Experiments May Be Inflating Your Grocery Bill

https://www.consumerreports.org/money/questionable-business-practices/instacart-ai-pricing-experi...
2•pseudalopex•11m ago•1 comments

Show HN: Rollwave – Zero-downtime secret rotation and builds for Docker Swarm

https://github.com/rollwave-dev/rollwave
1•lubbo•13m ago•1 comments

Show HN: I built a CLI to translate podcasts for non-native speakers

https://github.com/yiquncode/podcast-translator
1•zhangyiqun•13m ago•1 comments

AI Coding Agents for Designers

https://www.lukew.com/ff/entry.asp?2137
1•speckx•14m ago•0 comments

UringMachine Benchmarks

https://github.com/digital-fabric/uringmachine/blob/main/benchmark/README.md
1•todsacerdoti•14m ago•0 comments

Fate: A modern data client for React and tRPC

https://fate.technology/posts/introducing-fate
1•orta•16m ago•0 comments

Show HN: Voynich GIS – An interactive parser for the 15th-century manuscript

https://yaucheukfai.github.io/voynich-gis/
1•YauCheukFai•17m ago•1 comments

RubyMine 2025.3 Is Released

https://blog.jetbrains.com/ruby/2025/12/rubymine-2025-3-multi-agent-ai-chat-rails-aware-mcp-serve...
1•RubyMine•17m ago•0 comments

Show HN: Turn any API into an embeddable AI agent

https://gethelmagent.com/
1•rhozeta•18m ago•0 comments

Show HN: Page Builder in Pure TypeScript, No Framework Dependencies

https://dev.tukona.com/site/edit/page/main/en-US
1•choc-dev•20m ago•0 comments

Read-Once Objects (2023)

https://allan.reyes.sh/posts/read-once-objects/
1•mooreds•21m ago•0 comments

Offshore Pumped Hydro Could Solve Clean Energy's Biggest Problem

https://oilprice.com/Energy/Energy-General/Offshore-Pumped-Hydro-Could-Solve-Clean-Energys-Bigges...
1•PaulHoule•21m ago•0 comments

GLM-4.6V: Open-Source Multimodal Models with Native Tool Use

https://z.ai/blog/glm-4.6v
2•ozgune•22m ago•0 comments

Show HN: Whisper Money – End-to-End Encrypted Personal Finance App

https://whisper.money
1•falcon_•23m ago•0 comments

America, China and Russia Compete to Reverse-Engineer UFO Technology

https://politicalsaucer.substack.com/p/the-new-space-race-america-china
1•DisclosureUS•23m ago•1 comments

The twisted nanotubes that tell a story

https://actu.epfl.ch/news/the-twisted-nanotubes-that-tell-a-story/
1•geox•24m ago•0 comments

Show HN: A TSP game I wanted for 10 years - built in 4 hours

https://www.graphhopper.com/blog/2025/12/08/a-tsp-game-10-years-in-the-making-built-in-4-hours/
2•oblonski•25m ago•0 comments

Options Are Not Constraints

https://remy.duthu.org/2025/12/05/options-are-not-constraints.html
1•remyduthu•25m ago•0 comments

Zero users after 30 days launching my first ever Chrome extension

https://xrepliescounter.com/
1•lucaserla•27m ago•1 comments

DuckDB 1.4.3 LTS with Native Windows ARM64 Support

https://duckdb.org/2025/12/09/announcing-duckdb-143
1•szarnyasg•28m ago•0 comments

When AI will browse the web for me

https://www.stefanjudis.com/notes/when-ai-will-browse-the-web-for-me/
1•speckx•29m ago•0 comments

Rahm Emanuel says U.S. should follow Australia's youth social media ban

https://www.politico.com/news/2025/12/09/rahm-emanuel-says-u-s-should-follow-australias-youth-soc...
11•RickJWagner•29m ago•0 comments

AI and Human Co-Improvement for Safer Co-Superintelligence

https://arxiv.org/abs/2512.05356
1•gmays•30m ago•0 comments