A fast, local-first "redirection engine" for !bang users with a few extra features ^-^

feat: switch to opus for better compression

dunkirk.sh a2b68b10 fd6c66d4

verified
+1 -1
README.md
···
- [x] Search counter
- [x] [OpenSearch](https://developer.mozilla.org/en-US/docs/Web/XML/Guides/OpenSearch) support
- [x] Search History (clearable, all local, and disabled by default ofc)
-
- [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set)
+
- [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set and they are only `28kb`)
- [x] Cute little text animations
- [x] Auto updating bangs file! (I'm using a [GitHub Action](https://github.com/taciturnaxolotl/unduckified/actions/workflows/update-bangs.yaml) to update the bangs file every 24 hours)
- [x] Hashmapped bangs for faster searching
public/click-button.mp3

This is a binary file and will not be displayed.

public/click-button.opus

This is a binary file and will not be displayed.

public/double-button.mp3

This is a binary file and will not be displayed.

public/double-button.opus

This is a binary file and will not be displayed.

public/foot-switch.mp3

This is a binary file and will not be displayed.

public/foot-switch.opus

This is a binary file and will not be displayed.

public/heavier-tick-sprite.mp3

This is a binary file and will not be displayed.

public/heavier-tick-sprite.opus

This is a binary file and will not be displayed.

public/toggle-button-off.mp3

This is a binary file and will not be displayed.

public/toggle-button-off.opus

This is a binary file and will not be displayed.

public/toggle-button-on.mp3

This is a binary file and will not be displayed.

public/toggle-button-on.opus

This is a binary file and will not be displayed.

+6 -6
src/main.ts
···
});
const audio = {
-
spin: createAudio("/heavier-tick-sprite.mp3"),
-
toggleOff: createAudio("/toggle-button-off.mp3"),
-
toggleOn: createAudio("/toggle-button-on.mp3"),
-
click: createAudio("/click-button.mp3"),
-
warning: createAudio("/double-button.mp3"),
-
copy: createAudio("/foot-switch.mp3"),
+
spin: createAudio("/heavier-tick-sprite.opus"),
+
toggleOff: createAudio("/toggle-button-off.opus"),
+
toggleOn: createAudio("/toggle-button-on.opus"),
+
click: createAudio("/click-button.opus"),
+
warning: createAudio("/double-button.opus"),
+
copy: createAudio("/foot-switch.opus"),
};
validatedElements.copyButton.addEventListener("click", () => {