Skip to content

Get organization repos and output as CSV or HTML

Notifications You must be signed in to change notification settings

joshcanhelp/repos-to-csv

Repository files navigation

Repos to CSV

Get all public, source, non-archived repos from a GitHub organization and display as CSV or HTML.

Installation

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.

Output example

Options:

  • Change format to csv 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 is 1)
  • Add a topic parameter to filter by topics.

About

Get organization repos and output as CSV or HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published