Story Details

  • Earthstar – A database for private, distributed, offline-first applications

    Posted: 2025-02-01 00:22:57

    Earthstar is a novel database designed for private, distributed, and offline-first applications. It syncs data directly between devices using any transport method, eliminating the need for a central server. Data is organized into "workspaces" controlled by cryptographic keys, ensuring data ownership and privacy. Each device maintains a complete copy of the workspace's data, enabling seamless offline functionality. Conflict resolution is handled automatically using a last-writer-wins strategy based on logical timestamps. Earthstar prioritizes simplicity and ease of use, featuring a lightweight core and adaptable document format. It aims to empower developers to build robust, privacy-respecting apps that function reliably even without internet connectivity.

    Summary of Comments ( 27 )
    https://news.ycombinator.com/item?id=42894200

    Hacker News users discuss Earthstar's novel approach to data storage, expressing interest in its potential for P2P applications and offline functionality. Several commenters compare it to existing technologies like CRDTs and IPFS, questioning its performance and scalability compared to more established solutions. Some raise concerns about the project's apparent lack of activity and slow development, while others appreciate its unique data structure and the possibilities it presents for decentralized, user-controlled data management. The conversation also touches on potential use cases, including collaborative document editing and encrypted messaging. There's a general sense of cautious optimism, with many acknowledging the project's early stage and hoping to see further development and real-world applications.