Web-based unit database for Forged Alliance Forever (FAF).
Check it out here
Rewrite of the original spooky-db.
- Vue.js 3 + Vue Router + Pinia
- Vite
- Sass with auto-generated sprite sheets
- Vitest for testing
- Node.js-based Lua blueprint parser
npm install# Development server (http://localhost:9001)
npm run serve
# Production build
npm run build
# Run tests
npm run testThe project parses FAF Lua blueprints from the official repositories into JSON format:
# Download blueprints to local cache
npm run download-blueprints
# Generate data from cache (recommended for development)
npm run generate:cached
# Fetch and generate data on-the-fly
npm run generateGenerated files are output to src/public/data/:
index.json- Slim version with essential propertiesindex.fat.json- Complete unit dataversion.json- FAF version number
├── src/
│ ├── components/ # Vue components
│ ├── views/ # Route views
│ ├── stores/ # Pinia stores and utilities
│ ├── composables/ # Reusable composition functions
│ ├── sass/ # Styles and generated sprites
│ ├── public/ # Static assets and data
│ └── __tests__/ # Unit tests
├── tools/
│ └── generator/ # Data generation pipeline
├── vite.config.js # Vite configuration
└── vitest.config.js # Testing configuration