Skip to content

CLI to select Figma files from a project and download .fig exports

Notifications You must be signed in to change notification settings

arpansaha13/figma-export

Repository files navigation

Figma Export CLI

Download .fig archives for selected projects/files using the Figma API plus Playwright automation.

Features

  • Interactive selection of projects/files within a configured team
  • Safe filename sanitization and per-project output folders
  • Playwright-driven downloads

Documentation

Quick start

npm install
npm run build
npm run export

See the setup guide for detailed instructions, prerequisites, and troubleshooting tips.

Scripts

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.

Troubleshooting

Common options:

  • LAUNCH_HEADLESS=false to watch the automated browser.
  • Increase the EXPORT_*_TIMEOUT_MS values 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!

About

CLI to select Figma files from a project and download .fig exports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published