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

Show HN: ElkDesk – I rage-quit Zendesk and built my own

https://elkdesk.com
1•julianpeters•2m ago•0 comments

Show HN: I'd love feedback on my Markdown-to-LinkedIn Carousel webapp (desktop)

https://inslide.malvik.de
1•svenmalvik•3m ago•0 comments

Systemd and AI

https://devpoga.org/systemd-ai/
1•kianN•3m ago•0 comments

Show HN: Agent Skills Leaderboard

https://skills.sh
1•andrewqu•3m ago•0 comments

A Metabolic Workspace

https://www.joanwestenberg.com/a-metabolic-workspace/
1•bookofjoe•4m ago•0 comments

FastMCP 3.0

https://www.jlowin.dev/blog/fastmcp-3
6•jlowin•4m ago•0 comments

Show HN: AI Vibe Coding Hackathon $500k+ in prizes

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

Typography on Pencils (2023)

https://www.presentandcorrect.com/blogs/blog/typography-on-pencils-1-5
2•NaOH•7m ago•0 comments

Ask HN: I need feedback for AI driven dashboard for embedded analytics

https://querypanel.io/auth/login
1•civancza•8m ago•2 comments

Calculus by L.V. Tarasov: A Socratic Dialogue (1982) [pdf]

https://archive.org/details/TarasovCalculus
1•vitaelabitur•9m ago•1 comments

The end of OnePlus: Oppo rumored to retire smartphone brand due to less sales

https://www.notebookcheck.net/The-end-of-OnePlus-Oppo-rumored-to-retire-smartphone-brand-due-to-p...
1•methuselah_in•11m ago•0 comments

The Legal Embedding Benchmark (MLEB)

https://arxiv.org/abs/2510.19365
1•fzliu•11m ago•0 comments

Show HN: Agentic coding – a practical guide to building with coding agents

https://agenticoding.ai/
2•NadavBenItzhak•12m ago•0 comments

Complex building blocks of life form spontaneously in space, research reveals

https://phys.org/news/2026-01-complex-blocks-life-spontaneously-space.html
1•pseudolus•15m ago•0 comments

Ask HN: Breaking into tech Project Management from different field

1•conner_h5•15m ago•0 comments

Era of 'global water bankruptcy' is here, UN report says

https://www.theguardian.com/environment/2026/jan/20/era-of-global-water-bankruptcy-is-here-un-rep...
1•molteanu•17m ago•1 comments

Accidental Breakthrough Could Revolutionize Global Lithium Extraction

https://oilprice.com/Metals/Commodities/Accidental-Breakthrough-Could-Revolutionize-Global-Lithiu...
1•PaulHoule•17m ago•0 comments

Mars orbiter sees odd etchings in the sand

https://www.space.com/astronomy/mars/mars-orbiter-sees-odd-etchings-in-the-sand-space-photo-of-th...
1•kristianpaul•17m ago•0 comments

Show HN: Kuzco – On-Device AI SDK for iOS (LLMs, Vision and Stable Diffusion)

https://kuzco.co/waitlist
1•bigman1113•18m ago•0 comments

Bags and the Creator Ecomony

https://steve-yegge.medium.com/bags-and-the-creator-economy-249b924a621a
1•kayo_20211030•18m ago•0 comments

Reckoning with Liquid Glass

https://anderegg.ca/2026/01/20/reckoning-with-liquid-glass
1•GavinAnderegg•18m ago•0 comments

Simplex, a workflow specification language for autonomous agents

https://github.com/brannn/simplex
1•branafter•18m ago•0 comments

Lumo – AI Blood Test Analysis

https://apps.apple.com/gb/app/lumo-smart-health-reminder/id6756590984
1•marwansorour•19m ago•0 comments

Ask HN: Revive a mostly dead Discord server

2•movedx•21m ago•0 comments

Building Critical Infrastructure with Htmx: Network Automation for Paris 2024

https://htmx.org/essays/paris-2024-olympics-htmx-network-automation/
2•carlos-menezes•21m ago•0 comments

I built a Chrome extension that theaches you a new language while you browse

https://chromewebstore.google.com/detail/livelang/jdnkdbmenokhpoofhmchaelpeajnbpbd
1•zachlai23•21m ago•1 comments

The "Confident Idiot" Problem: Intelligence vs. Control (2021-2026)

https://steerlabs.substack.com/p/the-confident-idiot-problem-intelligence
1•steer_dev•24m ago•1 comments

Deep Learning as Program Synthesis

https://www.lesswrong.com/posts/Dw8mskAvBX37MxvXo/deep-learning-as-program-synthesis-1
2•todsacerdoti•25m ago•0 comments

US chess grandmaster Daniel Naroditsky had cocktail of drugs in system at death

https://nypost.com/2026/01/20/us-news/us-chess-grandmaster-daniel-naroditsky-had-cocktail-of-drug...
2•perihelions•27m ago•2 comments

David Rosen, 95, Dies; Video Game Visionary and Co-Founder of Sega

https://www.nytimes.com/2026/01/20/business/david-rosen-dead.html
2•donohoe•31m ago•1 comments