LetTheTinCanDoIt is a time-saving tool designed to streamline interactions with GPT models during development. It simplifies the process of sending multiple project files to a GPT-based assistant (such as OpenAI's models) and automatically updating the files on your local disk based on the model's response. This ensures that developers can focus on more valuable tasks while LetTheTinCanDoIt handles file inclusion, modification, and updates.
- Efficient File Handling: Select multiple project files and send them directly to GPT for analysis or modification.
- Automatic File Updates: Parse the response from GPT and automatically update the corresponding files on your disk, removing the need to manually copy and paste changes.
- Saves Time: By automating the file transfer and update process, LetTheTinCanDoIt helps developers save valuable time, allowing them to focus on core tasks.
- Customizable Requests: Include custom instructions or roles in the request to guide GPT in the desired direction.
When working on complex projects, you often need to interact with multiple files and send them to GPT for suggestions or modifications. Doing this manually takes a significant amount of time, which could be better spent on other development tasks. LetTheTinCanDoIt eliminates this overhead by including the chosen files in your request and handling the update process automatically. This ensures a smoother, more efficient workflow for developers.
To install and use LetTheTinCanDoIt, follow these steps:
-
Clone the repository:
git clone https://github.com/vitperov/LetTheTinCanDoIt.git cd LetTheTinCanDoIt
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Add your OpenAI API key:
- Create a
settings/key.json
file and add your API key in the following format:
{ "api_key": "your-openai-api-key" }
- Create a
-
Run the application:
-
Option 1 (recommended for Linux): Use the provided run script:
./run.sh
-
Option 2: Manually activate the virtual environment and run the command:
source venv/bin/activate python3 gpt.py
-
-
Select the files you want to include in your request using the FilesPanel.
-
Input your prompt and specify a role or instructions in the RoleSelector.
-
Send the request to GPT. LetTheTinCanDoIt will include the chosen files and generate a response.
-
LetTheTinCanDoIt will parse the response and automatically update the corresponding files on your disk with the changes suggested by GPT.
Contributions are welcome! If you'd like to contribute to LetTheTinCanDoIt, please fork the repository and submit a pull request.
Here is project web page. Feel free to leave comments if something isn’t working, or something is missing, or you just want to show some respect to the author. I love comments!
This project is licensed under the MIT License - see the LICENSE file for details.