Skip to main content

Shell copilot - sh shell AI copilot

Project description

Shy.sh

Sh shell AI copilot

Help

Usage: shy [OPTIONS] [PROMPT]...

Arguments prompt [PROMPT]

Options

  • -i Interactive mode [default false if a prompt is passed else true]
  • -x Do not ask confirmation before executing scripts
  • -s or start your message with /screen: Take a screenshot to be analyzed with the prompt (requires vision model)
  • --configure Configure LLM
  • --help Show this message and exit.

Install

pip install shy-sh

Use shy --configure to change LLM (default use ollama - llama3.1)

api_key format for aws bedrock: region_name acces_key secret_key

supported providers: openai, anthropic, google, groq, aws, ollama

Examples

> shy find all python files in this folder

🛠️ find . -type f -name '*.py'

Do you want to execute this command? [Y/n/c]:

./src/chat_models.py
./src/agent/tools.py
./src/agent/__init__.py
./src/agent/agent.py
./src/settings.py
./src/main.py

🤖: Here are all the Python files found in the current folder and its subfolders.
> shy -x convert aaa.png to jpeg and resize to 200x200

🛠️ convert aaa.png -resize 200x200 aaa.jpg

Success!

🤖: I converted the file aaa.png to JPEG format and resized it to 200x200 pixels.
> shy resize movie.avi to 1024x768 and save it in mp4

🛠️ ffmpeg -i movie.avi -vf scale=1024:768 -c:v libx264 output.mp4

Do you want to execute this command? [Y/n/c]: c

🤖: Command copied to the clipboard!
> shy

✨: Hello, how are you?

🤖: Hello! I'm fine thanks

✨: how many files in this folder

🛠️ ls | wc -l

Do you want to execute this command? [Y/n/c]:

5

✨: exit

🤖: 👋 Bye!

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

shy_sh-1.0.7.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

shy_sh-1.0.7-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file shy_sh-1.0.7.tar.gz.

File metadata

  • Download URL: shy_sh-1.0.7.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for shy_sh-1.0.7.tar.gz
Algorithm Hash digest
SHA256 c7275d560b785b8e3bccac08ee99c64b3e009a7a50d7eccbcb0b22d2b7788e0c
MD5 58ea77f4c1dd82cb141f81292c9fb0f3
BLAKE2b-256 a628b369a28fcc55a14445aff54d0c4d019825c89a6043bccd657086b957589b

See more details on using hashes here.

File details

Details for the file shy_sh-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: shy_sh-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for shy_sh-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e49f5eedee702897281455f4f5061358c239c98b7e48ce1cc08ceb929a9ad4de
MD5 52f75ab7d1d0c6ba9477df5b9b3aa393
BLAKE2b-256 df1c3d8b39a0519c2ba53272f80f963c382bda1edae4e42e1398249e9721aebf

See more details on using hashes here.

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