{"id":13647958,"url":"https://github.com/clientdb/clientdb","last_synced_at":"2025-04-22T06:32:29.222Z","repository":{"id":41394325,"uuid":"507914853","full_name":"clientdb/clientdb","owner":"clientdb","description":"ClientDB is an open source in-memory database for enabling real-time web apps.","archived":false,"fork":false,"pushed_at":"2023-02-12T19:33:03.000Z","size":3425,"stargazers_count":643,"open_issues_count":2,"forks_count":16,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-11T22:47:39.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://clientdb.dev","language":"TypeScript","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/clientdb.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}},"created_at":"2022-06-27T13:12:00.000Z","updated_at":"2025-04-07T11:52:21.000Z","dependencies_parsed_at":"2024-01-14T10:17:24.149Z","dependency_job_id":"609550fb-1a6b-485b-8b9c-f551bb42b01c","html_url":"https://github.com/clientdb/clientdb","commit_stats":null,"previous_names":["acapela/clientdb"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clientdb%2Fclientdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clientdb%2Fclientdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clientdb%2Fclientdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clientdb%2Fclientdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clientdb","download_url":"https://codeload.github.com/clientdb/clientdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250183363,"owners_count":21388704,"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-02T01:03:51.822Z","updated_at":"2025-04-22T06:32:28.222Z","avatar_url":"https://github.com/clientdb.png","language":"TypeScript","readme":"# ClientDB\n\nClientDB is an open-source in-memory database for enabling real-time web apps. Build fast, scalable apps that feel silky smooth for users.\n\n## Installation\n\nInstall clientdb with yarn\n\n```bash\n  yarn add @clientdb/core\n```\n\n# Core parts of clientdb\n\nClientdb is a suite of components that enable real-time web apps. Most of them can be used independently, but they're used together to cover all the aspects of building real-time applications.\n\n## `@clientdb/core`\n\nIn-memory database for storing, modifying, and querying data. By itself, it is not synchronized with any server and it is not persisting any data offline.\n\n## `@clientdb/sync`\n\nWork in progress (https://github.com/acapela/clientdb/pull/10)\n\nSync engine consists of 2 parts:\n\nServer - HTTP server with a socket that can connect to any database and can keep the in-memory database in sync with the server according to defined access permissions.\n\nClient - Wrapper on top of an in-memory database that connects to sync-server and can keep the in-memory database in sync with the server.\n\nRead more about sync engine - [engine/README.md](engine/README.md)\n\n## `@clientdb/codegen` (Work in progress)\n\nSet of dev-toolings for generating TypeScript types and synced client database with all relations, validations, etc. included.\n\n---\n\n## Tech Stack\n\nThe entire codebase is fully written in Typescript.\n\n## Build Locally\n\nClone the project\n\n```bash\n  git clone git@github.com:acapela/clientdb.git\n```\n\nInstall dependencies\n\n```bash\n  yarn install\n```\n\nBuild the client-side db\n\n```bash\n  yarn core build\n```\n\n## Running Tests\n\nTo run tests, run the following command while in /core directory\n\n```bash\n  yarn test\n```\n\n## Used By\n\nThis project is used by the following companies:\n\n- [Acapela](https://acapela.com)\n\n## License\n\n[Apache-2.0](https://choosealicense.com/licenses/apache-2.0/)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclientdb%2Fclientdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclientdb%2Fclientdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclientdb%2Fclientdb/lists"}