Thanks for your interest in contributing to OpenDraft!
# Clone the repo
git clone https://github.com/federicodeponte/opendraft.git
cd opendraft
# Install dependencies
pip install -e ./engine[dev]
# Run tests
cd engine && pytest tests/ -v- Python 3.10+ required
- Gemini API key - Get free at aistudio.google.com
- Set
GOOGLE_API_KEYin.env
opendraft/
├── engine/ # Main Python package
│ ├── opendraft/ # CLI and entry points
│ ├── phases/ # Pipeline phases (research, structure, compose, etc.)
│ ├── utils/ # Utilities (citations, retry, export, etc.)
│ └── tests/ # Test suite
├── npm/ # npm wrapper package
└── docs/ # Documentation
- Fork the repo
- Create a branch (
git checkout -b feature/your-feature) - Make changes
- Run tests (
pytest tests/ -v) - Commit (
git commit -m "feat: your feature") - Push and open a PR
Follow Conventional Commits:
feat:New featurefix:Bug fixdocs:Documentationrefactor:Code refactoringtest:Adding testschore:Maintenance
- Bug fixes
- Documentation improvements
- New citation sources
- New export formats
- Performance improvements
- Test coverage
Open an issue or reach out to @federicodeponte.
By contributing, you agree that your contributions will be licensed under the MIT License.