Imagine a world where your documents are not just collaboratively edited in real-time, but also stored in a decentralized manner, giving you true ownership and control over your data. LiveDeCo turns this vision into reality by combining real-time collaboration with decentralized storage and advanced CRDT technology.
- Real-time Collaboration: Smooth, Google Docs-like simultaneous editing
- Decentralized Storage: Secure, distributed document storage using BNB's Greenfield
- Web3 Integration: Seamless blockchain technology integration
- CRDT Implementation: Advanced conflict-free replicated data type for robust collaboration
- P2P Communication: Powered by Iroh network library for true decentralization
LiveDeCo consists of two main components:
- Editor: A web-based frontend for real-time document editing
- CRDT-Automerge: A Rust-based backend implementing CRDT for data synchronization
- Next.js, React, TypeScript
- Liveblocks for real-time collaboration
- BNB Greenfield for decentralized storage
- viem, wagmi, rainbowkit for blockchain interaction
- Rust programming language
- Iroh for P2P network communication
- Automerge for CRDT implementation
- Simultaneous Editing: Multiple users can edit documents in real-time
- Decentralized Storage: Documents stored on BNB's Greenfield network
- Wallet Integration: Secure access via Web3 wallets
- Version History: Track changes and revert to previous versions
- Access Control: Granular permissions for document sharing and editing
- P2P Synchronization: Real-time data sync across multiple nodes
- CLI Interface: Command-line operations for CRDT-Automerge
- Navigate to the
editordirectory - Install dependencies:
npm install - Set up environment variables (see
.env.example) - Run the development server:
npm run dev - Open
http://localhost:3000in your browser
- Navigate to the
crdt-automergedirectory - Build the project:
cargo build - Run the first node:
cargo run - For additional nodes:
cargo run -- --remote-id [first node ID]
- Enhance CRDT implementation with Automerge for advanced synchronization
- Incorporate IROH for true peer-to-peer connections
- Improve user interface with GUI and web-based interface for CRDT-Automerge
- Implement end-to-end encryption and advanced user authentication
- Extend support for complex data structures (nested objects, arrays)
- Develop mobile and desktop applications for cross-platform support
We welcome contributions to LiveDeCo! Please see our CONTRIBUTING.md file for details on how to get involved.
This project is licensed under the MIT License.
This project was initially developed as part of [Hackathon Name], aiming to revolutionize document editing by combining real-time collaboration with decentralized storage and advanced CRDT technology.