{"id":18400389,"url":"https://github.com/polarsource/polar-figma","last_synced_at":"2026-02-12T02:33:23.382Z","repository":{"id":260110272,"uuid":"877894357","full_name":"polarsource/polar-figma","owner":"polarsource","description":"A Figma example plugin with Polar License Key support","archived":false,"fork":false,"pushed_at":"2025-02-11T17:20:33.000Z","size":865,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T22:11:27.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/polarsource.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":"2024-10-24T12:32:17.000Z","updated_at":"2024-11-18T18:23:27.000Z","dependencies_parsed_at":"2024-11-06T03:04:16.776Z","dependency_job_id":null,"html_url":"https://github.com/polarsource/polar-figma","commit_stats":null,"previous_names":["polarsource/polar-figma"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarsource%2Fpolar-figma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarsource%2Fpolar-figma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarsource%2Fpolar-figma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarsource%2Fpolar-figma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polarsource","download_url":"https://codeload.github.com/polarsource/polar-figma/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248870461,"owners_count":21175046,"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":[],"created_at":"2024-11-06T02:32:32.817Z","updated_at":"2026-02-12T02:33:18.349Z","avatar_url":"https://github.com/polarsource.png","language":"TypeScript","funding_links":["https://docs.polar.sh/developers/guides/figma?ref=github"],"categories":[],"sub_categories":[],"readme":"# polar-figma\n\n![Polar Figma](./polar-figma.jpg)\n\nA simple example of how to use Polar License Key validation in a Figma plugin.\n\n[The complete guide can be found here](https://docs.polar.sh/developers/guides/figma?ref=github)\n\n### Development\n\nImport this plugin into Figma using \"Import Manifest\". Run the following command to start the development server:\n\n```bash\npnpm run dev\n```\n\n### Configuration\n\n#### Organization ID\n\nReplace `ORGANIZATION_ID` in `src/ui/main.tsx` with your actual organization ID. It can be found in your Polar Organization Settings page.\n\n#### Server Environment\n\nSet the `server` parameter in `src/ui/polar.ts` to `\"sandbox\"` to use the sandbox server for development. Switch this to `\"production\"` (or omit the parameter) when you're ready to go live.\n\n#### Manifest\n\nIt is very important to allow the plugin to access the Polar API. You can allow this by adding the following to the `networkAccess` section in `manifest.json`:\n\n```json\n\"networkAccess\": {\n\t\"allowedDomains\": [\"https://*.polar.sh\"]\n}\n```\n\nThis allows the plugin to validate license keys using the Polar API server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarsource%2Fpolar-figma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolarsource%2Fpolar-figma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarsource%2Fpolar-figma/lists"}