A modern, high-performance desktop IDE powered by AI - Built with Rust, Tauri, and Svelte 5.
ββββββββββββββββββββββββββββββββββββββββββββ
β Frontend (Svelte 5) β
β ββββββββββββ ββββββββββββ ββββββββββ β
β β Monaco β β Terminal β β AI Chatβ β
β β Editor β β (PTY) β β Panel β β
β ββββββββββββ ββββββββββββ ββββββββββ β
βββββββββββββββββββ¬βββββββββββββββββββββββββ
β Tauri IPC
βββββββββββββββββββ΄βββββββββββββββββββββββββ
β Backend (Rust + Tauri) β
β ββββββββββββ ββββββββββββ ββββββββββ β
β β AI Clientβ β PTY β β Config β β
β β (Async) β β Manager β β Managerβ β
β ββββββββββββ ββββββββββββ ββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββ
webkit2gtk, libgtk-3-dev# Clone repository
git clone https://github.com/yourusername/karsa-ide.git
cd karsa-ide
# Install dependencies
npm install
# Run in development
npm run tauri dev
# Build for production
npm run tauri build
1. Click the sparkle icon (β‘) in the activity bar
2. Type your question or request
3. Get instant AI-powered responses
4. Code suggestions appear in markdown with syntax highlighting
1. Terminal panel opens at the bottom
2. Real shell with full command support
3. Run npm scripts, git commands, etc.
4. Multiple terminals supported
1. Browse files in the sidebar
2. Click to open in editor
3. Edit with full Monaco features
4. Auto-save on changes
Config file location:
~/.config/karsa-ide/karsa_config.json~/Library/Application Support/karsa-ide/karsa_config.json%APPDATA%\karsa-ide\karsa_config.jsonExample config:
{
"ai": {
"provider": "kilo",
"api_key": "your-api-key",
"base_url": "https://api.kilo.ai/api/gateway/chat/completions",
"model_name": "minimax/minimax-m2.5:free",
"custom_models": []
},
"editor": {
"font_size": 14,
"tab_size": 2,
"word_wrap": true,
"theme": "dark"
}
}
karsa-ide/
βββ src/ # Frontend (Svelte)
β βββ lib/
β β βββ components/ # UI components
β β βββ stores/ # State management
β βββ App.svelte # Main app
β βββ main.js # Entry point
βββ src-tauri/ # Backend (Rust)
β βββ src/
β β βββ ai_client.rs # AI integration
β β βββ terminal.rs # PTY terminal
β β βββ config_manager.rs
β β βββ file_system.rs
β β βββ lib.rs # Main entry
β βββ Cargo.toml
βββ package.json
βββ vite.config.js
Frontend:
Backend:
# Development build
cargo build
npm run dev
# Release build (optimized)
cargo build --release
npm run build
# Run tests
cargo test
npm test
Contributions are welcome! Please read our Contributing Guide first.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Made with β€οΈ using Rust and Svelte
β Star this repo if you find it useful!