Run with Docker
You can run Clean Coder inside a Docker container as well!
Installation
Clone repo:
create file with envinronment variables from template:
Set up Coding pipeline
- Get your OpenAI API key.
- Add it to your .env file:
OPENAI_API_KEY=your_api_key_here
. - Create a folder for your programming project if it doesn’t exist yet.
- Provide full path to your project dir in .env file:
WORK_DIR=/path/to/your/project/dir
.
Optional, but recommnded:
- Get Anthropic API key.
- Add it to your .env file:
ANTHROPIC_PROJECT_ID=your_api_key_here
.
Run coding pipeline:
Set up Project Manager
- Get your Todoist API key.
- Add it to your .env file:
TODOIST_API_KEY=your_api_key_here
- Create a new Todoist project and copy its ID (found at the end of the project’s URL).
- Add it to your .env file:
TODOIST_PROJECT_ID=your_project_id_here
Now it’s time to write a description of your project. In the project directory, open .clean_coder/project_description.txt (start Clean Coder for a few seconds and then close to create the .clean_coder directory). Describe your project here and save.
🔥 Tips for a Good Project Description:
- Provide a clear vision for each feature
- Specify if tests and docs should be included
- Add any other relevant details that could help the AI understand your project better
Run Project Manager
Happy coding! 😋