eweser-db
eweser/eweser-db
EweserDB is a local-first, user-owned database SDK built on Yjs CRDTs, designed for apps that interoperate over shared schemas and room-scoped access grants. It is part of a larger monorepo with a well-defined architecture and development workflow.
Overview
EweserDB is a database SDK that prioritizes user ownership of data and local-first functionality, built on top of Yjs CRDTs. It is part of a larger monorepo with a clear architecture, including TypeScript-based core SDKs, shared packages, and various supporting tools like the Hono-based auth API and Hocuspocus relay for sync. The project includes detailed documentation, testing expectations, and a well-defined development workflow with specific commands and guidelines for contributing.
Capabilities
- ▸Real-time data synchronization using Yjs CRDTs
- ▸User-owned data with local-first functionality
- ▸Shared schema and room-scoped access grants
- ▸Integration with Hono-based auth API and PostgreSQL
- ▸Support for multiple frontend and backend tools including React, Vite, and Hocuspocus
Best for
EweserDB is suitable for developers building collaborative applications that require real-time synchronization, user-owned data, and shared schemas. It is ideal for projects that need to support offline-first behavior, secure authentication, and scalable backend services.
Works with
Security considerations
EweserDB uses Hono and better-auth for secure authentication, Drizzle ORM for database interactions, and PostgreSQL for storing auth, grants, and session data. It emphasizes secure practices such as parameterized SQL queries and JWT verification on protected routes.
Categories
Summary and analysis are original content generated by AI Skills Rank. The skill's source text is not reproduced here — view it on the linked repository.