Psynapse Quick Start Guide
๐ Get Started in 2 Ways
Option 1: Docker Compose (Recommended)
The fastest way to get Psynapse running:
git clone https://github.com/soumik12345/psynapse
cd psynapse
docker compose -f docker/docker-compose.yml up --build
Access the editor at http://localhost:5173
Optional: With LLM Support
To enable LLM nodepacks (requires additional dependencies):
Option 2: Local Development
For development and customization:
Step 1: Clone and Install
Step 2: Start the Backend
You should see:
Optional: Install with LLM support
Step 3: Start the Frontend
Open another terminal and run:
You should see:
Step 4: Open Your Browser
Navigate to: http://localhost:5173
๐ฏ First Workflow
Create your first workflow in 30 seconds:
- Drag an "add" node from the left panel onto the canvas
- Enter values in the node:
a=10,b=5 - Drag a "ViewNode" onto the canvas
- Connect the output (right side) of the add node to the input (left side) of the ViewNode
- Click "Execute" button (top-right)
- See the result: ViewNode shows
15
๐ Tips
- Connect nodes: Drag from output socket (right) to input socket (left)
- Input values: Type directly or connect from another node
- Multiple ViewNodes: Add multiple ViewNodes to inspect different parts of your workflow
- Minimap: Use the minimap (bottom-right) to navigate large workflows
- Canvas controls: Scroll to zoom, drag to pan
๐งช Example: Calculator
Create (5 + 3) ร (2 + 4) = 48:
- Drag 2 "add" nodes onto canvas
- First add:
a=5,b=3 - Second add:
a=2,b=4 - Drag 1 "multiply" node onto canvas
- Connect:
- First add output โ multiply's
ainput - Second add output โ multiply's
binput - Drag ViewNode and connect multiply output to it
- Click Execute
- Result: 48
๐ง Troubleshooting
Backend won't start
cd backend
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
uv run python main.py