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

Configure Feed

Select the types of activity you want to include in your feed.

docs: add the new features and performance scores

+28 -23
+28 -23
README.md
··· 28 28 - [x] Search counter 29 29 - [x] [OpenSearch](https://developer.mozilla.org/en-US/docs/Web/XML/Guides/OpenSearch) support 30 30 - [x] Search History (clearable, all local, and disabled by default ofc) 31 - - [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set; sounds only account for 201.3 KB of the 707 KB total size) 31 + - [x] Fancy sounds (disabled if you have `prefers-reduced-motion` set; sounds only account for `198.5 KB` of the `717.4 KB` total size) 32 32 - [x] Cute little text animations 33 + - [x] Auto updating bangs file! (I'm using a [GitHub Action](https://github.com/taciturnaxolotl/unduck/actions/workflows/update-bangs.yaml) to update the bangs file every 24 hours) 34 + - [x] Hashmapped bangs for faster searching 35 + - [x] local font file to avoid google fonts 36 + - [x] redirects to the base page of a bang if there is no query (e.g. `!g` will take you to google.com and `!yt` will take you to youtube.com) 37 + - [x] Suffix bangs (e.g. `ghr! taciturnaxolotl/unduck` will take you to this github repo) 33 38 - [ ] ~Search suggestions~ (as far as I can tell this essentially impossible to do natively with either firefox or chrome; please correct me if I'm wrong though. In this case I would very much love to be wrong) 34 39 35 40 and then some more really ambitious stuff like: ··· 42 47 43 48 ## Fancy smancy technical graphs 😮 44 49 45 - The total size of the app is 707 KB (one time download) 50 + The total size of the app is `717.4 KB` (one time download) 46 51 47 52 ### Resource Breakdown 48 53 49 54 ```mermaid 50 55 graph TD 51 56 subgraph Resources by Size 52 - A[index-DDeT9iuD.js<br/>contains all the ddg bangs<br/>445 KB] 53 - B[Font File<br/>48.9 KB] 57 + A[index-B8HLUc3J.js<br/>contains all the ddg bangs<br/>482.5 KB] 58 + B[Font File<br/>25.1 KB] 54 59 subgraph Audio Files 55 - C[Audio Files<br/>195.3 KB Total] 60 + C[Audio Files<br/>198.5 KB Total] 56 61 end 57 62 subgraph Small Assets 58 - D[SVGs & CSS<br/>~10 KB] 63 + D[SVGs & CSS<br/>~11 KB] 59 64 end 60 65 end 61 66 ``` ··· 69 74 axisFormat %L 70 75 71 76 section Initial HTML 72 - GET / (3.1 KB) :done, h1, 07:13:59.714, 114ms 77 + GET / (2.8 KB) :done, h1, 10:07:29.038, 208ms 73 78 74 79 section JavaScript 75 - beacon.min.js :done, b1, 07:13:59.900, 0ms 76 - index-DDeT9iuD.js (445 KB) :done, j1, 07:13:59.901, 32ms 77 - registerSW.js (2.2 KB) :done, j2, 07:13:59.914, 69ms 78 - beacon.min.js (2nd) :done, b2, 07:14:00.035, 0ms 80 + beacon.min.js :done, b1, 10:07:29.279, 0ms 81 + index-B8HLUc3J.js (482.5 KB) :done, j1, 10:07:29.286, 32ms 82 + registerSW.js (2.2 KB) :done, j2, 10:07:29.287, 60ms 83 + beacon.min.js (2nd) :done, b2, 10:07:29.383, 0ms 79 84 80 85 section Styles 81 - CSS Font (2.1 KB) :done, c1, 07:13:59.900, 110ms 82 - Main CSS (3.6 KB) :done, c2, 07:13:59.902, 32ms 83 - Font File (48.9 KB) :done, f1, 07:14:00.051, 165ms 86 + Main CSS (3.8 KB) :done, c2, 10:07:29.287, 60ms 87 + Font File (25.1 KB) :done, f1, 10:07:29.379, 46ms 84 88 85 89 section Assets 86 - gear.svg (2.4 KB) :done, s1, 07:14:00.105, 30ms 87 - clipboard.svg (2.3 KB) :done, s2, 07:14:00.106, 29ms 88 - search.svg (2.3 KB) :done, s3, 07:14:00.220, 30ms 90 + gear.svg (2.5 KB) :done, s1, 10:07:29.494, 58ms 91 + clipboard.svg (2.4 KB) :done, s2, 10:07:29.495, 63ms 92 + search.svg (2.4 KB) :done, s3, 10:07:29.589, 32ms 89 93 90 94 section Audio 91 - heavier-tick.mp3 (22.4 KB) :done, a1, 07:14:00.107, 30ms 92 - toggle-off.mp3 (34.3 KB) :done, a2, 07:14:00.109, 30ms 93 - toggle-on.mp3 (34.3 KB) :done, a3, 07:14:00.110, 42ms 94 - click.mp3 (35.7 KB) :done, a4, 07:14:00.111, 38ms 95 - double.mp3 (34.3 KB) :done, a5, 07:14:00.113, 41ms 96 - foot-switch.mp3 (34.3 KB):done, a6, 07:14:00.113, 36ms 95 + heavier-tick-sprite.mp3 (22.4 KB) :done, a1, 10:07:29.495, 33ms 96 + toggle-off.mp3 (34.3 KB) :done, a2, 10:07:29.495, 32ms 97 + toggle-on.mp3 (34.3 KB) :done, a3, 10:07:29.496, 46ms 98 + click.mp3 (34.3 KB) :done, a4, 10:07:29.497, 35ms 99 + double.mp3 (34.3 KB) :done, a5, 10:07:29.498, 44ms 100 + foot-switch.mp3 (34.3 KB):done, a6, 10:07:29.498, 38ms 97 101 ``` 102 + 98 103 99 104 ## Screenshots 100 105