# GitHub Repository Scraper – Stars, Activity & Health Score (`lokieee0/github-repo-intel`) Actor

For investors, dev-tool marketers & OSS due diligence: bulk-analyze GitHub repos from URLs, whole orgs/users or a search query. Stars, forks, 90-day commits, releases, issues, PRs, contributors, license and a 0–100 health score (active/stale/abandoned). Works with or without a token.

- **URL**: https://apify.com/lokieee0/github-repo-intel.md
- **Developed by:** [maraa k](https://apify.com/lokieee0) (community)
- **Categories:** Developer tools, Open source, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 repository analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## GitHub Repo Intel: stars, activity, releases & health score in bulk

Analyze hundreds of GitHub repositories at once, from a **list of repos**, **whole organizations or users**, or **any GitHub search query**. Each repo gets a **0–100 health score** and a status (`active` / `slowing` / `stale` / `abandoned` / `archived`), so you can tell at a glance whether a project is alive.

Used for open-source due diligence ("is this dependency still maintained?"), developer-tool market research, VC sourcing, competitor tracking and DevRel reporting.

### Data per repo

Stars · forks · watchers · **commits in the last 90 days** · last commit date · **latest release** and release count · open/closed issues · open/merged PRs · contributors · license · primary language with a **language breakdown (%)** · topics · archived/fork/template · security policy · code of conduct · funding links · created/pushed dates. **`movedFrom`** shows repos that were renamed or transferred (e.g. `facebook/react` → `react/react`).

### Health score (0–100)

| Part | Max | What it measures |
|---|---|---|
| Activity | 30 | Days since last commit, plus commit volume in the last 90 days |
| Popularity | 25 | Stars and forks (log scale) |
| Releases | 15 | How recent the latest release is |
| Issue hygiene | 15 | Share of issues that get closed |
| Governance | 15 | License, security policy, code of conduct, contributor base |

Archived repos are capped at 15. The full breakdown comes with every row.

### Token or no token

| | Without token | With a free token (no scopes) |
|---|---|---|
| GitHub rate limit | 60 requests/hour | 5,000/hour |
| Repos per request | 1 | **20 (GraphQL batching)** |
| Commits, releases, PRs, contributors | — | ✅ |

When the rate limit runs out, the actor **waits** for short resets (up to 90 s). Otherwise it stops with a clear message, and the results collected so far are kept.

### Input

```json
{
  "repos": ["vercel/next.js", "https://github.com/apify/crawlee"],
  "owners": ["apify"],
  "searchQuery": "topic:web-scraping language:typescript stars:>100",
  "githubToken": "ghp_…",
  "minStars": 50
}
```

Owner and search results are sorted **by stars on GitHub's side**, so "top 30" really means the 30 most-starred.

### How to use it

1. Add repos (`owner/name` or URLs), whole **owners** (orgs or users), or a GitHub **search query** like `topic:llm stars:>500`.
2. Add a free GitHub token (no scopes needed) for commits, releases, PRs and contributors, and 80× more speed.
3. Click **Start**.
4. Open **Overview** and sort by health score or status (`active`, `stale`, `abandoned`).

### How much does it cost?

You pay **$1.50 per 1,000 repositories** returned, with no subscription and no separate compute charges. Filters that drop rows mean you don't pay for those rows.

| You process | Typical use | Cost |
|---|---|---|
| 100 repositories | due diligence on a project's dependencies | **$0.15** |
| 1,000 repositories | a market map of a dev-tool category | **$1.50** |
| 10,000 repositories | VC deal sourcing | **$15** |

Apify's free plan includes monthly credit, which is enough to try this actor on a real list before you pay anything.

### Use it from code or your tools

Run it from **Make, Zapier, n8n, Google Sheets, Slack, webhooks** or any language through the [Apify API](https://docs.apify.com/api/v2).

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("lokieee0/github-repo-intel").call(run_input={
    "searchQuery": "topic:web-scraping stars:>100",
    "maxSearchResults": 50
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('lokieee0/github-repo-intel').call({"searchQuery": "topic:web-scraping stars:>100", "maxSearchResults": 50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**cURL** (run and get results in one request)

```bash
curl -X POST "https://api.apify.com/v2/acts/lokieee0~github-repo-intel/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"searchQuery": "topic:web-scraping stars:>100", "maxSearchResults": 50}'
```

### FAQ

**Do I need a GitHub token?**
No, but it's strongly recommended. Without one, GitHub allows 60 requests per hour and activity data is limited. A free token with no scopes gives 5,000 per hour.

**How is the health score calculated?**
Activity 30, popularity 25, releases 15, issue hygiene 15, governance 15. Archived repos are capped at 15. The breakdown is in every row.

**Can I monitor competitors' repos?**
Yes. Schedule a weekly run and send results to Google Sheets to track stars and activity over time.

**Can I schedule it or connect it to other apps?**
Yes. Use Apify **Schedules** for recurring runs, and **Integrations** to send results to Google Sheets, Slack, email, Zapier, Make, n8n or a webhook.

**Something didn't work or a field is missing?**
Open an issue on the **Issues** tab. Reports are usually fixed within a few days, and feature requests are welcome.

### More tools from the same developer

- [SPF, DKIM & DMARC checker with a 0–100 score and exact DNS fixes](https://apify.com/lokieee0/email-auth-auditor)
- [Find businesses with outdated websites, with a ready-to-send pitch](https://apify.com/lokieee0/website-redesign-auditor)
- [Jobs from Greenhouse, Lever, Ashby & 4 more ATS in one format](https://apify.com/lokieee0/ats-jobs-scraper)
- [Bulk SSL expiry & security headers scanner with A–F grades](https://apify.com/lokieee0/ssl-security-scanner)
- [Emails, phones & social profiles from any list of websites](https://apify.com/lokieee0/website-contact-extractor)
- [Detect 130+ technologies (CMS, Shopify, analytics, hosting) on any site](https://apify.com/lokieee0/tech-stack-detector)
- [Npm, PyPI & crates.io vulnerability and supply-chain risk audit](https://apify.com/lokieee0/package-intel)
- [Search, scrape & monitor Hacker News without the 1,000-result limit](https://apify.com/lokieee0/hacker-news-scraper)
- [Crawl a website for broken links, meta tag, redirect & sitemap issues](https://apify.com/lokieee0/seo-site-auditor)

# Actor input Schema

## `repos` (type: `array`):

owner/name or github.com URLs, e.g. vercel/next.js or https://github.com/apify/crawlee.

## `owners` (type: `array`):

Analyze an org's or user's public repos, most-starred first (e.g. apify, microsoft, torvalds).

## `searchQuery` (type: `string`):

Any GitHub repository search, e.g. "topic:web-scraping language:typescript stars:>100". Results come sorted by stars.

## `githubToken` (type: `string`):

A free personal access token with NO scopes (github.com/settings/tokens). Without one GitHub allows only 60 requests/hour and only basic metrics are returned. With one you get commits in the last 90 days, releases, PR/issue counts, contributors and a full health score, for up to ~5,000 repos/hour (20 repos per request).

## `maxReposPerOwner` (type: `integer`):

Top N repos by stars for each owner.

## `maxSearchResults` (type: `integer`):

GitHub search returns at most 1,000 results.

## `includeForks` (type: `boolean`):

Include forked repos when listing owners or searching.

## `minStars` (type: `integer`):

Skip repos with fewer stars. You don't pay for them.

## `maxItems` (type: `integer`):

Stop after this many results, which caps the cost of the run.

## Actor input object example

```json
{
  "repos": [
    "vercel/next.js",
    "apify/crawlee"
  ],
  "maxReposPerOwner": 30,
  "maxSearchResults": 50,
  "includeForks": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `allResults` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "repos": [
        "vercel/next.js",
        "apify/crawlee"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lokieee0/github-repo-intel").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "repos": [
        "vercel/next.js",
        "apify/crawlee",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lokieee0/github-repo-intel").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "repos": [
    "vercel/next.js",
    "apify/crawlee"
  ]
}' |
apify call lokieee0/github-repo-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lokieee0/github-repo-intel"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/kAO6KhjCZZtWeCem5/builds/PbCI9Le9LpRGjdcd1/openapi.json
