Skip to main content

a simple code chat tool inspired by auto coder

Project description

auto-coder-chat-lite

A lightweight AI code generation tool.

English | 中文

Overview

auto-coder-chat-lite is a lightweight tool designed to facilitate code chat and project scaffolding. It provides a command-line interface for interacting with the project, allowing users to add, remove, and list files, as well as request AI-based code modifications.

Installation

To install auto-coder-chat-lite, you need to have Python 3.6 or higher installed. Then, you can install the package using pip:

pip install auto-coder-chat-lite

Usage

After installation, you can run the tool using the following command:

code.chat

This will start the interactive command-line interface where you can use the following commands:

  • /add_files <file1> <file2> ... - Add files to the current session.
  • /remove_files <file1> <file2> ... - Remove files from the current session.
  • /list_files - List all active files in the current session.
  • /coding <query> - Request the AI to modify code based on requirements.
  • /exclude_dirs <dir1> <dir2> ... - Exclude directories from file searches.
  • /conf [<key> [<value>]] - View or set configuration options.
  • /commit_message - Generate a commit message based on Git diff.
  • /help - Show this help message.
  • /exit - Exit the program.

Dependencies

The project relies on the following Python packages:

  • colorama==0.4.6
  • loguru==0.7.2
  • markdown-it-py==3.0.0
  • mdurl==0.1.2
  • pathspec==0.12.1
  • prompt_toolkit==3.0.47
  • pydantic==2.8.2
  • pydantic_core==2.20.1
  • Pygments==2.18.0
  • pyperclip==1.9.0
  • rich==13.7.1
  • wcwidth==0.2.13
  • GitPython==3.1.43
  • Jinja2==3.1.4

These dependencies are automatically installed when you install auto-coder-chat-lite using pip.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue on the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any questions or feedback, please contact the author at 251027705@qq.com.

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

auto_coder_chat_lite-0.1.7.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

auto_coder_chat_lite-0.1.7-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file auto_coder_chat_lite-0.1.7.tar.gz.

File metadata

  • Download URL: auto_coder_chat_lite-0.1.7.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for auto_coder_chat_lite-0.1.7.tar.gz
Algorithm Hash digest
SHA256 61f31e701b3d88825fc5730e4768e618335705bb7b9af293f099af814da96fbb
MD5 983df6cc872ed0b2945938a3f0408038
BLAKE2b-256 aa171e10dbadb89a94d8617be73108105f1e4ee59ec13d1ca1adddbf729974a7

See more details on using hashes here.

File details

Details for the file auto_coder_chat_lite-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for auto_coder_chat_lite-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a08a3589a73c49f55e9a3eda19717fd438eea9496dc5f9cd804e360f2f061e
MD5 6d55ee47d21ef4f866c8bb687db71b50
BLAKE2b-256 eb1deceaaeb36145cac165f2683c9e7761a061c613b494acd9af44e08f294e25

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