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

docs: add the new features and performance scores

Changed files
+28 -23
+28 -23
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; sounds only account for 201.3 KB of the 707 KB total size)
+
- [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)
- [x] Cute little text animations
+
- [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)
+
- [x] Hashmapped bangs for faster searching
+
- [x] local font file to avoid google fonts
+
- [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)
+
- [x] Suffix bangs (e.g. `ghr! taciturnaxolotl/unduck` will take you to this github repo)
- [ ] ~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)
and then some more really ambitious stuff like:
···
## Fancy smancy technical graphs 😮
-
The total size of the app is 707 KB (one time download)
+
The total size of the app is `717.4 KB` (one time download)
### Resource Breakdown
```mermaid
graph TD
subgraph Resources by Size
-
A[index-DDeT9iuD.js<br/>contains all the ddg bangs<br/>445 KB]
-
B[Font File<br/>48.9 KB]
+
A[index-B8HLUc3J.js<br/>contains all the ddg bangs<br/>482.5 KB]
+
B[Font File<br/>25.1 KB]
subgraph Audio Files
-
C[Audio Files<br/>195.3 KB Total]
+
C[Audio Files<br/>198.5 KB Total]
end
subgraph Small Assets
-
D[SVGs & CSS<br/>~10 KB]
+
D[SVGs & CSS<br/>~11 KB]
end
end
```
···
axisFormat %L
section Initial HTML
-
GET / (3.1 KB) :done, h1, 07:13:59.714, 114ms
+
GET / (2.8 KB) :done, h1, 10:07:29.038, 208ms
section JavaScript
-
beacon.min.js :done, b1, 07:13:59.900, 0ms
-
index-DDeT9iuD.js (445 KB) :done, j1, 07:13:59.901, 32ms
-
registerSW.js (2.2 KB) :done, j2, 07:13:59.914, 69ms
-
beacon.min.js (2nd) :done, b2, 07:14:00.035, 0ms
+
beacon.min.js :done, b1, 10:07:29.279, 0ms
+
index-B8HLUc3J.js (482.5 KB) :done, j1, 10:07:29.286, 32ms
+
registerSW.js (2.2 KB) :done, j2, 10:07:29.287, 60ms
+
beacon.min.js (2nd) :done, b2, 10:07:29.383, 0ms
section Styles
-
CSS Font (2.1 KB) :done, c1, 07:13:59.900, 110ms
-
Main CSS (3.6 KB) :done, c2, 07:13:59.902, 32ms
-
Font File (48.9 KB) :done, f1, 07:14:00.051, 165ms
+
Main CSS (3.8 KB) :done, c2, 10:07:29.287, 60ms
+
Font File (25.1 KB) :done, f1, 10:07:29.379, 46ms
section Assets
-
gear.svg (2.4 KB) :done, s1, 07:14:00.105, 30ms
-
clipboard.svg (2.3 KB) :done, s2, 07:14:00.106, 29ms
-
search.svg (2.3 KB) :done, s3, 07:14:00.220, 30ms
+
gear.svg (2.5 KB) :done, s1, 10:07:29.494, 58ms
+
clipboard.svg (2.4 KB) :done, s2, 10:07:29.495, 63ms
+
search.svg (2.4 KB) :done, s3, 10:07:29.589, 32ms
section Audio
-
heavier-tick.mp3 (22.4 KB) :done, a1, 07:14:00.107, 30ms
-
toggle-off.mp3 (34.3 KB) :done, a2, 07:14:00.109, 30ms
-
toggle-on.mp3 (34.3 KB) :done, a3, 07:14:00.110, 42ms
-
click.mp3 (35.7 KB) :done, a4, 07:14:00.111, 38ms
-
double.mp3 (34.3 KB) :done, a5, 07:14:00.113, 41ms
-
foot-switch.mp3 (34.3 KB):done, a6, 07:14:00.113, 36ms
+
heavier-tick-sprite.mp3 (22.4 KB) :done, a1, 10:07:29.495, 33ms
+
toggle-off.mp3 (34.3 KB) :done, a2, 10:07:29.495, 32ms
+
toggle-on.mp3 (34.3 KB) :done, a3, 10:07:29.496, 46ms
+
click.mp3 (34.3 KB) :done, a4, 10:07:29.497, 35ms
+
double.mp3 (34.3 KB) :done, a5, 10:07:29.498, 44ms
+
foot-switch.mp3 (34.3 KB):done, a6, 10:07:29.498, 38ms
```
+
## Screenshots