{"id":30180977,"url":"https://github.com/streamich/collaborative-ace","last_synced_at":"2025-08-12T08:06:47.094Z","repository":{"id":293626874,"uuid":"726803133","full_name":"streamich/collaborative-ace","owner":"streamich","description":"Collaborative editing support for Ace editor","archived":false,"fork":false,"pushed_at":"2025-08-07T18:33:38.000Z","size":17297,"stargazers_count":4,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T20:37:47.046Z","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/streamich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"streamich"}},"created_at":"2023-12-03T13:00:33.000Z","updated_at":"2025-07-21T08:43:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"032d8f3d-bf6c-4f77-bab7-437a8c5b2cc8","html_url":"https://github.com/streamich/collaborative-ace","commit_stats":null,"previous_names":["streamich/collaborative-ace"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/streamich/collaborative-ace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcollaborative-ace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcollaborative-ace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcollaborative-ace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcollaborative-ace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamich","download_url":"https://codeload.github.com/streamich/collaborative-ace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcollaborative-ace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270024697,"owners_count":24514054,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-12T08:06:21.912Z","updated_at":"2025-08-12T08:06:47.079Z","avatar_url":"https://github.com/streamich.png","language":"TypeScript","funding_links":["https://github.com/sponsors/streamich"],"categories":[],"sub_categories":[],"readme":"# Ace editor collaborative editing binding\n\nMakes a plain Ace editor instance collaborative by binding it to a JSON CRDT\ndocument `str` node. This allows multiple users to edit the same document\njson-joy JSON CRDT document concurrently through the Ace editor.\n\n\n## Usage\n\nInstallation:\n\n```\nnpm install json-joy ace-builds collaborative-ace\n```\n\nUsage:\n\n```ts\nimport {bind} from 'collaborative-ace';\nimport {Model} from 'json-joy/es2020/json-crdt';\n\n// ...\n\nconst unbind = bind(str, editor);\n\n// When done, unbind the binding.\nbinding.unbind();\n```\n\n\n## React Usage\n\nInstallation:\n\n```\nnpm install json-joy ace-builds collaborative-ace react-ace react react-dom\n```\n\nUsage:\n\nYou use the `\u003cCollaborativeAce\u003e` component exactly the same as the `\u003cAceEditor\u003e`\ncomponent from [`react-ace`](https://www.npmjs.com/package/react-ace), with the\nonly difference that you pass a `str` node from a JSON CRDT document instead of\na plain string `value` prop.\n\n```tsx\nimport {Model, s} from 'json-joy/lib/json-crdt';\nimport {CollaborativeAce} from 'collaborative-ace/lib/CollaborativeAce';\n\nconst model = Model.create(s.str('hello'));\n\nconst MyComponent = () =\u003e {\n  return \u003cCollaborativeAce str={model.s.toApi()} /\u003e\n};\n```\n\n\n## Preview\n\n- See [demo](https://streamich.github.io/collaborative-ace).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fcollaborative-ace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamich%2Fcollaborative-ace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fcollaborative-ace/lists"}