Create and sync GitHub issues automatically from JSON or YAML. Perfect for bootstrapping new projects, seeding backlogs, or syncing TODOs with GitHub Projects.
- Bulk-create issues from
.jsonor.yamlfiles - Supports titles, descriptions, and labels
- Dry-run mode for validation before you hit the API
- Works with both public and private repos
- Clean CLI built on Typer
git clone https://github.com/dpereowei/gh_issues.git
cd gh_issues
pip install -r requirements.txt-
Generate a GitHub Personal Access Token
- Classic token
- Scopes:
repo,public_repo,issues
-
Save it in a file called
token.txt(or use theGITHUB_TOKENenv var):export GITHUB_TOKEN=ghp_XXXX
python3 -m gh_issues.cli issues.json --repo <owner>/<repo>Dry-run mode (no API calls):
python3 -m gh_issues.cli issues.json --dry-runExample JSON:
[
{
"title": "Implement Environment Lifecycle States",
"body": "Add lifecycle transitions: pending → provisioning → active → terminating → terminated → failed.",
"labels": ["backend", "enhancement"]
}
]Loaded 18 issues
Created: Implement Environment Lifecycle States
Created: Add Terraform Log Capture
...
- Add GitHub Projects (v2) integration
- YAML schema validation
- Markdown template support
- Issue syncing (close/update existing)
Pull requests are welcome; this tool’s goal is to make project bootstrapping fast and repeatable. Please create an issue or submit a PR to make it smarter.