Get all public, source, non-archived repos from a GitHub organization and display as CSV or HTML.
Clone, install, configure, and go!
git clone git@github.com:joshcanhelp/repos-to-csv.git
cd repos-to-csv
cp example.env .env
vim .env
Add your personal access token or username and password to .env
to increase your API limits (not required but greatly helps if you're troubleshooting).
Now, install:
npm install
node index.js
Open your browser and go to localhost:5000?format=html&repos=github-tools and you should see all the public, source, non-archived repos from Tools for GitHub with more than one star.
Options:
- Change
format
tocsv
to get a CSV output you can save and open in Excel, Google Docs, or another editor. - Add multiple repos, separated by a comma, to see multiple orgs together.
- Add a
stars
parameter to set the minimum number of stars (default is1
) - Add a
topic
parameter to filter by topics.