AI-Powered Terminal Command Assistant - Natural Language to Commands
Project description
๐ Sheller - AI-Powered Terminal Command Assistant
Transform natural language into executable commands with style!
โจ Features
- ๐ง Natural Language Processing: Type requests in plain English
- โก Smart Command Translation: Automatic Unix-to-Windows command conversion
- ๐จ Retro Terminal UI: Beautiful, nostalgic interface with colors and ASCII art
- โจ๏ธ Keyboard Shortcuts: Ctrl+K for processing, arrow keys for history
- ๐ PowerShell Fallback: Intelligent fallback from CMD to PowerShell
- ๐ฑ Cross-Platform: Works on Windows, macOS, and Linux
- ๐ Real-time Execution: See commands execute with live output
- ๐ Command History: Navigate through your command history
๐ฏ Use Cases
- System Administrators: Quick system diagnostics and management
- Developers: Rapid command execution without remembering syntax
- Power Users: Streamlined terminal workflow
- Beginners: Learn commands through natural language
- DevOps Engineers: Efficient system operations
๐ Quick Start
Prerequisites
Before using Sheller, you need to set up your Google Gemini API Key:
1. Get Your Gemini API Key
- Visit Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy the generated API key
2. Set Environment Variable
Windows (PowerShell):
# Temporary (current session only)
$env:GEMINI_API_KEY="your_api_key_here"
# Permanent (add to user profile)
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your_api_key_here", "User")
Windows (Command Prompt):
# Temporary (current session only)
set GEMINI_API_KEY=your_api_key_here
# Permanent (add to user profile)
setx GEMINI_API_KEY "your_api_key_here"
macOS/Linux:
# Temporary (current session only)
export GEMINI_API_KEY="your_api_key_here"
# Permanent (add to ~/.bashrc or ~/.zshrc)
echo 'export GEMINI_API_KEY="your_api_key_here"' >> ~/.bashrc
source ~/.bashrc
3. Alternative: Create .env File
Create a .env file in your project directory:
# .env file
GEMINI_API_KEY=your_api_key_here
Installation
Option 1: Python Package (Recommended for Developers)
pip install sheller
Option 2: Windows Installer (Recommended for End Users)
Download the latest .exe installer from our releases page.
Usage
Launch the Application
sheller
Natural Language Commands
Type: "show me all files in this directory"
Press: Ctrl+K
Result: dir /a
Press: Enter to execute
Direct Commands
Type: dir
Press: Enter
Result: Executes immediately
โจ๏ธ Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+K |
Process natural language input |
Enter |
Execute command |
โ/โ |
Navigate command history |
Ctrl+C |
Exit application |
Backspace |
Edit current input |
Delete |
Remove characters |
๐ง Supported Commands
File Operations
- List files:
lsโdir - List hidden files:
ls -aโdir /a - View file:
catโtype - Copy file:
cpโcopy - Move file:
mvโmove - Delete file:
rmโdel
System Information
- Process list:
ps auxโtasklist - System info:
systeminfo - Network config:
ifconfigโipconfig - Disk space:
dfโ PowerShell equivalent - Memory usage:
wmiccommands
Network Tools
- Ping:
ping - Traceroute:
tracerouteโtracert - DNS lookup:
nslookup - Network connections:
netstat
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Natural โ โ Command โ โ Execution โ
โ Language โโโโโถโ Translation โโโโโถโ Engine โ
โ Input โ โ Engine โ โ โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Retro UI โ โ Shell โ โ Output โ
โ Interface โ โ Detection โ โ Display โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
๐ ๏ธ Development
Prerequisites
- Python 3.8+
- pip
- setuptools
Setup Development Environment
# Clone the repository
git clone https://github.com/sheller/sheller.git
cd sheller
# Install development dependencies
pip install -e .
# Run the application
python src/sheller/main.py
Building the Package
# Build source distribution
python -m build --sdist
# Build wheel
python -m build --wheel
# Install locally
pip install dist/sheller-1.0.0-py3-none-any.whl
๐ฆ Distribution
Python Package
- PyPI:
pip install sheller - Source: GitHub releases
- Wheel: Pre-built for multiple Python versions
Windows Installer
- Inno Setup: Professional installer with custom branding
- Auto-updates: Built-in update mechanism
- Desktop shortcuts: Easy access for end users
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Areas
- Enhanced AI command suggestions
- Plugin system for custom commands
- Configuration file support
- Theme customization
- Command templates
- Integration with popular shells
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- ASCII Art: Inspired by retro terminal aesthetics
- Command Translation: Based on Unix-to-Windows mappings
- UI Design: Firebase terminal inspiration
- Community: All contributors and users
๐ Support
- Documentation: docs.sheller.com
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: team@sheller.com
๐ Roadmap
v1.1.0 (Q2 2024)
- AI-powered command suggestions
- Plugin architecture
- Configuration management
v1.2.0 (Q3 2024)
- Cloud sync for settings
- Command templates
- Advanced theming
v2.0.0 (Q4 2024)
- Machine learning integration
- Cross-device sync
- Enterprise features
Made with โค๏ธ by the Sheller Team
Transform your terminal experience today!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sheller_ai-1.0.0.tar.gz.
File metadata
- Download URL: sheller_ai-1.0.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bdcf6e02ab0077cc853cd8712406401d495df7be0e86a322c39cf713c4159e7
|
|
| MD5 |
9fd37b1ec69ec4b2914072041de5c338
|
|
| BLAKE2b-256 |
29b2c37f887aa542a0cf13b0c1f3914dd34846f0e518dd45fa481d7b2175794e
|
File details
Details for the file sheller_ai-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sheller_ai-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b91d52dedbd4a5c365861bac8604539abd12e96d9a169c96560553962e0ca45
|
|
| MD5 |
a2f332d075f27c4c029454281b82eb9c
|
|
| BLAKE2b-256 |
2c9b1a1c3bec8cf1a60d1362697b06052408f36500bc678aa13321b69caadb56
|