Docify, a Python-based app, akin to Google Docs, employs sockets for real-time data synchronization, fostering seamless collaboration among users for efficient and concurrent document editing.
PyQt5, Sockets, Supabase
user
Tableuid
(UUID): Unique identifier for the user.full_name
(Text): Full name of the user.email
(Text): Email address of the user.password
(Text): Password of the user.docs
(Text Array): Array of document IDs associated with the user.docs
Tabledoc_id
(UUID): Unique identifier for the document.name
(Text): Name of the document.links
(Text): Links related to the document.access
(Text): Access level for the document (e.g., "Restricted", "Readable", "Writable").user_access
(Text Array): Array of access types for specific users.content
(Text): Content of the document.users
(Text Array): Array of user IDs who have access to the document.Cloudinary Credentials:
cloudinary_credentials.py
in your home directory and configure it with your Cloudinary credentials.
# cloudinary_credentials.py
import cloudinary
import cloudinary.uploader
cloudinary.config( cloud_name='your_cloud_name', # Replace with your Cloudinary cloud name api_key='your_api_key', # Replace with your Cloudinary API key api_secret='your_api_secret' # Replace with your Cloudinary API secret )
Supabase and SMTP Credentials:
credentials.py
in the utils directory and configure it with your Supabase URL and key, and SMTP username and password.
# utils/credentials.py
SUPABASE_URL = 'your_supabase_url' # Replace with your Supabase URL SUPABASE_KEY = 'your_supabase_key' # Replace with your Supabase API key
google_username = 'your_smtp_username' # Replace with your SMTP username google_password = 'your_smtp_password' # Replace with your SMTP password
git clone https://github.com/Pudi-Sravan/Docify-TDoC.git
cd your-repo-name
pip install -r requirements.txt
python3 main.py
python3 server.py