Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshcanhelp/repos-to-csv

Get organization repos and output as CSV or HTML
https://github.com/joshcanhelp/repos-to-csv

Last synced: 3 months ago
JSON representation

Get organization repos and output as CSV or HTML

Awesome Lists containing this project

README

        

# 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!

```bash
git clone [email protected]:joshcanhelp/repos-to-csv.git
cd repos-to-csv
cp example.env .env
vim .env
```

Add your [personal access token](https://github.com/settings/tokens) or username and password to `.env` to increase your API limits (not required but greatly helps if you're troubleshooting).

Now, install:

```bash
npm install
node index.js
```

Open your browser and go to [localhost:5000?format=html&repos=github-tools](http://localhost:5000/?format=html&repos=github-tools) and you should see all the public, source, non-archived repos from [Tools for GitHub](https://github.com/github-tools?utf8=%E2%9C%93&q=stars%3A%3E1&type=source&language=) with more than one star.

![Output example](screenshot-01.png)

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.