MCPcopy Create free account
hub / github.com/T3-Content/unduck

github.com/T3-Content/unduck @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow

A fast, local-first "search engine" for !bang users

3 symbols 8 edges 3 files ⚖ MIT 0 documented · 0% ● updated 24d ago★ 1,27936 open issues

Browse by type

⨍ Functions 3◇ Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Unduck

DuckDuckGo's bang redirects are too slow. Add the following URL as a custom search engine to your browser. Enables all of DuckDuckGo's bangs to work, but much faster.

https://unduck.link?q=%s

How is it that much faster?

DuckDuckGo does their redirects server side. Their DNS is...not always great. Result is that it often takes ages.

I solved this by doing all of the work client side. Once you've went to https://unduck.link once, the page is cache'd and will never need to be downloaded again. Your device does the redirects, not me.

The redirect code is inline in the HTML, with the 150 most popular bangs. Searches with one of those bangs, or with no bang, redirect before anything else loads. The other bangs need one cached file (public/bangs.txt).

Bangs

The bang list comes from DuckDuckGo. To update it, run pnpm sync-bangs and commit the result.

To add or override a bang, edit scripts/custom-bangs.json and run pnpm sync-bangs.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

src/main.ts3 symbols

For agents

$ claude mcp add --transport http codehub https://codehub.bot/mcp

One hosted endpoint, no key: your agent can search, read and trace T3-Content/unduck and every other graph here. Cursor, Windsurf and other clients →

⬇ download graph artifact

Ask about this repo answers extend the page