Skip to content
wiktrekPublic
forked from T3-Content/unduck

About

My own unduck version

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

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.

About

My own unduck version

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages