Awesome
github-project-exporter
A tool to export GitHub Projects to JSON or CSV file format, based on github-project-to-csv by fiedl
Requirements
- Install GitHub CLI:
brew install gh
- Login with gh:
gh auth login --scopes "project"
Usage
Without Install
NPM
npx github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.json
# or
npx github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.csv
Yarn
yarn github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.json
# or
yarn github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.csv
PNPM
pnpm github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.json
# or
pnpm github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.csv
Bun
bunx github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.json
# or
bunx github-project-exporter --project https://github.com/users/MuhAssar/projects/2 --output project.csv
With Install
npm i -g github-project-exporter
gpe --project https://github.com/users/MuhAssar/projects/2 --output project.json
# or
gpe --project https://github.com/users/MuhAssar/projects/2 --output project.csv
Further Resources
- Github documentation on the projects api
- Introduction to GraphQL
- Understanding GraphQL Queries
- Github GraphQL Object Reference
- Github GraphQL API Explorer
Contributing
Feel free to submit a pull request for bugs or additions, and make sure to update tests as appropriate. If you find a mistake in the docs, send a PR! Even the smallest changes help.
For major changes, open an issue first to discuss what you'd like to change.
⭐ Found It Helpful? Star It!
If you found this project helpful, let the community know by giving it a star: 👉⭐
Core Team
<table> <tr> <td align="center"><a href="https://github.com/MuhAssar"><img src="https://avatars.githubusercontent.com/u/2022065?v=4" width="100px;" alt="Muhammad Assar"/><br /><sub><b>Muhammad Assar</b></sub></a></td> </tr> </table>Other libs from the author
If you enjoy working with TypeScript, we also recommend other libraries by the same author:
- ngx-prayertimes-api - 🕋 🚀 An Angular api client for Prayer Times API
- ngx-hadeethenc-api - 🕋 🚀 Angular api client for hadeethenc.com