Skip to content

File Index

Pablo Martínez López edited this page Oct 21, 2026 · 26 revisions

File Index

English · Español

Where each area of the repository lives and which wiki page documents it. File lists are taken from the source tree; for per-file behaviour follow the page link.

Repository root

Path Responsibility Page
package.json, pnpm-workspace.yaml Scripts, dependencies, pnpm policy Development-Setup
biome.json, knip.json, lint-staged.config.mjs, .husky/ Lint, dead-code and commit hooks Development-Setup, Testing-and-CI
vite.config.ts, vitest.config.ts, tsconfig*.json Build and test configuration Frontend-Architecture
.github/workflows/ci.yml, release.yml CI gates and release pipeline Testing-and-CI, Releases-and-Auto-Updates
scripts/ idiomas.mjs, sin-title-nativo.mjs, release.mjs, release-notas.mjs, emoji-noto.mjs, icon/back-image helpers, __tests__/ (idiomas.test.mjs, release-notas.test.mjs) Testing-and-CI, Releases-and-Auto-Updates, Frontend-Architecture
README.md, README.es.md, docs/presentacion/ User-facing presentation and screenshots User-Guide
docs/packs-de-marcos.md Original pack-format document Frame-Packs
CLAUDE.md Project instructions for the AI assistant Conventions

Rust: src-tauri/ (application crate)

Path Responsibility Page
src-tauri/src/main.rs, src-tauri/src/lib.rs, src-tauri/src/state.rs Startup, command registration, AppState Rust-App-Layer
src-tauri/src/error.rs, src-tauri/src/jobs.rs, src-tauri/src/registro.rs AppError, long jobs, logging IPC-and-Error-Handling, Rust-App-Layer
src-tauri/src/protocol.rs, src-tauri/src/render.rs pbimg:// protocol, thumbnails and render cache Rust-App-Layer, Live-Preview
src-tauri/src/commands/ (cards, carpetas, decklist, diseno, export, fuentes, identify, layout, library, sistema, stats, temas, actualizar) Tauri commands by area IPC-and-Error-Handling
src-tauri/src/store/ (db, decks, blobs, colecciones, etiquetas, presets, settings, migrations/0001…0004) SQLite persistence and blob store Storage-and-Blobs
src-tauri/src/package.rs .pbdeck import/export Deck-Package-Format
src-tauri/src/biblioteca.rs Offline deck details for the library Deck-Library
src-tauri/src/scryfall/ (client, rate, cache, models, resolve, busquedas, fichas, fichas_auto, nombres) Scryfall client and resolution Scryfall-Integration
src-tauri/src/archidekt.rs Archidekt deck import Decklist-Parsing
src-tauri/src/fuentes/ (mod, cockatrice, mtgio, mtgjson) Allow-listed external sources External-Sources
src-tauri/src/ocr.rs, src-tauri/src/originales.rs, src-tauri/src/commands/identify.rs OCR and original-name identification Card-Identification-and-OCR
src-tauri/src/diseno/ (borrador, recursos, pintar, vista, arte, lote, png, traduccion, portapapeles, original, descargables, letras_libres, idioma, letras_cjk) Designer application side (idioma: complete a design language in a deck; letras_cjk: download the Japanese, Korean and Chinese fonts) Designer-App-Layer, Frame-Packs
src-tauri/src/temas.rs tweakcn theme install Themes-and-Skins
src-tauri/src/actualizar.rs In-app updater Releases-and-Auto-Updates
src-tauri/tauri.conf.json, src-tauri/capabilities/, src-tauri/build.rs Tauri configuration Rust-App-Layer
src-tauri/assets/ (letras-libres.json, packs-descargables.json, letras-cjk.json, reverso-generico.png) Pinned catalogues (free fonts, downloadable packs, Noto Sans JP/KR/SC/TC) and the generic card back Frame-Packs, Designer-App-Layer

Rust: src-tauri/crates/proxy-core/ (pure engine)

