frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: routr - a fast local replacement for DuckDuckGo bangs

https://t128n.github.io/routr/
2•trbndev•1y ago

Comments

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

Why new €3 customs charge tells a bigger story about global trade

https://www.rte.ie/brainstorm/2026/0709/1582146-3-euro-customs-charge-online-shopping-global-trad...
1•austinallegro•2m ago•0 comments

The 4th Amendment Moves to the Cloud: Chatrie and the Future of Digital Privacy

https://www.wilmerhale.com/en/insights/client-alerts/20260702-the-fourth-amendment-moves-to-the-c...
1•greyface-•4m ago•0 comments

Show HN: PandaPage – host an HTML page with one curl, no signup, auto-expires

https://pandapage.clawshop.sh
1•itskritix•4m ago•0 comments

Local codereview tool for handing structured review to agent

https://github.com/rosenbjerg/local-review
1•mrosenbjerg•9m ago•1 comments

Probelock – lockfile for LLM tool calling

https://github.com/kelkalot/probelock
1•rar101x•9m ago•0 comments

Show HN: Reddit-opportunities – See who is asking for you in Reddit

https://karmybot.com/reddit-opportunities
1•dhante•10m ago•0 comments

New Horizons Pluto probe just woke itself up after 321 days of hibernation

https://www.theregister.com/science/2026/07/09/new-horizons-pluto-probe-just-woke-itself-up-after...
1•jnord•13m ago•0 comments

Show HN: Facebook Videos Downloader

https://chromewebstore.google.com/detail/video-downloader/depedcledfjjdoikcjfbdjlncjfbpjjg
1•qwikhost•15m ago•0 comments

Show HN: Stockoscope – 5-dimension stock analysis where you set the weights

https://stockoscope.com
1•navdhand•15m ago•0 comments

1-in-2 phones sold in Africa exfiltrate whole-device activity to China

https://www.nowsecure.com/blog/2026/07/08/what-the-transsion-telemetry-research-means-for-mobile-...
3•lmbbuchodi•17m ago•0 comments

Zine 0.12.0

https://zine-ssg.io/log/?v0.12.0#v0.12.0
2•birdculture•18m ago•0 comments

Former GitHub CEO launches competitor designed for the age of vibe coding

https://www.theregister.com/ai-and-ml/2026/07/08/former-github-ceo-launches-competitor-designed-f...
3•uukelele•20m ago•0 comments

Google pays $250K for Linux vulnerability allowing guest VM escapes

https://arstechnica.com/security/2026/07/high-severity-guest-vm-escape-is-1-of-2-linux-vulnerabil...
2•joozio•20m ago•0 comments

A Trip to 90s Kansai: Exploring the XD FirstClass Network BBS

https://cdrom.ca/games/2026/05/30/xd.html
1•zetamax•23m ago•0 comments

A MIT KDC policy plugin for cross-realm authorization

https://gurulabs.com/blogs/kerberos-cross-realm-authorization-xrealmauthz/
1•4onthefloor124•23m ago•0 comments

Show HN: Gepard 1.0 – open-source streaming TTS that speaks as text arrives

https://huggingface.co/spaces/nineninesix/gepard
1•joeyeh_•24m ago•0 comments

Cursed circuits #6: reverse avalanche oscillator

https://lcamtuf.substack.com/p/cursed-circuits-6-reverse-avalanche
2•surprisetalk•26m ago•0 comments

Show HN: The Book of Uncertain Light – A Philosophical Text for LLMs

https://uncertainlight.com
1•CompanyGardener•27m ago•0 comments

What Everyone Should Know About How Capital Works

https://jacobin.com/2026/07/marx-capital-harvey-economics-contradiction
2•one33seven•30m ago•1 comments

Greppy – A drop-in grep with code-nav subcommands for AI agents

https://github.com/metric-space-ai/greppy
1•metricspaceai•34m ago•0 comments

How do you promote a low value, high conversion rate app without PPC?

https://www.asnotes.io/
1•gb2d_hn•38m ago•1 comments

Facebook takes no action on AI far-right influence campaign flagged a month ago

https://www.independent.co.uk/news/uk/home-news/facebook-far-right-ai-video-life-in-britain-b3004...
2•vrganj•39m ago•0 comments

EduScrum

https://eduscrum.org/
1•antfarm•1h ago•0 comments

Show HN: Kinetic – an experimental decentralized naming protocol

https://github.com/saifmukhtar/kinetic
2•saifmukhtar•1h ago•0 comments

Cybersecurity AI (CAI) Dataset

https://arxiv.org/abs/2605.28146
1•vinothkumarnaga•1h ago•0 comments

Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

https://github.com/malisper/pgrust
10•SweetSoftPillow•1h ago•0 comments

What founders should evaluate before launching an AI-built app

https://geekyants.com/blog/what-founders-must-evaluate-before-launching-an-ai-built-app
4•Krishnaswaroop•1h ago•1 comments

Teller.io shuts down at the end of the week

2•dmonn•1h ago•0 comments

The OpenClaw Foundation

https://openclaw.ai/blog/introducing-openclaw-foundation
4•tosh•1h ago•0 comments

Show HN: Copresent – Turn your phone into a Google Slides remote

https://www.copresent.app/
1•highlystatic•1h ago•0 comments