# Compare GitHub Repositories

**Use case:** 

Compare specific GitHub repos side by side: stars, contributors, release recency, maintenance and a health score, with a winner picked. JSON or CSV.

## Input

```json
{
  "query": "web scraping language:python",
  "sortBy": "stars",
  "maxResults": 30,
  "compareRepos": [
    "facebook/react",
    "vuejs/vue",
    "sveltejs/svelte"
  ],
  "enrichRepoData": true,
  "extractContributorEmails": false,
  "compareToPreviousRun": false,
  "notionArchiveProfile": "summary",
  "deliverTopN": 10
}
```

## Output

```json
{
  "fullName": {
    "label": "Repository",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "stars": {
    "label": "Stars",
    "format": "integer"
  },
  "forks": {
    "label": "Forks",
    "format": "integer"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "license": {
    "label": "License",
    "format": "string"
  },
  "homepage": {
    "label": "Homepage",
    "format": "string"
  },
  "daysSinceLastPush": {
    "label": "Days Since Push",
    "format": "integer"
  },
  "isAbandoned": {
    "label": "Abandoned",
    "format": "boolean"
  },
  "hasWiki": {
    "label": "Has Wiki",
    "format": "boolean"
  },
  "hasPages": {
    "label": "Has Pages",
    "format": "boolean"
  },
  "hasDiscussions": {
    "label": "Has Discussions",
    "format": "boolean"
  },
  "communityProfile": {
    "label": "Community Profile",
    "format": "object"
  },
  "activityStats": {
    "label": "Activity Stats",
    "format": "object"
  },
  "contributors": {
    "label": "Contributors",
    "format": "object"
  },
  "languages": {
    "label": "Languages",
    "format": "object"
  },
  "latestRelease": {
    "label": "Latest Release",
    "format": "object"
  },
  "repoUrl": {
    "label": "Repo URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [GitHub Repo Search — Stars, Language & Topics](https://apify.com/ryanclinton/github-repo-search) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/github-repo-search) to learn more, explore other use cases, and run it yourself.