GitDeployHub

biasia/code-to-figma

github.com/biasia/code-to-figma ↗
Node.js API
4 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • NOTION_TOKEN secret Notion Integration Token 获取方式: https://www.notion.so/my-integrations
  • NOTION_HOME_PAGE_ID Notion Home Page ID (用于创建 Database)
  • FIGMA_IMPORT_DB_ID Figma Import Queue Database ID 从 Database URL 中提取: https://notion.so/xxx?v=DATABASE_ID
  • FIGMA_ACCESS_TOKEN secret Figma Personal Access Token (插件用) 获取方式: Figma Settings > Account > Personal Access Tokens
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/biasia/code-to-figma
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/biasia/code-to-figma
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/biasia/code-to-figma
Or deploy to a different host
← Try another repo