Skip to main content

unixgpt is a powerful bridge between natural language and UNIX commands

Project description

unixgpt

PyPI Upload Python Package

unixgpt is a powerful bridge between natural language and UNIX commands.

https://github.com/jamino30/unixgpt/blob/main/assets/demo.gif

The latest version of unixgpt can be installed from PyPI:

pip install unixgpt

To upgrade to the latest version:

pip install --upgrade unixgpt

Features

  1. Conversion: Effortlessly convert natural language queries into the corresponding UNIX commands.

  2. Command Options: After generating a command, you have the flexibility to:

  • Execute: Directly execute the generated UNIX command.
  • Save: Store frequently used commands locally for quick and easy access
  • Copy: Copy the generated command to the clipboard for easy pasting and use in your terminal.
  1. Reusability: Once a command is saved, easily access the command from storage with natural language or by ID

Examples

Conversion

Input: unixgpt -i "I want to see any uses of the 'git commit' command in my history"

Output: history | grep "git commit"
Input: unixgpt -i "Use the Dockerfile in the cwd to create an image called project-image"

Output: docker build -t project-image .
Input: unixgpt --input "Show me the current processes running on port 8000"

Output: lsof -i :8000

Save

Input: unixgpt -s "git commit && git push"

Output: "Added to UnixGPT local library"
Input: unixgpt --save 1599

Output: "Added to UnixGPT local library"

Fetch

Input: unixgpt -f "command that commits and pushes via Git"

Output: git commit && git push
Input: unixgpt --fetch 23

Output: "Returns command in UnixGPT local library with ID:23"

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

unixgpt-0.1.4.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

unixgpt-0.1.4-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

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