{"id":15044757,"url":"https://github.com/yuanqing/figmake","last_synced_at":"2026-01-21T10:36:22.793Z","repository":{"id":57235334,"uuid":"262339165","full_name":"yuanqing/figmake","owner":"yuanqing","description":":icecream: A tiny CLI for making Figma plugins in HTML, CSS, and vanilla JavaScript","archived":false,"fork":false,"pushed_at":"2021-01-30T07:40:16.000Z","size":269,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T18:53:26.885Z","etag":null,"topics":["figma","figma-plugin","figma-plugins"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuanqing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-08T14:04:05.000Z","updated_at":"2024-08-27T07:50:04.000Z","dependencies_parsed_at":"2022-08-31T20:51:20.291Z","dependency_job_id":null,"html_url":"https://github.com/yuanqing/figmake","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/yuanqing/figmake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanqing%2Ffigmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanqing%2Ffigmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanqing%2Ffigmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanqing%2Ffigmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuanqing","download_url":"https://codeload.github.com/yuanqing/figmake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanqing%2Ffigmake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","figma-plugin","figma-plugins"],"created_at":"2024-09-24T20:50:59.858Z","updated_at":"2026-01-21T10:36:22.775Z","avatar_url":"https://github.com/yuanqing.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Figmake [![npm Version](https://img.shields.io/npm/v/figmake?cacheSeconds=1800)](https://www.npmjs.com/package/figmake) [![build](https://github.com/yuanqing/figmake/workflows/build/badge.svg)](https://github.com/yuanqing/figmake/actions?query=workflow%3Abuild)\n\n\u003e A tiny CLI for making [Figma plugins](https://figma.com/plugin-docs/) with HTML, CSS, and vanilla JavaScript\n\n- Stitches together `ui.html`, `ui.scss`, and `ui.js` into a single HTML file for your plugin UI\n- Automatically inlines any image assets into the generated HTML file\n\n## Goals\n\n- As few files as possible\n- No `package.json` or `node_modules`\n- No TypeScript\n- No JavaScript UI framework; just use [`figma-plugin-ds`](https://github.com/thomas-lowry/figma-plugin-ds)\n- No API; just use the [Figma plugin API](https://figma.com/plugin-docs/)\n- Tiny CLI that just does one thing\n\n## Quick start\n\n*Requires [Node.js](https://nodejs.org/).*\n\nFirst:\n\n```\n$ npm i -g figmake\n```\n\nFigmake assumes that your plugin code comprises the following files:\n\n```\nmain.js\nmanifest.json\nui.scss\nui.html\nui.js\n```\n\n(Of these, only `main.js` and [`manifest.json`](https://figma.com/plugin-docs/manifest/) are mandatory.)\n\n`manifest.json` should look something like:\n\n```json\n{\n  \"name\": \"My Plugin\",\n  \"id\": \"314159265358979323\",\n  \"api\": \"1.0.0\",\n  \"main\": \"build/main.js\",\n  \"ui\": \"build/ui.html\"\n}\n```\n\nTo build the plugin:\n\n```\n$ figmake\n```\n\nThis will generate the following two files:\n\n- **`build/main.js`** — The plugin entry point, built from `main.js`.\n- **`build/ui.html`** — HTML file for the plugin UI, stitched together from `ui.html`, `ui.scss`, and `ui.js`.\n    - `ui.scss` will be compiled down to CSS.\n    - Image assets referenced in `ui.html` and `ui.scss` will be inlined into the resulting HTML file.\n\nTo watch for code changes and rebuild the plugin automatically:\n\n```\n$ figmake -w\n```\n\nTo minify the output files:\n\n```\n$ figmake -m\n```\n\n## See also\n\n- [Create Figma Plugin](https://github.com/yuanqing/create-figma-plugin)\n\n## License\n\n[MIT](/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanqing%2Ffigmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuanqing%2Ffigmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanqing%2Ffigmake/lists"}