https://github.com/wytamma/write-the
AI-powered Documentation and Test Generation Tool
https://github.com/wytamma/write-the
ai cli docs gtp tests workflow
Last synced: 7 months ago
JSON representation
AI-powered Documentation and Test Generation Tool
- Host: GitHub
- URL: https://github.com/wytamma/write-the
- Owner: Wytamma
- License: mit
- Created: 2023-04-15T14:15:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-27T02:04:31.000Z (8 months ago)
- Last Synced: 2025-06-06T21:42:48.000Z (7 months ago)
- Topics: ai, cli, docs, gtp, tests, workflow
- Language: Python
- Homepage: http://write-the.wytamma.com
- Size: 4.54 MB
- Stars: 113
- Watchers: 3
- Forks: 14
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README

AI-powered python code documentation and test generation tool
[](https://pypi.org/project/write-the)
[](https://pypi.org/project/write-the)
[](https://write-the.wytamma.com/)
[](https://github.com/Wytamma/write-the/actions/workflows/tests.yml)
[](https://app.codecov.io/gh/Wytamma/write-the/tree/master)
Write-the is an AI-powered documentation and test generation tool that leverages GPTs to automatically write tests, generate documentation, and refactor code. It is designed to streamline the development process, improve code quality, and increase productivity.

## Real-world examples
- [`write-the docs` to write the docs for the `write-the docs` command 🤖](https://github.com/Wytamma/write-the/blob/5d7a5a22d082be6ee870c694ef2d24e6d1610758/write_the/commands/docs/docs.py#L26)
- [`write-the mkdocs` to build the documentation site for `write-the` 🤖](https://write-the.wytamma.com/)
- [`write-the tests` to write tests for `write-the docs` 🤖](https://github.com/Wytamma/write-the/commit/6b6c8a08d7991e07e4972281c471f7842c04dda0)
- [`write-the docs` and `write-the mkdocs` to build documenation for `autoresearcher` 🤖](https://github.com/eimenhmdt/autoresearcher/pull/17)
- [`write-the docs` and `write-the mkdocs` to build documenation for `hyperspec` 🤖](https://github.com/smutch/hyperspec/pull/1)
- [`write-the docs` and `write-the mkdocs` to build documenation for `CUPCAKEAGI` 🤖](https://github.com/AkshitIreddy/CUPCAKEAGI/pull/4)
## Installation
```console
pip install write-the
```
## Features
Write-the offers the following AI-driven features:
- [Write-the Docs](https://write-the.wytamma.com/commands/docs/): Automatically generate documentation for your codebase, including class and function descriptions, parameter explanations, and examples.
- [Write-the Tests](https://write-the.wytamma.com/commands/tests/): Create test cases for your code, ensuring thorough test coverage and better code quality.
- [Write-the Convert](https://write-the.wytamma.com/commands/convert/): Convert code and data from any format into another.
In addition write-the can also [manage OpenAI models](https://write-the.wytamma.com/commands/model/) and [scaffold MkDocs websites](https://write-the.wytamma.com/commands/mkdocs/).
## Requirements
- Python 3.9 or higher
- OpenAI API key
To use `write-the` you must set an `OPENAI_API_KEY` environment variable (e.g. `export OPENAI_API_KEY=...`).
## Documentation
For detailed information on available options and parameters, refer to the official (`write-the` generated) [documentation](https://write-the.wytamma.com/).
## Roadmap
The main goal for write-the is to develop a generic module system to document, test, and optimise code in any language in a reliable and repatable way.
For a detailed project roadmap, including planned features, improvements, and milestones, please see our Project Timeline (TBD).
## Contributing
We welcome contributions from the community. If you would like to contribute to Write-The, please follow these steps:
- Fork the repository and create a new branch for your feature or bugfix.
- Develop your changes and ensure that your code follows the project's coding standards.
- Create a pull request with a clear description of your changes and any relevant documentation.
- For more information on contributing, please see our Contributing Guide.
## License
`write-the` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.