# Flashbang – DuckDuckGo bangs resolved locally with a Servic…

I like to use DuckDuckGo-style bangs and snaps, they are fast and efficient shortcuts. However, neither Kagi nor DuckDuckGo resolves them as quickly as I would like and subjectively Google has better search results than DuckDuckGo. After trying a few local alternatives eg. unduck, unduckified, I wa…

- **Page:** https://magpie.gallery/i/flashbang-duckduckgo-bangs-resolved-locally-with-a-1pn9
- **Type:** Link to an idea elsewhere
- **Category:** Utilities
- **Runs on:** web, extension
- **Tags:** bangs, search, redirect, service-worker

## Source

Web · t3ntxcles: Flashbang – DuckDuckGo bangs resolved locally with a Service Worker

- **Original:** https://news.ycombinator.com/item?id=48911854

> I like to use DuckDuckGo-style bangs and snaps, they are fast and efficient shortcuts. However, neither Kagi nor DuckDuckGo resolves them as quickly as I would like and subjectively Google has better search results than DuckDuckGo. After trying a few local alternatives eg. unduck, unduckified, I wasn't satisfied, the ones I tried briefly loaded a page before redirecting causing visible page flickering, still took time to resolve the actual redirect and lacked advanced features (address-bar autocomplete). Flashbang avoids that by handling the redirect in a Service Worker, before the browser renders anything. On my machine, the added ove rhead is around 0.14ms. It has 14,470 bangs, custom shortcuts, address-bar suggestions, and works offline once installed (except for suggestions). No runtime dependencies. Try it: https://flashbang-dyr.pages.dev Code: https://github.com/ph1losof/flashbang https://flashbang-dyr.pages.dev

## GitHub projects

- https://github.com/ph1losof/flashbang

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
