Exploded views, erupting parts.
Etna opens a dealer parts-catalog dump in your browser and lets you browse it the way the dealer software does. Open Etna and choose your dump folder, or press Try the demo to explore the built-in catalog of a ride-on toy car.
- Private and offline. The dump is read in the browser tab and never uploaded. The whole app is one HTML file you can keep and open from disk.
- Illustrations with hotspots. Pan and zoom exploded views; click a number to find its part, or a part to find it in the drawing. Previous/next with the arrow keys.
- Graphic navigation. Pick an area on a picture of the vehicle and see its illustrations as a list or a gallery, with instant, sharp previews on hover.
- Vehicle data. Enter the data sticker (type, engine, gearbox, equipment codes) and parts and illustrations that do not fit your vehicle are dimmed or hidden. Decode a VIN to its catalog.
- Retrofit planner. For any option, see the parts you would need, the parts it replaces, and what else it depends on.
- Shareable links. Point Etna at a dump hosted anywhere (IPFS, object storage, your NAS) and send a link that opens it, on the exact page you are looking at.
- Garage. Save vehicles once and reopen them with their catalog and codes; export a backup.
- Part details. Price, supersessions, where else a part is used, service notes and pictures.
- Search. Part numbers, descriptions across all catalogs, engine and gearbox codes, VINs.
- Parts list. Collect parts with quantities and prices; export CSV, copy or print.
- Paint and trim, engine and gearbox code registers, every language the dump carries, and a dark mode.
Graphic navigation: an area's illustrations as a gallery, with a hover preview. |
Vehicle data, entered like the car's data sticker, and saved to the garage. |
Retrofit planner: the parts an option needs on your vehicle. |
|
The screenshots show the built-in demo and follow your GitHub light or dark theme. Regenerate them
with make screenshots.
Etna can open a dump that lives on any static file host, so you can send someone a link instead of a copy of the dump. Etna reads only the files a page needs, straight from that host.
-
Add a file list. Static hosts cannot list folders, so the dump needs an
etna.json:make manifest DUMP=/path/to/dump/<brand> # writes <brand>/etna.json (about 300 KB)
-
Upload the brand folder to a host that serves it over HTTPS with CORS allowed for Etna's page and Range requests (most do). For example:
-
IPFS:
ipfs add -r --cid-version 1 <brand>and useipfs://<CID>as the link (served through theipfs.iogateway while your node, or a pinning service, keeps it available). -
Cloudflare R2, S3 or other object storage, with a CORS rule like:
[ { "AllowedOrigins": ["https://complex256.github.io"], "AllowedMethods": ["GET", "HEAD"], "AllowedHeaders": ["Range"], "MaxAgeSeconds": 86400 } ] -
nginx (for example on a NAS behind HTTPS):
location /dump/ { add_header Access-Control-Allow-Origin "https://complex256.github.io" always; add_header Access-Control-Allow-Headers "Range" always; if ($request_method = OPTIONS) { return 204; } }
-
-
Share the link. Paste the folder's URL into Open link on Etna's welcome page, or build the link yourself:
https://complex256.github.io/etna/?dump=https://files.example.com/dump/<brand>/Once it is open, Copy link in the top bar copies a link to the page you are on, dump included.
Etna never uploads or copies the dump; whoever hosts it decides who can reach it. A host with access control (a private bucket, a NAS on a private network) keeps it to the people you choose.
Published to https://complex256.github.io/etna/ from main by .github/workflows/pages.yml,
which also runs the checks and tests. You can download the page and open it from disk too.
The toolchain is Vite+ (vp): it manages the Node version (.node-version)
and pnpm, and runs the dev server, build, tests, lint (Oxlint) and format (Oxfmt).
curl -fsSL https://vite.plus | bash # once; then open a new shell
make install| Command | What it does |
|---|---|
make dev |
Dev server with hot reload that opens DUMP directly |
make build |
Type-check and build dist/index.html |
make serve |
Build and serve it on localhost (the folder picker needs localhost or HTTPS) |
make test |
Format, lint and type checks, then unit tests (the dump tests use DUMP) |
make e2e |
Browser tests (Playwright): the demo catalog, plus DUMP when set |
make screenshots |
Retake the README screenshots from the demo, light and dark |
make manifest |
Write etna.json into DUMP, for hosting it as static files |
DUMP is a brand folder, the one containing Data1/Data2, Bilder and minis:
make dev DUMP=/path/to/dump/<brand> (or export DUMP once in your shell).
src/lib/— the data layer, no UI: table and record decoding (format/), the dump model, lookups, the vehicle-data rules, VIN decoding, illustrations.src/urlState.ts,src/router.ts,src/routes.ts— the app state and its URLs (#/USA/catalog/849/plate/85771?model=…).src/stores/— Pinia stores: the open dump, vehicle data, the parts list.src/views/— one component per page;src/components/— shared parts (illustration stage, thumbnails and hover preview, part drawer, vehicle-data dialog, …).src/demo/— the demo catalog: a made-up toy car drawn and encoded in the dump formats in the browser (it also gives the tests a dump that needs no real catalog).plugins/dump-server.ts— dev only: servesDUMPat/__dump/with HTTP range support.tests/unit/(Vitest viavp test) andtests/e2e/(Playwright).