Thank you for your interest in contributing! 🎉
- Check if the bug has already been reported in Issues
- If not, create a new issue with:
- Clear title and description
- Steps to reproduce
- Expected vs actual behavior
- Termux version and Android version
- Error messages or logs
- Check existing feature requests
- Create a new issue describing:
- The feature and its use case
- How it would work
- Why it would be valuable
-
Fork the repository
git clone https://github.com/YOUR_USERNAME/gemini-cli-termux.git cd gemini-cli-termux -
Create a feature branch
git checkout -b feature/amazing-feature
-
Install development dependencies
pip install --break-system-packages -e ".[dev]" -
Make your changes
- Write clean, readable code
- Follow the existing code style
- Add docstrings to functions/classes
- Update documentation if needed
-
Test your changes
# Run tests python -m pytest tests/ # Format code python -m black gemini_cli/ python -m isort gemini_cli/ # Check for issues python -m flake8 gemini_cli/
-
Commit your changes
git add . git commit -m "Add amazing feature"
Use clear commit messages:
feat: Add new featurefix: Fix bug in Xdocs: Update documentationrefactor: Refactor codetest: Add tests
-
Push to your fork
git push origin feature/amazing-feature
-
Open a Pull Request
- Go to your fork on GitHub
- Click "New Pull Request"
- Describe your changes clearly
- Link any related issues
- Follow PEP 8
- Use type hints where appropriate
- Keep functions focused and small
- Write descriptive variable names
- Add docstrings to all public functions/classes
- Update README.md if adding features
- Comment complex logic
- Write tests for new features
- Ensure existing tests pass
- Test on actual Termux if possible
- Always use Termux-compatible paths
- Test clipboard integration with Termux-API
- Ensure no native dependencies are added
- Verify Python-only solutions work
Feel free to:
- Open an issue for discussion
- Join discussions in existing issues
- Ask questions in Pull Requests
- Be respectful and constructive
- Welcome newcomers
- Focus on the code, not the person
- Help make this project better for everyone
Thank you for contributing! 🚀