A lightweight Python CLI tool to export GitHub issues (and optionally comments) into CSV or JSON format.
- Export issues from any public or private GitHub repository
- Supports exporting comments on issues
- Choose between JSON or CSV output
- Works with GitHub Personal Access Tokens (fine-grained or classic)
pip install -r requirements.txt
python gh_issue_exporter.py --repo owner/repo --token YOUR_GITHUB_TOKEN --format json --output my_issues.json
--comments
: Include issue comments--output
: Specify output filename (default: issues.json or issues.csv)
This project is licensed under the MIT License.
Feel free to fork and submit PRs for enhancements or bug fixes!