Build, compare and share your Age of Empires Online units
Requires Node.js 24 (see .nvmrc).
nvm install 24
nvm use 24
npm install
Downloads the game data and art, then regenerates src/data, the sitemap, the app icons and the sprite sheets.
npm run generate
npm run dev
(Robots.txt denies everything)
npm run build
(Robots.txt allows everything)
npm run build-prod
npm run preview
npm run lint
See Vite Configuration Reference.
The server for build sharing is located in the server directory. For deployment, the content of the dist folder generated by building the front app must be located into a front directory in the server's working directory.
Builds are stored using sqlite, in a file named "build-db.sqlite" located in the server's working directory, and expire after 6 months. It is recommended to clear this file with each new deployment to avoid old builds causing errors in case something has changed in the game files.
The server should be running behind an apache or nginx proxy configured with gzip and caching.
The server requires Node.js 24 as well.
Caching exceptions:
front/service-worker.jsandfront/sitemap.xmlshould NOT be cached
Age of Empires Online © Microsoft Corporation. This unit builder application was created under Microsoft's Game Content Usage Rules using assets from Age of Empires Online, and it is not endorsed by or affiliated with Microsoft.
This application is MIT Licensed. Copyright © 2020 Jérémy LAMBERT (SystemGlitch)