███╗ ██╗ ███████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗ ██╗ ██╗ ███████╗ ██╗ ██╗
████╗ ██║ ██╔════╝ ██║ ██║ ██╔══██╗ ██╔═══██╗ ██╔════╝ ██║ ██║ ██╔════╝ ██║ ██║
██╔██╗ ██║ █████╗ ██║ ██║ ██████╔╝ ██║ ██║ ███████╗ ███████║ █████╗ ██║ ██║
██║╚██╗██║ ██╔══╝ ██║ ██║ ██╔══██╗ ██║ ██║ ╚════██║ ██╔══██║ ██╔══╝ ██║ ██║
██║ ╚████║ ███████╗ ╚██████╔╝ ██║ ██║ ╚██████╔╝ ███████║ ██║ ██║ ███████╗ ███████╗ ███████╗
╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝ ╚══════╝ ╚══════╝
A Modern, GPU-Rendered Terminal with AI-Powered Command Translation
- 🎨 Modern GPU-Rendered UI - Built with Dear ImGui + OpenGL for smooth, beautiful interface
- 🤖 AI-Powered Commands - Translate natural language to shell commands using OpenAI, Groq, Gemini, or Ollama
- 📦 Command Blocks - Warp-style command history with clear visual separation
- 🎯 Native Desktop App - Standalone executable, no browser required
- 🌈 Beautiful Themes - Tokyo Night theme with customizable colors
- ⚡ Fast & Responsive - Hardware-accelerated rendering
- Windows 10/11
- Visual Studio 2022 with C++ Desktop Development
- CMake 3.15+
- Git
- Clone the repository
git clone https://github.com/yourusername/neuroshell-cli.git
cd neuroshell-cli- Setup dependencies
The project requires the following libraries in the thirdparty directory:
- ImGui (docking branch)
- GLFW
- GLAD
- nlohmann/json
# Clone ImGui (docking branch)
cd thirdparty
git clone -b docking https://github.com/ocornut/imgui.git
# Clone GLFW
git clone https://github.com/glfw/glfw.git
# Clone nlohmann/json
git clone https://github.com/nlohmann/json.git
# GLAD - Already included in thirdparty/glad/
cd ..- Build the project
build.bat- Run NeuroShell
run.batOr manually:
cd build\bin\Release
neuroshell.exeTo enable AI-powered command translation, edit config/settings.json:
{
"ai": {
"provider": "openai",
"model": "gpt-4",
"apiKey": "YOUR_API_KEY_HERE",
"temperature": 0.7,
"maxTokens": 500
}
}Supported AI Providers:
- OpenAI (
gpt-4,gpt-3.5-turbo) - Groq (
llama3-70b,mixtral-8x7b) - Gemini (
gemini-pro) - Ollama (
llama2,codellama) - Local, no API key needed
AI features require CURL library. To enable:
- Install CURL via vcpkg:
vcpkg install curl:x64-windows- Rebuild with CURL enabled:
cd build
cmake -DENABLE_CURL=ON -DCMAKE_TOOLCHAIN_FILE=path\to\vcpkg\scripts\buildsystems\vcpkg.cmake ..
cmake --build . --config Release| Shortcut | Action |
|---|---|
Ctrl+L |
Clear screen |
Ctrl+Shift+C |
Clear history |
Ctrl+J |
Toggle AI panel |
Ctrl+K |
Focus command input |
↑/↓ |
Navigate command history |
NeuroShell/
├── src/
│ ├── main.cpp # Application entry point
│ ├── ui/ # UI implementation (ImGui)
│ ├── terminal/ # Terminal logic and command executor
│ ├── ai/ # AI client (OpenAI, Groq, etc.)
│ └── utils/ # Utilities (config, logger, safety)
├── include/ # Header files
├── thirdparty/ # Third-party libraries
│ ├── imgui/
│ ├── glfw/
│ ├── glad/
│ └── json/
├── config/ # Configuration files
│ └── settings.json
├── build.bat # Build script
├── run.bat # Run script
└── CMakeLists.txt # CMake configuration
mkdir build && cd build
cmake -G "Visual Studio 17 2022" -A x64 ..
cmake --build . --config Debug- UI components: Modify
src/ui/ui.cpp - Terminal logic: Modify
src/terminal/terminal.cpp - Command execution: Modify
src/terminal/command_executor.cpp - AI integration: Modify
src/ai/ai_client.cpp
Missing Dependencies
ERROR: ImGui not found
Fix: cd thirdparty && git clone -b docking https://github.com/ocornut/imgui.git
CMake Configuration Failed
- Ensure Visual Studio 2022 is installed with C++ Desktop Development
- Ensure CMake is in your PATH
- Check that all dependencies are in
thirdparty/
Window doesn't appear
- Update graphics drivers
- Ensure OpenGL 3.3+ is supported
- Run as administrator
AI not working
- Verify API key in
config/settings.json - Check internet connection
- For Ollama: ensure
ollama serveis running - Rebuild with CURL enabled
MIT License - see LICENSE file for details.
- Dear ImGui - Immediate mode GUI library
- GLFW - Window and input handling
- GLAD - OpenGL loader
- nlohmann/json - JSON parsing
- Warp - UI inspiration
- Tokyo Night - Color scheme
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with ❤️ for developers who love beautiful terminals