Repository navigation
Getting Started
This guide provides step-by-step instructions for cloning, setting up, running, and debugging VisualMark Studio on your local development machine.
- Operating System: Windows 10/11 (64-bit recommended), macOS 11+, or Linux (Ubuntu 20.04+)
- RAM: 4 GB minimum (8 GB recommended)
- Storage: 1.5 GB free disk space (includes Node modules, Python packages, and Electron cache)
-
Node.js: v18.0.0 or higher (v20 LTS recommended)
node --version && npm --version -
Python: 3.10 or higher (3.11 recommended)
python --version
-
Git: 2.30 or higher
git --version
Clone the repository and enter the project directory:
git clone https://github.com/JagaTheGhost/visualmark-studio.git
cd visualmark-studioThe backend provides repository AST scanning, tech stack discovery, documentation template generation, and an SSRF-safe image proxy.
cd backendWindows (PowerShell):
python -m venv venv
.\venv\Scripts\activatemacOS / Linux:
python3 -m venv venv
source venv/bin/activatepip install --upgrade pip
pip install -r requirements.txtRun the development FastAPI server:
python main.pyOpen http://localhost:8000/docs in your browser to inspect interactive Swagger API documentation. Press Ctrl + C to stop.
Navigate to the frontend/ directory and install the required npm dependencies:
cd ../frontend
npm installLaunches the Vite dev server and the Electron desktop application concurrently:
npm run electron:dev-
What happens behind the scenes:
- Vite starts the React dev server on
http://localhost:3000. - Electron performs port negotiation (probing ports
8000through8030). - If no backend is running, Electron automatically launches the Python daemon.
- The custom frameless Obsidian-themed desktop window opens with full native disk I/O.
- Vite starts the React dev server on
If you only need to work on the UI components inside a standard browser:
npm run devOpen http://localhost:3000 in your browser.
-
Resolution: Electron automatically handles port conflicts by testing ports up to
8030. If running manually, specify the port:python main.py --port 8005
-
Cause: The Vite dev server did not finish starting before Electron tried to load
http://localhost:3000. -
Resolution: Wait 3 seconds and press
Ctrl + Rinside the Electron window to reload, or check the terminal output for Vite compilation errors.
-
Error:
Execution of scripts is disabled on this systemwhen activatingvenv. -
Resolution: Run PowerShell as Administrator and execute:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Return to Home or continue to Desktop Architecture.
VisualMark Studio • The Code + Visual Desktop IDE for Technical Documentation
Built with React, Electron & FastAPI • GitHub Project