{"id":13394209,"url":"https://github.com/share/sharedb","last_synced_at":"2025-12-16T15:51:52.479Z","repository":{"id":7786583,"uuid":"9156525","full_name":"share/sharedb","owner":"share","description":"Realtime database backend based on Operational Transformation (OT)","archived":false,"fork":false,"pushed_at":"2025-03-26T11:24:12.000Z","size":3764,"stargazers_count":6398,"open_issues_count":151,"forks_count":453,"subscribers_count":108,"default_branch":"master","last_synced_at":"2025-05-06T19:52:02.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/share.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2013-04-01T21:30:46.000Z","updated_at":"2025-05-05T12:57:03.000Z","dependencies_parsed_at":"2023-12-05T19:27:21.875Z","dependency_job_id":"72c18913-1699-47df-856d-c949013af687","html_url":"https://github.com/share/sharedb","commit_stats":{"total_commits":1247,"total_committers":65,"mean_commits":"19.184615384615384","dds":0.6880513231756216,"last_synced_commit":"fb630c47215f35008dd933e966a112e424a40c11"},"previous_names":["share/livedb"],"tags_count":194,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/share%2Fsharedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/share%2Fsharedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/share%2Fsharedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/share%2Fsharedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/share","download_url":"https://codeload.github.com/share/sharedb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000820,"owners_count":21997441,"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-07-30T17:01:12.524Z","updated_at":"2025-12-16T15:51:47.459Z","avatar_url":"https://github.com/share.png","language":"JavaScript","readme":"# ShareDB\n\n  [![NPM Version](https://img.shields.io/npm/v/sharedb.svg)](https://npmjs.org/package/sharedb)\n  ![Test](https://github.com/share/sharedb/workflows/Test/badge.svg)\n  [![Coverage Status](https://coveralls.io/repos/github/share/sharedb/badge.svg?branch=master)](https://coveralls.io/github/share/sharedb?branch=master)\n\nShareDB is a realtime database backend based on [Operational Transformation\n(OT)](https://en.wikipedia.org/wiki/Operational_transformation) of JSON\ndocuments. It is the realtime backend for the [DerbyJS web application\nframework](http://derbyjs.com/).\n\nFor help, questions, discussion and announcements, join the [ShareJS mailing\nlist](https://groups.google.com/forum/?fromgroups#!forum/sharejs) or [read the documentation](https://share.github.io/sharedb/\n).\n\nPlease report any bugs you find to the [issue\ntracker](https://github.com/share/sharedb/issues).\n\n## Features\n\n - Realtime synchronization of any JSON document\n - Concurrent multi-user collaboration\n - Synchronous editing API with asynchronous eventual consistency\n - Realtime query subscriptions\n - Simple integration with any database\n - Horizontally scalable with pub/sub integration\n - Projections to select desired fields from documents and operations\n - Middleware for implementing access control and custom extensions\n - Ideal for use in browsers or on the server\n - Offline change syncing upon reconnection\n - In-memory implementations of database and pub/sub for unit testing\n - Access to historic document versions\n - Realtime user presence syncing\n\n## Documentation\n\nhttps://share.github.io/sharedb/\n\n## Examples\n\n### Counter\n\n[\u003cimg src=\"examples/counter/demo.gif\" height=\"300\"\u003e](examples/counter)\n\n### Leaderboard\n\n[\u003cimg src=\"examples/leaderboard/demo.gif\" height=\"436\"\u003e](examples/leaderboard)\n\n## Development\n\n### Documentation\n\nThe documentation is stored as Markdown files, but sometimes it can be useful to run these locally. The docs are served using [Jekyll](https://jekyllrb.com/), and require Ruby \u003e2.4.0 and [Bundler](https://bundler.io/):\n\n```bash\ngem install jekyll bundler\n```\n\nThe docs can be built locally and served with live reload:\n\n```bash\nnpm run docs:install\nnpm run docs:start\n```\n","funding_links":[],"categories":["JavaScript","Repository","JavaScript (71)","others","Applications","[↑](#contents) Collaborative","OT协同"],"sub_categories":["Database","Collaborative Editor (e.g. Google Docs)","运行器e2e测试"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshare%2Fsharedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshare%2Fsharedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshare%2Fsharedb/lists"}