{"id":17041371,"url":"https://github.com/davestewart/figma-messaging","last_synced_at":"2025-04-12T14:33:11.211Z","repository":{"id":250711401,"uuid":"833818617","full_name":"davestewart/figma-messaging","owner":"davestewart","description":"Messaging library for Figma plugin developers","archived":false,"fork":false,"pushed_at":"2024-08-02T08:42:29.000Z","size":796,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:03:13.142Z","etag":null,"topics":["figma","figma-api","figma-plugins","ipc","message-bus"],"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/davestewart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-25T20:19:19.000Z","updated_at":"2025-03-03T01:36:34.000Z","dependencies_parsed_at":"2024-08-03T17:03:34.394Z","dependency_job_id":null,"html_url":"https://github.com/davestewart/figma-messaging","commit_stats":null,"previous_names":["davestewart/figma-messaging"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Ffigma-messaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Ffigma-messaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Ffigma-messaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davestewart%2Ffigma-messaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davestewart","download_url":"https://codeload.github.com/davestewart/figma-messaging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581358,"owners_count":21128155,"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","figma-api","figma-plugins","ipc","message-bus"],"created_at":"2024-10-14T09:12:16.712Z","updated_at":"2025-04-12T14:33:11.171Z","avatar_url":"https://github.com/davestewart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Figma Messaging\n\n\u003e Messaging library for Figma plugin developers\n\n![loading](docs/assets/ui-loading.gif)\n\n_Example of processing spinner in [Figma Variables Starter](https://github.com/masha312/figma-variables-starter)._\n\n## Overview\n\nFigma Messaging is a two-way, await-able and type-safe replacement for Figma's [Messaging API](https://www.figma.com/plugin-docs/creating-ui/#sending-messages-between-the-ui-and-plugin-code).\n\nIt has a [simple but powerful](docs/README.md#usage) API and can be used in both `main` and `ui` processes:\n\n```ts\n// actions\nconst handlers = {\n  create () { ... },\n  update () { ... },\n  ...\n}\n\n// incoming\nconst bus = makeBus(handlers)\n\n// outgoing\nbus.call('fooify', 'foo', 123, true)\n```\n\nAdditionally, TypeScript users can opt-in to full [auto-complete](docs/bus.md#ide-auto-complete) functionality, including:\n\nhandler **ids**:\n\n![screenshot](https://github.com/davestewart/figma-messaging/raw/main/docs/assets/ide-id.png)\n\nhandler **parameters**:\n\n![screenshot](https://github.com/davestewart/figma-messaging/raw/main/docs/assets/ide-params.png)\n\nhandler **responses**:\n\n![screenshot](https://github.com/davestewart/figma-messaging/raw/main/docs/assets/ide-return.png)\n\nFigma Messaging provides robust messaging capabilities for any [Figma Plugin](https://www.figma.com/plugin-docs/) with a build step.\n\n## Next steps\n\n- [Docs](./docs)\n- [Demo](./demo)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavestewart%2Ffigma-messaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavestewart%2Ffigma-messaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavestewart%2Ffigma-messaging/lists"}