2025-02-28 12:01:28 -06:00
2025-02-27 12:28:50 -06:00
2025-02-28 09:45:48 -06:00
2025-02-27 16:49:08 -06:00
2025-02-14 22:54:56 -08:00
2025-02-27 11:19:34 -06:00
2025-02-15 18:03:21 -08:00
2025-02-28 12:01:28 -06:00
2025-02-14 21:30:33 -08:00
2025-02-15 18:03:21 -08:00

Bang

This is a fork of unduck by Theo.

Why fork?

This fork allows anyone to easily self host this service & allows them to easily add bangs for their own self-hosted websites, & comes pre-configured to work with

  • Searxng
  • Gitea
  • OpenWebUI

You can also easily add your own bangs by adding a new entry in the bangs.ts file.

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://bang.gbrown.org?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.

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

How to self host

  1. Clone the repo
  2. Fill out the .env.example file & rename it to .env
  3. Run pnpm install from the root of the repo
  4. Run pnpm build from the root of the repo
  5. Navigate to the docker folder & run sudo docker-compose up -d

How to update the website

  1. Run pnpm build from the root of the repo
  2. Navigate to the docker folder & run sudo docker compose down && sudo docker-compose up -d
Description
Fork of unduck to self host & use my own search engine as default.
Readme MIT 5.3 MiB
Languages
TypeScript 36.4%
CSS 34.3%
Shell 17.8%
HTML 7%
Dockerfile 4.5%