Installation
Set up the GitInspectorGUI development environment after installing prerequisites.
Prerequisites: Complete Prerequisites first - you need Python 3.13+, Node.js 22+, Rust 1.85+, and package managers installed.
Note: This is for setting up the development environment. For application usage, see gitinspectorgui.readthedocs.io.
Project Setup
1. Clone Repository
2. Install Dependencies
Now we'll install dependencies for both the Python backend and the React/TypeScript frontend:
# Install Python dependencies (backend)
uv sync
# This reads pyproject.toml and installs all Python packages needed for the FastAPI server
# Install JavaScript/TypeScript dependencies (frontend)
pnpm install
# This reads package.json and installs all React/TypeScript packages needed for the UI
# Install Tauri CLI globally (desktop app framework)
pnpm add -g @tauri-apps/cli
# This gives you the 'tauri' command for building desktop applications
What each command does:
uv sync: Installs Python packages like FastAPI, GitPython, etc.pnpm install: Installs React, TypeScript, Vite, and other frontend toolspnpm add -g @tauri-apps/cli: Installs the Tauri command-line tool globally
Verification
Let's test that everything is installed correctly by running each part of the system:
Test Python API (Backend)
First, let's verify the Python backend works independently:
# Start the FastAPI server
python -m gigui.start_server
# In a new terminal, test the health endpoint
curl http://127.0.0.1:8000/health
Expected response:
What this tests:
- Python environment is working
- FastAPI server can start
- HTTP endpoints are responding
- All Python dependencies are installed correctly
Test Tauri Application (Complete System)
Now let's test the complete desktop application:
What should happen:
- Vite builds the React/TypeScript frontend
- Tauri compiles the Rust wrapper
- A desktop window opens showing the GitInspectorGUI interface
- The frontend automatically connects to the Python API server
What this tests:
- Node.js and pnpm are working
- React/TypeScript compilation works
- Rust and Tauri are working
- Frontend-backend communication works
Development Environment Setup
VS Code Extensions (Recommended)
{
"recommendations": [
"ms-python.python",
"rust-lang.rust-analyzer",
"tauri-apps.tauri-vscode",
"bradlc.vscode-tailwindcss"
]
}
Python Environment Configuration
If using VS Code:
Ctrl+Shift+P→ "Python: Select Interpreter"- Choose
.venv/bin/python(created byuv sync)
Troubleshooting
Common Issues
Python module not found:
Rust compilation errors:
Port 8000 in use:
# macOS/Linux
lsof -ti:8000 | xargs kill -9
# Windows
netstat -ano | findstr :8000
taskkill /PID <PID> /F
Node.js permissions:
Getting Help
- Check Troubleshooting Guide for detailed solutions
- Review Development Workflow for development patterns
- Search project repository issues
- Create new issue with error details
Next Steps
After successful installation:
- Quick Start - Get the development environment running in 3 steps
- First Analysis - Test your setup with repository analysis
- Development Workflow - Learn development patterns
Summary
GitInspectorGUI installation sets up Python backend dependencies, React/TypeScript frontend tools, and Tauri desktop framework integration. The verification steps ensure all components work together correctly.