{"id":13929665,"url":"https://github.com/yjs/Ywasm","last_synced_at":"2025-07-19T11:32:43.138Z","repository":{"id":66186583,"uuid":"304748942","full_name":"yjs/Ywasm","owner":"yjs","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-14T15:22:01.000Z","size":63,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-13T21:10:18.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"dmonad","patreon":null,"open_collective":"y-collective","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-16T22:13:04.000Z","updated_at":"2024-02-28T22:47:46.000Z","dependencies_parsed_at":"2023-02-21T17:00:20.431Z","dependency_job_id":null,"html_url":"https://github.com/yjs/Ywasm","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"693ce29c9fff46577178e39fd487c7a4c3058584"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjs%2FYwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjs","download_url":"https://codeload.github.com/yjs/Ywasm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226597782,"owners_count":17657211,"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-08-07T18:02:28.683Z","updated_at":"2024-11-26T18:31:04.115Z","avatar_url":"https://github.com/yjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/dmonad","https://opencollective.com/y-collective"],"categories":["others"],"sub_categories":[],"readme":"# Ywasm\n\n\u003e Wasm bindings of the [Yrs](https://github.com/yjs/yrs/) CRDT\n\n### 🛠️ Build with `wasm-pack build`\n\n```sh\nwasm-pack build\n```\n\nThen open the demo application:\n\n```sh\ncd www\nnpm i\nnpm start\n```\n\n### 🔬 Test in Headless Browsers with `wasm-pack test`\n\n```sh\nwasm-pack test --headless --firefox\n```\n\n### 🎁 Publish to NPM with `wasm-pack publish`\n\n```sh\nwasm-pack publish\n```\n\n### Advantages over Yjs\n\n\n* Manual garbage collection. I.e. doesn't track every character as a separate object.\n* Uses wee_alloc as a minimal memory management library.\n* Small bundle size.\n\n\n### Todo\n\n* Switch to monorepo.\n* Reimplement classes from Yrs to export information custom to the web.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjs%2FYwasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjs%2FYwasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjs%2FYwasm/lists"}