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

Show HN: Claw Drive – Open-source AI file manager that auto-organizes your files

https://github.com/dissaozw/claw-drive
1•dissao_zw•27s ago•0 comments

Show HN: LLM Running on Nintendo 64 Hardware (4MB RAM, 93MHz MIPS)

https://github.com/sophiaeagent-beep/n64llm-legend-of-Elya
1•AutoJanitor•2m ago•0 comments

Password managers less secure than promised

https://ethz.ch/en/news-and-events/eth-news/news/2026/02/password-managers-less-secure-than-promi...
1•mono-bob•3m ago•0 comments

Graph Topology and Battle Royale Mechanics

https://blog.lukesalamone.com/posts/beam-search-graph-pruning/
1•salamo•5m ago•0 comments

Intense sunlight reduces plant diversity and biomass across global grasslands

https://phys.org/news/2026-02-intense-sunlight-diversity-biomass-global.html
1•PaulHoule•5m ago•0 comments

So what about the students and people in college?

1•tbirch•7m ago•0 comments

Epstein Financial Forensics: Automated Financial Reconstruction from EFTA

https://github.com/randallscott25-star/epstein-forensic-finance
3•timkq•9m ago•0 comments

Show HN: MeMCP – MCP for Personal Profile

https://github.com/nickyreinert/meMCP
1•y42•9m ago•0 comments

‘Dictator vibes' as dear leader Trump puts name and face front and center

https://www.theguardian.com/us-news/2026/feb/21/trump-name-face-justice-department
1•gizzlon•10m ago•1 comments

When Code is Free, Why is Claude is an Electron app?

https://www.dbreunig.com/2026/02/21/why-is-claude-an-electron-app.html
2•dbreunig•10m ago•0 comments

What If Our Websites Lost Their Soul? (I Tried to Get It Back)

https://thetechtipsss.blogspot.com/2026/02/what-if-our-websites-lost-their-soul-i.html
2•Traumen•11m ago•0 comments

Reader – web scraping that outputs clean Markdown for LLMs

https://github.com/vakra-dev/reader
1•nihalwashere•12m ago•1 comments

The Big List of Naughty Strings

https://github.com/minimaxir/big-list-of-naughty-strings
2•shirian•12m ago•0 comments

Swift System Metrics 1.0: Process-Level Monitoring

https://www.swift.org/blog/swift-system-metrics-1.0-released/
1•frizlab•14m ago•0 comments

Tim O'Reilly – Why AI Needs Us

https://timoreilly.substack.com/p/why-ai-needs-us
1•rmason•14m ago•0 comments

CoreWeave's stock drops. Why a $4B Blue Owl funding snag has investors on edge

https://www.marketwatch.com/story/coreweaves-stock-drops-why-a-4-billion-blue-owl-funding-snag-ha...
1•zerosizedweasle•16m ago•0 comments

Chained Bugs to Leak Victim's Uber's FB OAuth Token

https://hackerone.com/reports/202781
1•onw•16m ago•0 comments

Show HN: CodeFossils – Discover abandoned GitHub repos worth reviving

https://www.codefossils.com/
1•ahmethedev•21m ago•0 comments

Engineers build motor-doping racing-bicycle [YouTube] [video]

https://www.youtube.com/watch?v=ZdDHtLP3oEs
2•Ylpertnodi•22m ago•1 comments

ChatGPT agrees with you too much. I built an AI that pushes back

https://www.thetank.io/
1•schmommy•22m ago•1 comments

The Web is your Canvas – QuillMonkey

https://www.quillmonkey.com/
2•zerealshadowban•24m ago•0 comments

Musica Suite

https://musicasuite.it/
1•billyrudi•24m ago•0 comments

RationalGO – A Personal AI Agent Built as an OS (10% AI, 90% Engineering)

https://rationalgo.ai
1•gravitybrain•25m ago•0 comments

Show HN: Supermemo – a single stream for notes with chat-style retrieval

https://www.supermemo.me/
1•akrs•25m ago•0 comments

Natural Language Processing Template Engine

https://pythonforprediction.wordpress.com/2026/02/21/nlptemplateengine-vignette/
2•librasteve•26m ago•1 comments

OpenBrowser-AI MCP

https://openbrowser.me
1•billy-enrizky-1•26m ago•2 comments

An 8B parameter LLM trained on the Epstein files

https://www.neuroengine.ai/Neuroengine-MechaEpstein
1•thinkingaboutit•27m ago•0 comments

Thermal drone footage shows Musk's AI power plant flouting clean air regs

https://floodlightnews.org/thermal-drone-footage-musk-ai-plant-epa-rules/
5•devonnull•29m ago•1 comments

California tried to protect students' data. Tech companies found loopholes

https://themarkup.org/artificial-intelligence/2026/02/21/california-tried-to-protect-students-dat...
5•billybuckwheat•32m ago•0 comments

Show HN: I scanned 50k radio streams and built an app for the ones that work

https://github.com/meehow/receiver
1•meehow•33m ago•0 comments