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

Comments

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

What's new for .NET in Ubuntu 26.04

https://devblogs.microsoft.com/dotnet/whats-new-for-dotnet-in-ubuntu-2604/
1•vyrotek•2m ago•0 comments

Amazon S3 now supports five additional checksum algorithms

https://aws.amazon.com/about-aws/whats-new/2026/04/s3-five-additional-checksum-algorithms/
1•gslin•2m ago•0 comments

A bit of XENIX history (2014)

http://seefigure1.com/2014/04/15/xenixtime.html
1•naves•3m ago•0 comments

Brain Regeneration Observatory – a real, long term use of ML and AI that matters

https://brain-regeneration.com/
1•rcarmo•3m ago•0 comments

ArXivLean: How Well Can LLMs Formally Prove Research Math?

https://matharena.ai/arxivlean/
1•OxfordCommand•4m ago•0 comments

Intel's soars 15% as results top estimates

https://www.cnbc.com/2026/04/23/intel-intc-q1-2026-earnings-report.html
2•nodesocket•5m ago•0 comments

LaGuardia firefighter heard 'stop' before crash but didn't know who it was for

https://apnews.com/article/laguardia-air-canada-ntsb-crash-fire-truck-8f59cffd6f8230ec0c0c0c4d6ef...
1•geox•6m ago•0 comments

The Living Lattice – Explorables of the intelligence theorem

https://lattice.project89.org/
1•sebg•7m ago•0 comments

Show HN: Tron Hilbert Curve Macro

https://github.com/EricNelson12/retrocycles-hilbert
2•i_am_a_squirrel•9m ago•0 comments

ChatGPT for Healthcare

https://help.openai.com/en/articles/20001046-chatgpt-for-healthcare
2•thimabi•10m ago•1 comments

AI Is Destroying the Junior Developer Pipeline. Fix: Preceptorships

https://newclawtimes.com/articles/microsoft-russinovich-hanselman-junior-developer-pipeline-crisi...
1•andrewstetsenko•13m ago•0 comments

FreeRDP 3.25 Adds Experimental AV1 Support

https://www.phoronix.com/news/FreeRDP-3.25-Released
1•breve•14m ago•0 comments

X.1095 – Entity authentication service for pet animals using telebiometrics

https://www.itu.int/itu-t/recommendations/rec.aspx?rec=15708
1•fulafel•17m ago•0 comments

Using the internet like it's 1999

https://joshblais.com/blog/using-the-internet-like-its-1999/
11•joshuablais•20m ago•2 comments

Show HN: PayClaw – a gasless USDC wallet for AI agents (12 frameworks)

https://github.com/ONSARI/payclaw-skill
1•onsari•25m ago•0 comments

Ask HN: Is there still an opportunity for an affordable CPanel alternative?

1•panelica•26m ago•0 comments

Show HN: Twitter for Voice Notes

https://earful.world/?q=&tab=all
1•quinto_quarto•27m ago•0 comments

Explore H-1B labor condition application filings

https://layoffhedge.com/h1b
2•qwertyuiop_•28m ago•0 comments

Pausing new self-serve signups for GitHub Copilot Business

https://github.blog/changelog/2026-04-22-pausing-new-self-serve-signups-for-github-copilot-business/
1•tech234a•28m ago•0 comments

Lirantal/PyPI-security-best-practices

https://github.com/lirantal/pypi-security-best-practices
1•rbanffy•29m ago•0 comments

Python Type Checker Comparison: Speed and Memory Usage – Pyrefly

https://pyrefly.org/blog/speed-and-memory-comparison/
2•rbanffy•29m ago•0 comments

Machine Learning Visualized – Machine Learning Visualized

https://ml-visualized.com/
1•rbanffy•30m ago•0 comments

Old Computers in My University

https://mrunix.me/posts/old-computers-usto/
5•mrunix•30m ago•0 comments

Spark: Bitcoin's Payment Layer for Stablecoins and Instant BTC

https://www.spark.money
1•janandonly•33m ago•0 comments

From Jammy to Resolute: how Ubuntu's toolchains have evolved

https://ubuntu.com/blog/from-jammy-to-resolute-how-ubuntus-toolchains-have-evolved
1•vyrotek•36m ago•0 comments

The company building America's first mail-order servant robot

https://www.dezeen.com/2026/04/23/1x-neo-servant-robot-factory/
1•mikeaskew4•36m ago•0 comments

Outrage over Oracles thousands of H-1B requests amid layoffs

https://nypost.com/2026/04/02/us-news/outrage-over-oracles-thousands-of-h-1b-requests-amid-layoffs/
8•reconnecting•37m ago•1 comments

1-Click Linux alpha is out now

https://blog.arusekk.pl/posts/1-click-linux-alpha/
2•speckx•38m ago•0 comments

GitHub banned me for no understandable reason

https://blog.hellbeast.eu.org/Github%20banned%20me%20for%20no%20understandable%20reason
3•regalialong•40m ago•0 comments

Show HN: Env Validator (NextJS and SvelteKit)

https://github.com/Chrilleweb/dotenv-diff
2•chrillemn•41m ago•0 comments