Skip to content

profparadox3/CortexCLI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CortexCLI - AI-Powered Linux Shell 🚀

License: MIT GitHub Stars

A modern Linux shell with integrated AI capabilities powered by Google Gemini, supporting multilingual interactions and advanced command execution.

Demo GIF

Features ✨

  • 🤖 AI Command Generation (English/Urdu/Any Language)
  • 🔗 Pipe Support (|, >, ;)
  • 🏠 Tilde Expansion (~/Documents)
  • 📜 Command History with history and !!
  • 🌐 Multilingual Support (Urdu, Arabic, etc.)
  • 🛡️ Security (Blocks sudo/rm -rf)
  • 💻 Custom Color Prompt with User/Host info

Installation ⚙️

Dependencies

# Ubuntu/Debian
sudo apt install build-essential libcurl4-openssl-dev libjansson-dev libreadline-dev

# Fedora
sudo dnf install gcc libcurl-devel jansson-devel readline-devel

Compilation

git clone https://github.com/yourusername/CortexCLI.git
cd CortexCLI
make  # Or manually compile with:
# gcc -o dynamo *.c -lcurl -ljansson -lreadline

Usage 🖥️

# Start shell
./dynamo

# Regular commands
dynamo@Host:~ ➤ ls -l | wc -l

# AI interaction
dynamo@Host:~'show files in home directory

Configuration 🔧

  1. Get Gemini API Key from Google AI Studio
  2. Add to Environment:
export GEMINI_API_KEY="your-api-key-here"

Demo 🎥

AI Command Demo (Add actual demo GIF)

Contributing 🤝

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

License 📄

MIT License - See LICENSE for details

Acknowledgments 🌟

  • Google Gemini API
  • Readline Library
  • Jansson JSON Parser

Crafted with ❤️ by Dynamo2k1, Prof.Paradox and hurrainjhl
"Where Human Intuition Meets Machine Intelligence"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 100.0%