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

Comments

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

Many consumer electronics manufacturers 'will go bankrupt' by the end of 2026

https://www.pcgamer.com/hardware/memory/many-consumer-electronics-manufacturers-will-go-bankrupt-...
1•smetannik•39s ago•0 comments

Nightshift: Use your leftover CC/Codex tokens overnight for maintenance PRs

https://github.com/marcus/nightshift
1•edwin•1m ago•0 comments

Clerk

https://clerk.vision/
2•tosh•3m ago•0 comments

Firm Data on AI

https://www.nber.org/papers/w34836
1•mychaelangelo•3m ago•0 comments

Final step to put new website into production deleted it instead

https://www.theregister.com/2026/02/16/who_me/
3•jethronethro•5m ago•0 comments

10 years building vertical software: are we cooked?

https://twitter.com/nicbstme/status/2023501562480644501
1•nbstme•8m ago•0 comments

Show HN: ZIT: Zooplankton Image Tool for 2d rendering of biological locomotion

https://github.com/juleshenry/zooplankton-image-tool
2•juleshenry•8m ago•0 comments

After all the hype, some AI experts don't think OpenClaw is all that exciting

https://techcrunch.com/2026/02/16/after-all-the-hype-some-ai-experts-dont-think-openclaw-is-all-t...
1•zerosizedweasle•9m ago•0 comments

Show HN: I built an all-in-one workspace for agencies and freelancers

https://www.7desk.io
1•syketdas•9m ago•1 comments

Software Archeology in 2026

https://xav.io/blog/software-archeology/
1•xavxav•9m ago•0 comments

Kim Dotcom says Palantir allegedly hacked

https://twitter.com/KimDotcom/status/2023165849721536672
4•hooch•10m ago•0 comments

Dutch Government Claude Plugins

https://github.com/MinBZK/overheid-claude-plugins
1•GeertJohan•11m ago•0 comments

Software licensing and my opposition to copyleft

https://github.com/BurntSushi/notes/blob/fae52f03a655c1294226482d4ddd70c55cf62af3/2020-10-29_lice...
2•akktor•11m ago•0 comments

Show HN: LLMFeeder – Multi-tab web to Markdown for LLM context (v2.1.0)

1•jatinkrmalik•11m ago•0 comments

Sl − display animations to correct users who accidentally enter sl instead of ls

https://man.cx/sl%286%29
1•jjmarr•12m ago•0 comments

Show HN: TaxPal – Free tax calculator for 1099 freelancers (Q1 due April 15)

https://taxpal-kappa.vercel.app
1•greenbelt-dev•14m ago•0 comments

Show HN: Vocalinux // 100% offline voice typing for Linux

https://vocalinux.com/
1•jatinkrmalik•15m ago•0 comments

Show HN: NabavkiData – AI that detects corruption in public procurement

https://www.nabavkidata.com
2•proofkit•15m ago•1 comments

Ten Maps of Greenland

https://mhinfographics.github.io/funtography/18.html
1•gmays•18m ago•0 comments

I built a WhatsApp Status Saver that uses fewer ads than competitors

https://play.google.com/store/apps/details?id=com.appgenstudio.wa_status_saver_2026&hl=en_US
1•appzenstudioo•19m ago•1 comments

Amazon Mired in Longest Losing Streak Since 2006 on Capex Angst

https://www.bloomberg.com/news/articles/2026-02-13/amazon-eyes-longest-losing-streak-since-2006-o...
1•1vuio0pswjnm7•20m ago•0 comments

Slow, Then Suddenly

https://frantic.im/suddenly/
1•speckx•21m ago•0 comments

Dola-Seed-2.0-Preview debuts at #6 on arena.ai

https://seed.bytedance.com/en/blog/dola-seed-2-0-preview-model-release-on-arena
1•elahieh•22m ago•0 comments

Cartography Now Maps Permissions Across All 3 Clouds: My LFX Mentorship Journey

https://cartography.dev/blog/gcp-and-azure-rpr
1•alexchantavy•24m ago•0 comments

Show HN: Sira,an AI native flight booking experience

https://www.travelwithsira.com/
1•malwaregeeeek•25m ago•0 comments

German Social Democrat paper adds to calls for social media curbs for children

https://www.reuters.com/sustainability/society-equity/german-social-democrat-paper-adds-calls-soc...
1•1vuio0pswjnm7•26m ago•0 comments

Did We See a Black Hole Explode in 2025? [video]

https://www.youtube.com/watch?v=sbqrjBZwgLQ
1•jmward01•27m ago•0 comments

Microscope super-resolution with an LED array and Fourier Ptychography [video]

https://www.youtube.com/watch?v=9KJLWwbs_cQ
2•newpavlov•27m ago•0 comments

I Language

https://github.com/IbrahimHindawi/I
1•VoidLegend•27m ago•1 comments

Should Drug Companies Be Advertising to Consumers?

https://www.nytimes.com/2026/02/16/health/drug-advertisements-consumers.html
5•shpat•27m ago•1 comments