Download .fig archives for selected projects/files using the Figma API plus Playwright automation.
- Interactive selection of projects/files within a configured team
- Safe filename sanitization and per-project output folders
- Playwright-driven downloads
npm install
npm run build
npm run exportSee the setup guide for detailed instructions, prerequisites, and troubleshooting tips.
| Command | Description |
|---|---|
npm run dev |
Run the CLI via ts-node (no build). |
npm run build |
Compile TypeScript to dist/. |
npm run export |
Build and run the exporter (node dist/index.js). |
npm start |
Run dist/index.js without rebuilding. |
Common options:
LAUNCH_HEADLESS=falseto watch the automated browser.- Increase the
EXPORT_*_TIMEOUT_MSvalues if you have slow network or large files. - Use the
[FIGMA_AUTH_COOKIE | FIGMA_EMAIL/FIGMA_PASSWORD]combo that best matches your org’s auth rules.
For more detail, consult the docs linked above. Contributions and bug reports are welcome!