mirror of
https://github.com/ChiChou/entdb.git
synced 2026-12-05 11:13:40 +01:00
fdf0ab052bd469440dc65e37ae9f59ce0343a4ec
Open folders flatten into rows with a depth and only the rows near the viewport render (@tanstack/react-virtual, window scrolling, fixed row height). Values still line up: each row is the same two-column grid with the indent inside the first cell, and the name column's width is computed from the longest visible name (monospace), capped at half the width. Indent guides are drawn per row. Keyboard navigation works by row index (scrolling a row in when needed, counting quick presses from a pending target) and lands below the sticky header. Used by both the find and files pages; the subgrid layout and the content-visibility rule are gone. At 4x CPU on com.apple.private.tcc.allow (788 rows): Expand all 292 → 49 ms, clearing the value filter 314 → 61 ms, resize 1.2 → 0.4 s, ~6x fewer DOM nodes. Find-in-page only sees rendered rows; the filter searches all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
entdb
Web frontend for the Entitlement Database — browse iOS and macOS entitlements across OS versions.
Features
- Browse entitlement keys by OS version
- Search binaries by entitlement key
- Compare entitlements across versions with diff view
- View version history for individual binaries
Technical Details
Built as a static Next.js site deployed to GitHub Pages.
It reads precomputed JSON records from entdb-data: one file per build, plus key and binary records packed into 256 shards per kind, so every query is one or two whole-file fetches. Binaries' entitlements are stored as deduplicated key/value pairs that rebuild the original XML byte for byte (src/lib/engine/plist-xml.ts).
Related Repositories
| Repository | Description |
|---|---|
| entdb-indexer | Crontab workflow to discover and index firmware |
| entdb-data | Raw entitlement data repository |
Development
npm install
npm run dev
License
MIT
Languages
TypeScript
97.3%
CSS
2.7%