8000 GitHub - FlareMozZ/Ekya
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FlareMozZ/Ekya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ekya - Real-Time Collaborative Document Editor

Ekya is a decentralized, real-time collaborative document editor built using Pear the P2P framework by Holepunch. It enables multiple users to edit documents simultaneously by sharing a document ID - no central servers required.

Features

  • Real-time collaboration using peer-to-peer networking
  • Decentralized architecture with no single point of failure
  • Automatic synchronization between all connected peers
  • Document version history (coming soon)
  • Rich text formatting support (coming soon)

Installation

  1. Clone the repository:
git clone https://github.com/FlareMozZ/Ekya.git
cd Ekya
  1. Install dependencies:
npm install

Dependencies used are as follows: "b4a": "^1.6.7", "hypercore-crypto": "^3.5.0", "hyperswarm": "^4.8.4", "quill": "^2.0.3"

Setup

Initialize Pear runtime:

npm i -g pear
pear

(Make sure to add the path to local environment variables.)

pear run pear://runtime

Usage

Start the editor:

cd Ekya
pear run .

(Make sure you are in the correct directory and dependencies are properly installed.)

Creating a New Document

  1. Launch Ekya - it will show a "Create Document button", clicking it will automatically generate a new Document ID
  2. Share this ID with collaborators

Joining Existing Document

  1. Keep first Ekya instance running
  2. Open new terminal and start another instance:
pear run .
  1. Enter the Document ID from the first instance when prompted
  2. Both instances will sync automatically, i.e both peers are connected
  3. Multiple peers can be connected in the same way!!

Development Roadmap

  • Add text formatting toolbar
  • Implement document version history
  • Add peer cursor presence indicators
  • Support for multiple documents

Contributing

Contributions welcome! This project is under active development. Open an issue first to discuss major changes.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0