shellX is a custom command-line shell designed for a tailored user experience with AI integration. It supports basic shell commands and features an AI chat functionality for user assistance directly in the command line interface.
- AI Chat Integration: Chat with a Google AI model directly from the shell, allowing users to get real-time assistance.
- Command Autocomplete: Suggests command completions based on user input, enhancing the command-line experience.
- Basic Shell Commands: Supports standard commands like
cd,pwd,echo,ls,mkdir,rm, and more.
-
Clone the repository:
git clone https://github.com/harshit-002/custom-shell.git cd custom-shell -
Clone cpr library inside custom-shell folder
-
Run the build script:
./build.sh
cd [directory]: Change the current directory to[directory]ai-chat: Start a chat with AIpwd: Print the current working directoryecho [message]: Display[message]on the terminaltype [command]: Display the type of[command]exit: Exit the shellhelp: Show this help messagels: List directory contentsmkdir [dir]: Create a directory named[dir]rm [file/dir]: Remove file or directorytouch [file]: Create a file named[file]
- C++
- CPR for API requests
- Google AI Integration
- CMake for build management
Contributions are welcome! Please feel free to open issues or submit pull requests.