Path Responsibility Page
src-tauri/crates/proxy-core/src/model.rs Deck model and cuentan rule Deck-Model
src-tauri/crates/proxy-core/src/paper.rs, src-tauri/crates/proxy-core/src/units.rs Paper sizes and unit conversions Layout-Engine
src-tauri/crates/proxy-core/src/layout/ (plan, grid, arrange) PagePlan Layout-Engine
src-tauri/crates/proxy-core/src/imaging/ (frame, bleed, corners, edges, adjust, blur, decode, encode, probe, pipeline) Image processing Imaging-and-PDF
src-tauri/crates/proxy-core/src/pdf/ (compose, estimate, calibration) PDF generation Imaging-and-PDF, Export
src-tauri/crates/proxy-core/src/decklist/ (mod, exportar) List parser and exporter Decklist-Parsing
src-tauri/crates/proxy-core/src/stats/ (mod, funciones, mana, prob) Statistics Statistics
src-tauri/crates/proxy-core/src/diseno/ (modelo, efectivo, pack, texto, pintar, render, componer, maquetacion, estructura, cuerpos, simbolos, letras, emoji, borrador, textos_motor, tipos_idiomas) Designer engine (textos_motor: fixed words the engine paints per design language; tipos_idiomas: offline type lines in other languages) Designer-Engine, Designer-Composition, Frame-Packs
src-tauri/crates/proxy-core/assets/marcos/builtin/, src-tauri/crates/proxy-core/assets/marcos/original/imagenes.json, src-tauri/crates/proxy-core/assets/fuentes/ Built-in pack, Original hash manifest, bundled fonts (Spectral, Montserrat, Caladea, and Noto-COLRv1.ttf with Noto-COLRv1-LICENSE.txt for colour emoji) Frame-Packs, Designer-Engine
src-tauri/crates/proxy-core/tests/ (dorados.rs, layouts.rs, dorados/, comun/, compatibilidad/diseno-2.5.9.json) Golden and layout tests, and the saved 2.5.9 design for compatibility tests Testing-and-CI, Designer-Engine

Frontend: src/

Path Responsibility Page
main.tsx, App.tsx Entry, providers, window reveal Frontend-Architecture, Settings-and-Shell
bindings/ Generated TypeScript types (do not edit) IPC-and-Error-Handling
lib/ (ipc, errores, trabajos, dialogos, image-url, imagen-viva, deck-ops, cartas, idiomas, por-idioma, themes, tema-inicial, temas-instalados, SmoothScroll, utils) Shared helpers (idiomas: the table of the 15 languages; por-idioma: ByLang beyond es/en) Frontend-Architecture, IPC-and-Error-Handling
stores/ (deck-store, plan-store, ui-store, trabajo-store, actualizacion-store) Screen state State-Stores
components/, components/ui/ Shared and base components (including selector-idioma.tsx and emoji.tsx) Frontend-Architecture, Settings-and-Shell
assets/emoji/ Noto Color Emoji images for the UI, fuentes.json, LICENSE.md Frontend-Architecture
i18n/ (<code>/ per language, cargar.ts, traducir.ts, tipos.ts, GLOSARIO.md) Interface dictionaries by language and area, lazy loading, translation with plurals, translators' glossary Internationalization
themes.css, index.css, fonts.css Theme tokens, global rules, fonts Themes-and-Skins
features/decklist/ Left panel Decklist-Panel
features/variants/ Add card, printings, linking Add-Card-and-Variants, Card-Identification-and-OCR
features/set-browser/ Set browser Set-Browser
features/preview/ Sheets, slots, menu, drag Live-Preview
features/export/ Right panel, presets, list export Export
features/stats/ Statistics dialog Statistics
features/library/ Deck library screen Deck-Library
features/card-editor/ «Editar carta» Card-Editor-Dialog
features/disenar/ «Diseñar» view Designer-UI
features/settings/, features/shell/ Settings dialog, shell, updates UI Settings-and-Shell, Releases-and-Auto-Updates

See also

Documentation · Documentación

Language: English · Español

Use and build · Uso y desarrollo

Architecture · Arquitectura

Data · Datos

Getting cards · Conseguir cartas

Layout, images, PDF · Maquetación, imagen y PDF

Card designer · Diseñador de cartas

Game table · Mesa de juego

Frontend · Frontend

Reference · Referencia

Clone this wiki locally