A modern C++ implementation of the Bolt IDE core components with AI integration and real-time collaborative features.
- GGML integration for AI model inference
- RWKV implementation for RNN capabilities
- Thread-safe operations
- Optimized memory management
- Code completion engine
- Robust error handling
- Multi-cursor support
- Line numbering system
- Find/Replace functionality
- Bracket matching
- Syntax highlighting
- File tree navigation
- Theme system
- Code folding
- Auto-completion
- Split view editing
- Integrated debugger with breakpoints and step debugging
- WebSocket server for real-time collaboration
- HTTP server implementation
- Network command handling
- GGML wrapper for model inference
- RWKV neural network support
- Tokenizer implementation
- Chat system integration
bolt/
├── include/ # Header files
│ └── bolt/
│ ├── ai/ # AI-related headers
│ ├── core/ # Core functionality
│ ├── editor/ # Editor components
│ ├── network/ # Network handling
│ └── utils/ # Utility functions
├── src/ # Source files
│ └── bolt/
│ ├── ai/
│ ├── core/
│ ├── editor/
│ ├── network/
│ └── utils/
├── test/ # Unit tests
└── docs/ # Documentation
The project features comprehensive package management integration with vcpkg, Conan, and system package managers. See docs/dependency-management.md for detailed setup instructions.
# One-command setup with automatic package manager detection
./scripts/setup-deps.sh
# This will:
# 1. Install system dependencies
# 2. Setup vcpkg or Conan
# 3. Configure and build the project# Using CMake presets (recommended)
cmake --preset vcpkg
cmake --build --preset vcpkg-release
# Or traditional approach
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake ..
make -j$(nproc)
# Run tests
./test/bolt_unit_tests- 🔧 Multi-Manager Support: vcpkg (primary), Conan (alternative), system packages (fallback)
- 🎯 Smart Detection: Automatically chooses the best available package manager
- 📋 Enhanced CMake: Modern target-based linking with fallback mechanisms
- 🛠️ Developer Tools: Status checking, automated installation, integration testing
# Check package manager status
python3 scripts/package-manager.py --status
# Install dependencies with specific manager
python3 scripts/package-manager.py --install --manager vcpkg
# Test package management integration
python3 scripts/test-package-management.py
# Get help for setup script
./scripts/setup-deps.sh --help- Modern C++ compiler (C++17 or later)
- CMake 3.15+
- Package manager: vcpkg (recommended) or Conan
Managed Dependencies:
- Core Libraries: curl, jsoncpp, glfw3, imgui, opengl
- AI Support: GGML library for AI model support
- Features: GUI components, HTTP clients, JSON processing
- Development: Optional testing framework (catch2)
System Dependencies (automatically installed):
- X11 development libraries (Linux)
- OpenGL development libraries
- Build tools (gcc/clang, ninja, pkg-config)
MIT License
See CONTRIBUTING.md for guidelines on contributing to the project.