A Deno CLI tool to export GitHub organization members to JSONL format.
- Export all members from any GitHub organization
- JSONL format output (one JSON object per line)
- Standalone binary compilation support
deno run --allow-net --allow-write main.ts --org <organization> --token <github_token>Pull and run from GitHub Container Registry:
docker run -v $(pwd):/data ghcr.io/jorgeteixe/github-members-export --org your-org --token your_github_tokenThe output file will be saved in your current directory as <organization>-members.jsonl.
--org, -o: GitHub organization name (required)--token, -t: GitHub personal access token (required)
Export organization members:
# Using Deno
deno run --allow-net --allow-write main.ts --org your-org --token ghp_xxxxxxxxxxxx
# Using Docker
docker run -v $(pwd):/data ghcr.io/jorgeteixe/github-members-export --org your-org --token ghp_xxxxxxxxxxxxYou need a GitHub personal access token with appropriate permissions to read organization members. Create one at GitHub Settings > Developer settings > Personal access tokens.
The tool exports data in JSONL format where each line contains a complete JSON object representing one organization member:
{"login":"octocat","id":1,"node_id":"MDQ6VXNlcjE=",...}
{"login":"defunkt","id":2,"node_id":"MDQ6VXNlcjI=",...}deno compile --allow-net --allow-write --output github-members-export main.tsdocker build -t github-members-export .MIT