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
+7 -7
+1 -1
README.md
··· 30 30 - [x] Search counter 31 31 - [x] [OpenSearch](https://developer.mozilla.org/en-US/docs/Web/XML/Guides/OpenSearch) support 32 32 - [x] Search History (clearable, all local, and disabled by default ofc) 33 - - [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set) 33 + - [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set and they are only `28kb`) 34 34 - [x] Cute little text animations 35 35 - [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) 36 36 - [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
··· 292 292 }); 293 293 294 294 const audio = { 295 - spin: createAudio("/heavier-tick-sprite.mp3"), 296 - toggleOff: createAudio("/toggle-button-off.mp3"), 297 - toggleOn: createAudio("/toggle-button-on.mp3"), 298 - click: createAudio("/click-button.mp3"), 299 - warning: createAudio("/double-button.mp3"), 300 - copy: createAudio("/foot-switch.mp3"), 295 + spin: createAudio("/heavier-tick-sprite.opus"), 296 + toggleOff: createAudio("/toggle-button-off.opus"), 297 + toggleOn: createAudio("/toggle-button-on.opus"), 298 + click: createAudio("/click-button.opus"), 299 + warning: createAudio("/double-button.opus"), 300 + copy: createAudio("/foot-switch.opus"), 301 301 }; 302 302 303 303 validatedElements.copyButton.addEventListener("click", () => {