2023-05-26 01:15:30 +00:00
|
|
|
# talk-codebase is a powerful tool for chatting with your codebase
|
2023-05-27 01:13:34 +00:00
|
|
|
|
2023-05-26 12:02:35 +00:00
|
|
|
[![Node.js Package](https://github.com/rsaryev/talk-codebase/actions/workflows/python-publish.yml/badge.svg)](https://github.com/rsaryev/talk-codebase/actions/workflows/python-publish.yml)
|
2023-05-26 01:15:30 +00:00
|
|
|
|
|
|
|
<p align="center">
|
2023-05-26 18:38:24 +00:00
|
|
|
<img src="https://github.com/rsaryev/talk-codebase/assets/70219513/6d92e905-fb1b-4235-857b-e6e19041ad79" width="800" alt="chat">
|
2023-05-26 01:15:30 +00:00
|
|
|
</p>
|
2023-05-27 01:13:34 +00:00
|
|
|
|
2023-05-26 01:15:30 +00:00
|
|
|
## Description
|
|
|
|
|
2023-05-27 01:13:34 +00:00
|
|
|
In the chat, you can ask questions about the codebase. AI will answer your questions, and if necessary, it will offer
|
|
|
|
code improvements. This is very convenient when you want to quickly find something in the codebase, but don't want to
|
|
|
|
waste time searching. It is also convenient when you want to improve a specific function, you can ask "How can I improve
|
|
|
|
the function {function name}?" and AI will suggest improvements. Codebase is analyzed using openai.
|
2023-05-26 01:15:30 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install talk-codebase
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-05-27 01:13:34 +00:00
|
|
|
talk-codebase works only with files of popular programming languages and additionally with .txt files. All other files
|
|
|
|
will be ignored.
|
|
|
|
|
2023-05-26 01:15:30 +00:00
|
|
|
```bash
|
|
|
|
# Start chatting with your codebase
|
|
|
|
talk-codebase chat <directory>
|
|
|
|
|
|
|
|
# Configure
|
|
|
|
talk-codebase configure
|
|
|
|
|
|
|
|
# Help
|
|
|
|
talk-codebase --help
|
|
|
|
```
|