Something went wrong. Try again.
faster and less aggrevating mycu
Something went wrong. Try again.
Files
README.md
mycu rocket edition™ #
mycu.cedarville.edu is a simple link directory which currently manages to use two frameworks, 63 requests and 5 MB of markup + re-downloading the catalog on every navigation. this does it slightly more elegantly
| myCU | this | |
|---|---|---|
| requests | 63 | 6 |
| transferred | 1.05 MB | 93 KB |
| decompressed | 4.98 MB | 265 KB |
| first contentful paint | 560 ms | ~150 ms |
| catalog fetch | 72 KB, every navigation | 0, it's in the bundle |
| search | server round trip | ~0.5 ms, local |
Refreshing the catalog #
Run src/catalog/sync.js in the console on connect.cedarville.edu while signed in, or save it as a bookmarklet.
mv ~/Downloads/mycu-tasks.json data/
bun run pack # rewrites src/catalog/catalog.json
We drop announcements since they change fairly often and also strip the dump from 412 KB to 175 KB by dropping unused fields, interning categories, and folding each task's keywords and department into one deduplicated search blob.
© 2026-present Kieran Klukas
·
Copy SHA
·
Copy SHA
- TypeScript 61%
- CSS 26%
- HTML 7%
- Shell 3%
- JavaScript 3%