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

Zenflow: Free desktop AI Orchestration app with multi-agent verification

https://zencoder.ai/zenflow
1•shcheklein•48s ago•0 comments

Santa's Privacy Policy

https://www.santaprivacy.com/
1•nvahalik•1m ago•0 comments

OmniFlow Beta: multi-user AI-agent back end (Azure and Streamlit)

https://github.com/dokuczacz/OmniFlowBeta
1•dokuczacz•3m ago•1 comments

Geothermal Planning Tools?

1•morpheos137•3m ago•0 comments

FVWM-95

https://fvwm95.sourceforge.net/
3•mghackerlady•6m ago•0 comments

The Year in Computer Science

https://www.quantamagazine.org/the-year-in-computer-science-20251216/
1•baruchel•6m ago•0 comments

Pricing Changes for GitHub Actions

https://resources.github.com/actions/2026-pricing-changes-for-github-actions/
3•kevin-david•7m ago•0 comments

The Complete Bash Scripting Course – Guide to Learning the Bash Shell [video]

https://www.youtube.com/watch?v=Sx9zG7wa4FA
1•nateb2022•8m ago•0 comments

Show HN: Demo Scope – Mobile screen recorder with face cam and touch indicators

http://demoscope.app/hacker-news-friends
1•admtal•8m ago•0 comments

Is AI in recruitment a 'race to the bottom'?

https://www.bbc.com/news/articles/ced6jv76091o
1•ksec•9m ago•0 comments

Disclosure Day's first trailer teases close encounters of a different kind

https://www.theverge.com/entertainment/845459/disclosure-day-spielberg-trailer-release-date
1•quapster•10m ago•0 comments

Networks of genes work together to cause disease

https://www.nature.com/articles/s41586-025-09866-3
1•stevenjgarner•11m ago•1 comments

How I Manage My Private Keys

https://bomfather.dev/comics/5/
4•neil_naveen•13m ago•0 comments

Show HN: Beyond RAG: Introducing Papr Context Intelligence

https://paprai.substack.com/p/beyond-rag-introducing-papr-context
1•amirkabbara•14m ago•0 comments

Exe.dev, Modern VMs

https://blog.exe.dev/meet-exe.dev
1•jaden•14m ago•0 comments

Vibe coding startup Lovable's latest funding round values it at $6.6B

https://www.cnbc.com/2025/12/16/ai-startup-lovables-round-values-it-at-6point6-billion-sources.html
1•jeffpalmer•15m ago•0 comments

Bolmo: Byteifying the next generation of language models

https://allenai.org/blog/bolmo
1•ZeroCool2u•16m ago•0 comments

Build a Self Learning Research Agent That Tracks Consensus over Time

https://www.ashpreetbedi.com/articles/self-learning-researcher
1•bediashpreet•17m ago•0 comments

NES Emulator Written in Emacs Lisp (2018)

https://github.com/gongo/emacs-nes
1•gudzpoz•17m ago•1 comments

Scams, Schemes, Ruthless Cons: The Untold Story of How Jeffrey Epstein Got Rich

https://www.nytimes.com/2025/12/16/magazine/jeffrey-epstein-money-scams-investigation.html
1•mitchbob•17m ago•1 comments

Day 7 update on building FeedBugs (solo founder)

https://www.feedbugs.com/
2•vignzviki•18m ago•0 comments

Application Gatekeeping: An Ever-Expanding Pathway to Internet Censorship

https://www.eff.org/deeplinks/2025/11/application-gatekeeping-ever-expanding-pathway-internet-cen...
2•fsflover•19m ago•0 comments

TikTok Video Downloader

https://tiktokme.app/en
1•bamideleanders•19m ago•0 comments

Why Is South Korean Fertility So Low?

https://www.worksinprogress.news/p/why-is-south-korean-fertility-so
1•karakoram•19m ago•0 comments

Barabar Hill Entrances-Like Features on Mars; Perfect Cylinder Artifact on Mars

https://vinyasi.substack.com/p/mro-barabar-hill-entrances-like-features
1•vinyasi•22m ago•0 comments

GeminiJack: A prompt-injection challenge demonstrating real-world LLM abuse

https://geminijack.securelayer7.net/
1•sandeep_kamble•24m ago•1 comments

Ask HN: What makes you contribute to small open source projects?

2•chrilleweb•24m ago•0 comments

Track Surveillance (Flock Cameras) Tech in Local Government Meetings

https://alpr.watch/
25•theamk•24m ago•2 comments

Unstract: Open-source platform to ship document extraction APIs in minutes

https://github.com/Zipstack/unstract
1•naren87•25m ago•0 comments

What distinguishes great software engineers? (2019) [pdf]

https://faculty.washington.edu/ajko/papers/Li2019WhatDistinguishesEngineers.pdf
1•damethos•25m ago•0 comments