{"id":13564797,"url":"https://github.com/jamsocket/driftdb","last_synced_at":"2025-05-16T11:06:22.400Z","repository":{"id":65424429,"uuid":"592087062","full_name":"jamsocket/driftdb","owner":"jamsocket","description":"A real-time data backend for browser-based applications.","archived":false,"fork":false,"pushed_at":"2024-08-22T13:40:30.000Z","size":11159,"stargazers_count":959,"open_issues_count":1,"forks_count":24,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-09T18:13:02.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://driftdb.com","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/jamsocket.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":"2023-01-22T21:42:09.000Z","updated_at":"2025-05-02T15:08:09.000Z","dependencies_parsed_at":"2024-01-14T03:49:22.940Z","dependency_job_id":"26ae7f14-c72f-4333-9f2a-fd6c7d9393a3","html_url":"https://github.com/jamsocket/driftdb","commit_stats":{"total_commits":230,"total_committers":8,"mean_commits":28.75,"dds":0.08695652173913049,"last_synced_commit":"8193f09d7f33e833af7b09d1e4e7817a620976bf"},"previous_names":["jamsocket/driftdb"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fdriftdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fdriftdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fdriftdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fdriftdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamsocket","download_url":"https://codeload.github.com/jamsocket/driftdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518383,"owners_count":22084374,"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-01T13:01:36.117Z","updated_at":"2025-05-16T11:06:17.375Z","avatar_url":"https://github.com/jamsocket.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# DriftDB\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/drifting-in-space/driftdb?style=social)](https://github.com/drifting-in-space/driftdb)\n[![crates.io](https://img.shields.io/crates/v/driftdb.svg)](https://crates.io/crates/driftdb)\n[![docs.rs](https://img.shields.io/badge/rust-docs-brightgreen)](https://docs.rs/driftdb/)\n[![docs.rs](https://img.shields.io/badge/client-docs-brightgreen)](https://driftdb.com/)\n[![Test](https://github.com/drifting-in-space/driftdb/actions/workflows/test.yml/badge.svg)](https://github.com/drifting-in-space/driftdb/actions/workflows/test.yml)\n[![Chat on Discord](https://img.shields.io/static/v1?label=chat\u0026message=discord\u0026color=404eed)](https://discord.gg/N5sEpsuhh9)\n\nDriftDB is a real-time data backend for browser-based applications.\n\nFor more information, see [driftdb.com](https://driftdb.com).\n\n## Local Development\n\n### TypeScript libraries\n\nTo prepare the environment, install the dependencies and run a turborepo build:\n\n    # from repo root\n    cd js-pkg\n    npm i\n    npm run build\n\nTo run demos, run:\n\n    # from repo root\n    cd js-pkg/apps/demos\n    npm run dev\n\nTo test the TypeScript libraries, first run a local development server:\n\n    # from repo root\n    cargo run -p driftdb-server\n\nThen, with the local development server running:\n\n    # from repo root\n    cd js-pkg/packages/driftdb\n    npm test\n\n### Server\n\nServer development requires the Rust toolchain (including `cargo`) to be installed.\nDeveloping and deploying the `driftdb-worker` (Cloudflare worker) also requires Cloudflare's\nWrangler tool.\n\nTo run tests:\n\n    # from repo root\n    cargo test\n\nTo run a local development server:\n\n    cargo run -p driftdb-server\n\nFor instructions on `driftdb-worker`, see `driftdb-worker/README.md`.\n\n## Structure of this repo\n\n- `docs/`: main online documentation and website for driftdb, available on the web at [driftdb.com](https://driftdb.com).\n- `driftdb/`: core Rust driftdb implementation.\n- `driftdb-server/`: Rust crate of driftdb dev server.\n- `driftdb-worker/`: driftdb implementation on Cloudflare Workers.\n- `js-pkg/`: JavaScript package root (turborepo monorepo).\n    - `apps/demos/`: next.js project containing several demos, available on the web at [demos.driftdb.com](https://demos.driftdb.com).\n    - `packages/driftdb/`: JavaScript client library for driftdb.\n    - `packages/driftdb-react/`: Higher-level React hook-based interface to driftdb.\n    - `packages/driftdb-ui/`: React-based debug UI for driftdb, available on the web at [ui.driftdb.com](https://ui.driftdb.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamsocket%2Fdriftdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamsocket%2Fdriftdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamsocket%2Fdriftdb/lists"}