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

Uploaded Source

Built Distribution

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

chatsh-0.3.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatsh-0.3.2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for chatsh-0.3.2.tar.gz
Algorithm Hash digest
SHA256 1950344476d1b75725e649c775a552d42316fc5bfe09bc50f919c2525e318228
MD5 c9219477aff87ef062e4ad40ffa4ac78
BLAKE2b-256 9ceb00d37daa1b68fe31badbc28a23305a7d634611e04fb838376f7ad17ffbb3

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: chatsh-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for chatsh-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae2b590159506bb2eba5bd3f6ec0ec9451223577c044876a45a5e6638cfafd9
MD5 b112adb6ab024c377d93d434c227ffbb
BLAKE2b-256 dc1689c78d3d735b277ad614b077d9964417fc96178582bc9400d3ac8ab3aa51

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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