⚡ DJINN - AI-powered CLI that converts natural language to shell commands. 87 specialized commands for DevOps, Cloud, Databases, and more.
Project description
⚡ DJINN
The Ultimate AI-Powered CLI Tool
Transform natural language into precise shell commands with 60+ built-in commands and 900+ plugin templates.
TUI Dashboard • Universal Package Manager • Voice Control • AI Code Reviewer
🚀 Quick Start
# Install from PyPI
pip install djinn-cli
# Or download the Windows executable
# https://github.com/boubli/djinn/releases
# Your first command
djinn "list all docker containers sorted by size"
# Interactive mode
djinn -i
✨ Features Overview
🤖 Core AI Commands
| Command | Description |
|---|---|
djinn "prompt" |
Convert natural language to shell command |
djinn -i |
Interactive chat mode |
djinn explain "cmd" |
Explain any command in detail |
djinn redo |
Regenerate last command |
djinn alias |
Manage command aliases |
📊 TUI (Full-Screen Interactive)
| Command | Description |
|---|---|
djinn dashboard |
System monitor (CPU, RAM, Disk, Network) |
djinn explore |
Interactive file manager |
djinn db connect file.db |
Database viewer (SQLite/PostgreSQL/MySQL) |
djinn http get URL |
API testing client |
📦 Universal Tools
| Command | Description |
|---|---|
djinn pkg install X |
Smart package manager (npm/pip/cargo/go/gem) |
djinn setup new node |
Project templates |
djinn flow run my-build |
Workflow automation |
djinn env list |
.env file management |
🧠 AI & Automation
| Command | Description |
|---|---|
djinn voice |
Voice control (speech recognition) |
djinn review |
AI-powered code reviewer |
djinn docs readme |
Auto-generate documentation |
djinn why "error" |
Explain why commands fail |
🔧 DevOps & Plugins
| Command | Description |
|---|---|
djinn cheat docker |
Built-in cheatsheets |
djinn compose generate |
Docker Compose generator |
djinn scan |
Dependency vulnerability scanner |
djinn release bump minor |
Git release automation |
🎯 Productivity
| Command | Description |
|---|---|
djinn learn shortcut |
Save personalized shortcuts |
djinn schedule add cmd +1h |
Schedule commands |
djinn record start |
Record terminal sessions |
djinn ssh list |
SSH connection manager |
🎮 Fun & Learning
| Command | Description |
|---|---|
djinn game typing |
CLI typing practice |
djinn game quiz |
Test your CLI knowledge |
djinn speak "message" |
Text-to-speech |
� Complete Command Reference
AI Commands
djinn "natural language prompt" # Generate command
djinn -i # Interactive mode
djinn explain "git rebase -i" # Explain command
djinn suggest # Context suggestions
djinn redo # Regenerate last
djinn translate "cmd" --to bash # Translate between shells
Plugin Commands (900+ Templates)
djinn plugin docker ps # Docker commands
djinn plugin aws s3 ls # AWS commands
djinn plugin k8s get pods # Kubernetes
djinn plugin git log # Git commands
djinn plugin security scan # Security tools
Configuration
djinn config set provider ollama # Set LLM provider
djinn config set model llama3 # Set model
djinn theme list # List themes
djinn theme set cyberpunk # Set theme
System Dashboard
djinn dashboard # Launch system monitor
# Shows: CPU usage, RAM, Disk space, Network I/O, Top processes
# Press Ctrl+C to exit
Package Manager
djinn pkg info # Show detected manager
djinn pkg install react # Auto-detects npm/pip/cargo
djinn pkg install flask -D # Dev dependency
djinn pkg list # List packages
djinn pkg outdated # Check outdated
Database Viewer
djinn db connect mydb.sqlite # Connect to SQLite
djinn db tables mydb.sqlite # List tables
djinn db query mydb.sqlite "SELECT * FROM users LIMIT 10"
HTTP Client
djinn http get https://api.github.com
djinn http post https://api.example.com -d '{"name":"test"}'
djinn http get URL -H "Authorization:Bearer token"
File Explorer
djinn explore # Launch file explorer
djinn explore /var/log # Start in specific path
# Commands: ls, cd, tree, mkdir, rm, pwd, q
Voice Control
djinn voice # Single voice command
djinn voice --listen # Continuous listening
# Say: "list files", "git status", "docker containers"
Code Review
djinn review # Review uncommitted changes
djinn review --staged # Review staged only
djinn review file.py # Review specific file
Project Architect
djinn architect list # List templates
djinn architect create fullstack-react-node myapp
djinn architect stacks # Quick stack templates
djinn setup new fastapi # Quick setup
Workflows
djinn flow templates # List templates
djinn flow create my-deploy # Create workflow
djinn flow run my-deploy # Run workflow
djinn flow run my-deploy --dry-run # Preview
Environment Management
djinn env list # List .env variables
djinn env get API_KEY # Get variable
djinn env set API_KEY value # Set variable
djinn env backup # Backup .env
djinn dotfiles backup # Backup dotfiles
Scheduling
djinn schedule add "npm test" +1h # Run in 1 hour
djinn schedule add "backup" +30m # Run in 30 min
djinn schedule list # List pending
djinn schedule run # Run due tasks
SSH Manager
djinn ssh list # List connections
djinn ssh add server host user # Add connection
djinn ssh keys # List SSH keys
� LLM Providers
DJINN supports multiple AI backends:
| Provider | Local | Setup |
|---|---|---|
| Ollama | ✅ | ollama serve |
| LM Studio | ✅ | Start local server |
| OpenAI | ❌ | Set OPENAI_API_KEY |
djinn config set provider ollama
djinn config set model llama3.2
djinn model list # List installed models
djinn model download codellama # Download model
📦 Installation
Option 1: Automated Script (Recommended)
Windows (PowerShell):
powershell -c "irm https://raw.githubusercontent.com/boubli/djinn/master/install.ps1 | iex"
Linux/Mac:
curl -fsSL https://raw.githubusercontent.com/boubli/djinn/master/install.sh | bash
Option 2: Windows Executable
Download djinn.exe from Releases.
Option 2: Python Package
pip install djinn-cli
Option 3: From Source
git clone https://github.com/boubli/djinn
cd djinn
pip install -e .
🎨 Themes
djinn theme list # Available themes
djinn theme set <theme> # Set theme
Available: default, cyberpunk, retro, nord, dracula, solarized, monokai, light
📄 License
MIT License - © 2026 Youssef Boubli
Built with ⚡ by Youssef Boubli
Project details
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 djinn_cli-2.1.1.tar.gz.
File metadata
- Download URL: djinn_cli-2.1.1.tar.gz
- Upload date:
- Size: 128.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf38ea0ce7d2312dffe708d6bb73a3b24c64bcdce98314c57f412d2f4932536
|
|
| MD5 |
43f713b69923b8b1983c486cfd71a771
|
|
| BLAKE2b-256 |
f4b4005c24da1d7d5d8a69340f65e012c8da014f5c89e80ed67c86c137a2d1ef
|
Provenance
The following attestation bundles were made for djinn_cli-2.1.1.tar.gz:
Publisher:
pypi_publish.yml on boubli/djinn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djinn_cli-2.1.1.tar.gz -
Subject digest:
eaf38ea0ce7d2312dffe708d6bb73a3b24c64bcdce98314c57f412d2f4932536 - Sigstore transparency entry: 815863187
- Sigstore integration time:
-
Permalink:
boubli/djinn@4c91ba986e5519a5a6561f544df855eb800cb64a -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/boubli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@4c91ba986e5519a5a6561f544df855eb800cb64a -
Trigger Event:
push
-
Statement type:
File details
Details for the file djinn_cli-2.1.1-py3-none-any.whl.
File metadata
- Download URL: djinn_cli-2.1.1-py3-none-any.whl
- Upload date:
- Size: 152.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfcb9e1296386907b267214dba89638ec073cba7f97b17b886dd73f3c8b81b0
|
|
| MD5 |
cf7ebf8e94bed1245ff7a80c765b6209
|
|
| BLAKE2b-256 |
f8f5e9110805106b853c0e905a9a1cc875e9788df6cf3a30b9a7a63e37b7b8ed
|
Provenance
The following attestation bundles were made for djinn_cli-2.1.1-py3-none-any.whl:
Publisher:
pypi_publish.yml on boubli/djinn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djinn_cli-2.1.1-py3-none-any.whl -
Subject digest:
8cfcb9e1296386907b267214dba89638ec073cba7f97b17b886dd73f3c8b81b0 - Sigstore transparency entry: 815863194
- Sigstore integration time:
-
Permalink:
boubli/djinn@4c91ba986e5519a5a6561f544df855eb800cb64a -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/boubli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@4c91ba986e5519a5a6561f544df855eb800cb64a -
Trigger Event:
push
-
Statement type: