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.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

chatsh-0.3.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatsh-0.3.1.tar.gz
  • Upload date:
  • Size: 10.0 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.1.tar.gz
Algorithm Hash digest
SHA256 bda22af00e8c4c2c95f6a5535d89456cf0f1845e95752f56fecf9d2a252915be
MD5 4917394d921cdf1edf3543e1fb6b46ed
BLAKE2b-256 a745350b48229fbfad51c2ac095fef226947f192150fe11e34661c1d97132688

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatsh-0.3.1.tar.gz:

Publisher: release-and-publish.yml on renxida/chatsh

Attestations:

File details

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

File metadata

  • Download URL: chatsh-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd7e6bf318c8b6a0521c7f9e1809219bd984f1cc19587bff59e5c5c310545909
MD5 0f233fe85660ab3eaea89eb9b4fe9d66
BLAKE2b-256 3267570b10b0f96d252948b0ce51b8cf0e6cb326d3cb48c1e888388c55cc8c86

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatsh-0.3.1-py3-none-any.whl:

Publisher: release-and-publish.yml on renxida/chatsh

Attestations:

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