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

Swan Upping

https://en.wikipedia.org/wiki/Swan_upping
1•cyode•1m ago•0 comments

Voice Coding on iPad with Claude

https://www.youtube.com/watch?v=Rptvh534lI4
1•siwakotisaurav•2m ago•1 comments

What are some good designer agents available now?

1•nmr521521•3m ago•0 comments

Blade Runner: Braun HL 1 Personal Fan, En español (2012)

http://camara-de-maravillas.blogspot.com/2012/11/el-objeto-de-la-semana-ventilador-de.html
1•exvi•6m ago•0 comments

Ilya Sutskever

https://en.wikipedia.org/wiki/Ilya_Sutskever
1•doener•6m ago•0 comments

Secure, lint, and harden GitHub Actions workflows

https://github.com/reugn/github-ci
1•jrzx•11m ago•0 comments

Show HN: Transform messy server logs into clean, readable format

https://prettylog.net
1•bardonadam•12m ago•0 comments

RustFS vulnerability: Hardcoded token with privileged access

https://old.reddit.com/r/selfhosted/comments/1q432iz/update_your_rustfs_immediately_hardcoded_token/
1•Erlangen•13m ago•0 comments

Inducing self-NSFW classification in image models to prevent deepfakes edits

3•Genesis_rish•15m ago•0 comments

Show HN: Friction – A trilogy of archival fiction told via GitHub Markdown

https://github.com/andreas-breidenthal/friction-trilogy
1•a-breidenthal•18m ago•1 comments

Starlink offers free internet to Venezuela following Maduro capture

https://starlink.com/en-jo/support/article/026071b1-2b57-1ddb-8321-22442313223e?srsltid=AfmBOorDu...
1•tolloid•20m ago•0 comments

Show HN: H4 – The Next Paradigm of Interaction

https://h4os.run/
1•yeclark•22m ago•0 comments

Show HN: Formfactor – A MIDI Modulation Workbench

https://aftertone.co/formfactor/
1•oceanwaves•23m ago•0 comments

Building a TLS 1.3 Implementation in Pure Common Lisp

https://atgreen.github.io/repl-yell/posts/pure-tls/
2•birdculture•26m ago•0 comments

Show HN: MockBlast – Local-first mock data generator (SQL, Mongo, JSON)

https://mockblast.com
1•lotfijbe•28m ago•1 comments

Asmotor: Powerful macro (cross) assembler package for several CPUs

https://github.com/asmotor/asmotor
1•doener•33m ago•0 comments

Zed extension that automatically inserts customizable file headers

https://github.com/MrAMS/zed-auto-file-header
1•Kika233•33m ago•0 comments

Deming Regression

https://en.wikipedia.org/wiki/Deming_regression
1•tosh•34m ago•0 comments

AI Garden Design Software for Homeowners

https://hadaa.pro/
1•Fh_•37m ago•1 comments

A FOSS Pocket/Instapaper/Wallabag Alternative with OPDS Support Written in Go

https://readeck.org/en/
3•Curiositry•37m ago•0 comments

Example-Custom-GitHub-Action

https://github.com/x-504/example-custom-github-action
1•asteriskeng•40m ago•0 comments

Show HN: llmnop – Rust CLI for benchmarking LLM endpoints

https://github.com/jpreagan/llmnop
1•jpreagan•45m ago•0 comments

The AI Learning Platform That You Need

https://www.brighteraai.fun/
1•sepiol350•47m ago•0 comments

'Blind into Caracas' – By James Fallows

https://fallows.substack.com/p/blind-into-caracas
3•MaysonL•48m ago•0 comments

Show HN: LoongFlow – An evolutionary framework for self-optimizing Agents

https://github.com/baidu-baige/LoongFlow
1•FreshmanD•53m ago•1 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
7•viveknathani_•1h ago•1 comments

Show HN: I built ZoneBar – a macOS menu bar app to see all your time zones

https://apps.apple.com/ca/app/zonebar-time-zones/id6756977321?mt=12
1•fx31xo•1h ago•0 comments

Microsoft Has a Nickname "Microslop"

3•DinakarS•1h ago•3 comments

Show HN: Live VNC for web agents – debugging native captcha on Cloud Run

https://www.rtrvr.ai/blog/live-vnc-takeover-serverless-chrome
3•quarkcarbon279•1h ago•1 comments

Now you can star Wallabag entries from the comfort of your Kobo e-reader

https://www.autodidacts.io/star-wallabag-entry-from-koreader/
2•Curiositry•1h ago•0 comments