A modern collaborative document creation and management platform with AI-powered features, real-time collaboration, and an integrated development environment for data processing.
- Frontend: Electron application with HTML/CSS/JavaScript
- Backend: Python Flask server with REST API
- AI Integration: OpenAI GPT models or Together AI
- File Processing: pandas, PyMuPDF, openpyxl, BeautifulSoup
- Node.js (v14 or higher)
- Python 3.7+
- pip (Python package manager)
- npm (Node.js package manager)
git clone <repository-url>
cd googledoc_demo./install-deps.shThis script will:
- Create a Python virtual environment
- Install Python dependencies
- Install Node.js dependencies
- Create a
.envfile from template (if it doesn't exist)
Edit the .env file created by the install script:
# For OpenAI
OPENAI_API_KEY=your_openai_api_key_here
# OR for Together AI
TOGETHER_API_KEY=your_together_api_key_here./start-demo.shThis script will:
- Start the Python backend server
- Launch the Electron application
- Handle cleanup when you close the app
googledoc_demo/
βββ backend/ # Python Flask backend
β βββ python_backend.py # Main Flask application
β βββ chat_manager.py # AI chat functionality
β βββ template.py # Template processing
β βββ diff_view.py # Document diff visualization
β βββ database/ # Data persistence
β βββ requirements.txt # Python dependencies
βββ css/ # Stylesheets
βββ js/ # Frontend JavaScript
βββ data/ # Data files and uploads
βββ tests/ # Test files
βββ index.html # Main application UI
βββ login.html # User authentication
βββ main.js # Electron main process
βββ package.json # Node.js dependencies
βββ start-demo.sh # Quick start script
- The
.envfile is automatically created fromenv.exampletemplate during installation - Set
OPENAI_API_KEYfor OpenAI GPT models - Set
TOGETHER_API_KEYfor Together AI models - Without API keys, the app runs in basic mode without AI features
- Documents are stored in
backend/database/documents.json - Data sources items in
backend/database/data_sources.json - Variables in
backend/database/vars.json - All data persists between sessions
- The system uses GPT-4.1-mini by default
- The system uses
https://6bd2-89-213-179-161.ngrok-free.app/execute_codeendpoint to execute code, you also can set your own local server