/figma-gpt

Primary LanguageTypeScript

Demo

To use this plugin:

  • Get an OpenAI API key
  • paste it in an gpt-api/.env file with same format as gpt-api/.env.example
  • run npm install
  • run npm run dev inside gpt-api/
  • Open the local plugin with Figma desktop app, pointing it to the manifest.json file inside the gpt-api/dist folder

Limitations

ChatGPT not always returns valid code, you may need to retry a few times to get the actual code