{"id":13614088,"url":"https://github.com/kazuyaseki/code-transformer-for-Figma","last_synced_at":"2025-04-13T18:32:09.878Z","repository":{"id":154538381,"uuid":"630528131","full_name":"kazuyaseki/code-transformer-for-Figma","owner":"kazuyaseki","description":"Figma plugin to generate code using OpenAI API","archived":false,"fork":false,"pushed_at":"2025-04-08T13:22:10.000Z","size":509,"stargazers_count":70,"open_issues_count":11,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T14:28:06.867Z","etag":null,"topics":["figma","openai","openai-api","plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kazuyaseki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-20T15:15:23.000Z","updated_at":"2025-03-08T13:07:27.000Z","dependencies_parsed_at":"2024-04-16T17:43:25.426Z","dependency_job_id":"b9c98a6d-f60f-46a7-9ec0-1f9f71b84a84","html_url":"https://github.com/kazuyaseki/code-transformer-for-Figma","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.24137931034482762","last_synced_commit":"0826adba9a62846168dc67cc72961bdbbb9f937a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuyaseki%2Fcode-transformer-for-Figma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuyaseki%2Fcode-transformer-for-Figma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuyaseki%2Fcode-transformer-for-Figma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuyaseki%2Fcode-transformer-for-Figma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazuyaseki","download_url":"https://codeload.github.com/kazuyaseki/code-transformer-for-Figma/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760462,"owners_count":21157363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["figma","openai","openai-api","plugin"],"created_at":"2024-08-01T20:00:56.761Z","updated_at":"2025-04-13T18:32:08.871Z","avatar_url":"https://github.com/kazuyaseki.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/kazuyaseki/figma-to-react/graphs/commit-activity)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/kazuyaseki/figma-to-react/pulls)\n[![Tweeting](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=figma-code-transformer%20is%20awesome%20https://github.com/kazuyaseki/figma-code-transformer/)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"docs/heading.png\" align=\"center\" alt=\"Figma Code Transformer logo\"\u003e\u003c/p\u003e\n\n# code-transformer for Figma\n\nFigma Plugin to generate code using OpenAI API.\n\nNOTE: as of right now, OpenAI API does not seem to generate code in good quality with gpt-3.5-turbo.\n\nhttps://user-images.githubusercontent.com/6080698/234930449-b5b0f3cb-2d82-454c-be57-4dd4f969942f.mp4\n\n## To Develop\n\nFirst create .env file and set your OpenAI API key and GitHub API key, repository owner and name where you would want to push result code.\n\n```\n$ cp .env.sample .env\n```\n\nBuild Plugin with the following commands\n\n```\n$ npm install --legacy-peer-deps\n$ npm run build\n```\n\nTo watch for code changes and rebuild the plugin automatically:\n\n```\n$ npm run watch\n```\n\nThen install the plugin in Figma\n\n1. In the Figma desktop app, open a Figma document.\n2. Search for and run `Import plugin from manifest…` via the Quick Actions search bar.\n3. Select the `manifest.json` file that was generated by the `build` script.\n\n## Resources\n\n- [Plugin API docs](https://figma.com/plugin-docs/)\n- [`figma/plugin-samples`](https://github.com/figma/plugin-samples#readme)\n\n## Credits\n\nThis plugin is made with [Create Figma Plugin](https://yuanqing.github.io/create-figma-plugin/)\n\nThis plugin is sponsered by [Gaudiy](https://gaudiy.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuyaseki%2Fcode-transformer-for-Figma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuyaseki%2Fcode-transformer-for-Figma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuyaseki%2Fcode-transformer-for-Figma/lists"}