Skip to main content

AI-powered terminal with natural language command support

Project description

AI Terminal CodeMate

An AI-powered terminal that combines traditional command execution with natural language processing for intuitive command generation.

Features

  • Natural Language Commands: Type commands in plain English and get AI-generated shell commands
  • Traditional Command Support: Full support for standard terminal commands
  • Cross-Platform: Works on Windows, macOS, and Linux
  • AI-Powered: Uses Google Gemini AI for intelligent command translation

Installation

pip install ai-terminal-codemate

Usage

After installation, run:

aiterminal

Examples

Natural Language:

  • "create a file called test.txt" → touch test.txt
  • "show me the files in this directory" → ls
  • "make a folder called projects" → mkdir projects
  • "show CPU usage" → top
  • "how much memory is free" → free

Traditional Commands:

  • ls - list files
  • mkdir folder_name - create directory
  • rm file_name - remove file
  • cp source dest - copy file
  • mv source dest - move file
  • cat file_name - display file contents

Available Commands

File Operations

  • mkdir <dir> - Create directory
  • ls [path] - List files and folders
  • rm <file> - Remove file
  • cp <src> <dst> - Copy file
  • mv <src> <dst> - Move/rename file
  • cat <file> - Display file contents
  • touch <file> - Create empty file

System Information

  • top - Show CPU usage
  • free - Show memory usage
  • df - Show disk usage
  • ps - List running processes

Navigation

  • pwd - Print current directory
  • clear - Clear terminal

Configuration

The AI features require a Google Gemini API key. Create a .env file in your project directory:

GENAI_API_KEY=your_gemini_api_key_here

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

ai_terminal_codemate-0.1.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_terminal_codemate-0.1.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file ai_terminal_codemate-0.1.1.tar.gz.

File metadata

  • Download URL: ai_terminal_codemate-0.1.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for ai_terminal_codemate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ca34d4544580d4fc9fd3f38d2a1e461f20ab4d04766cd8c18c598f6d68a0d467
MD5 c148dfa29be96f2c400b125362eb1f80
BLAKE2b-256 1534a84768782f40033d6473ecf2b95b39ea27af08037b44c85eb5dbfd31f7c3

See more details on using hashes here.

File details

Details for the file ai_terminal_codemate-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_terminal_codemate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fd670b0a44fa67252f65052cecaa3dc88f2fd083bdefdbacafb8cfbe2fdf6d9
MD5 1a3d6453318453c38f7aa82db4f01f73
BLAKE2b-256 cdb8d8d936999a467b1077049411d823ab8834ee8d249dc61eeb3e350594fce8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page