Skip to main content

Syntax-highlighted Claude-controlled bash.

Project description

Demo

Cube Script Demo

ChatSH: a Minimalist LLM Shell

ChatSH is a command-line tool powered by Claude, designed for syntax-highlighted bash productivity.

Note: This contains an anthropic api key for you to try it. It's limited to $5 a month so please don't abuse it.

Features

  • Interactive LLM-powered bash REPL
  • Syntax highlighting for improved readability

Installation

Use Poetry to install the dependencies:

poetry install

Usage

Run the tool using:

chatsh

A loaner token is included for the default anthropic chat. It is heavily rate limited so please replace it with your own token ASAP. Write your anthorpic token as a text file to ~/anthropic.token.

License

This project is licensed under the MIT License.

Thanks

Victor Tailin. This project is inspired by his chatsh.mjs.

FAQ

What's your trick?

The trick is a nice prompt with some good examples.

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

chatsh-0.3.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

chatsh-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file chatsh-0.3.0.tar.gz.

File metadata

  • Download URL: chatsh-0.3.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for chatsh-0.3.0.tar.gz
Algorithm Hash digest
SHA256 41b15f87953501ddd35518422f128901e6161ab0bacf3e73cfb91de15134bafc
MD5 4f25555d179baf981c34debb07710427
BLAKE2b-256 56f5075b9be47c818d0147b54c83b5af21e868801a713bd74bd3ff73cc8278e3

See more details on using hashes here.

File details

Details for the file chatsh-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: chatsh-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for chatsh-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48703c119eb9e3fc93b329f04da0d1c5563e733da129d8f6b58640e0d14ca77f
MD5 5afce7f75980937c78b4d27781dc5834
BLAKE2b-256 c1904b96bfcc7258025fae2c6ccfc2237bb3007bb1a1c3346e68ad227405ecee

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