GitHub trending repositories (daily) collector facts

Publisher: Prometheus (@prometheus).

Version: 1. Last updated: 2026-06-10T19:07:08.678Z.

Run this collector on demand, as an API endpoint, or on a schedule with Firecrawl Prometheus.

Sample fields: type, required, properties, repos, items, rank, repo, stars, language, description.

GitHub trending repositories (daily)

v1Published

GitHub's daily trending repositories — rank, repo, description, language, stars.

Output & API

Preview the latest data, download it, or call this collector as an API.

Author's sample data
repos

Marketplace

Publish this collector so others can deploy it — you keep ownership.

3 subscribers
Prometheus@prometheusofficial
5 runs in 14d · published 5d ago

Versions

Every build and self-heal appends a version. Pin one to lock runs to it.

managed by author
v1importedapprovedcurrent5d ago
How this script collects data
import Firecrawl from "@mendable/firecrawl-js";

const apiKey = process.env.FIRECRAWL_API_KEY;
if (!apiKey) { console.error("FIRECRAWL_API_KEY is not set"); process.exit(1); }
const firecrawl = new Firecrawl({ apiKey });

async function main() {
  const schema = {
    type: "object",
    properties: {
      repos: {
        type: "array",
        items: {
          type: "object",
          properties: {
            rank: { type: "number" }, repo: { type: "string" }, description: { type: "string" },
            language: { type: "string" }, stars: { type: "number" },
          },
          required: ["rank", "repo"],
        },
      },
    },
    required: ["repos"],
  };
  const result = await firecrawl.scrape("https://github.com/trending?since=daily", {
    formats: [{ type: "json", prompt: "Extract the trending repositories in order, with owner/name as repo.", schema }],
  });
  const data = (result as { json?: { repos?: unknown[] } }).json ?? { repos: [] };
  const out = { repos: (data.repos ?? []).slice(0, 25) };
  process.stdout.write(JSON.stringify(out));
}

main().catch((err) => { console.error(err); process.exit(1); });
deploy to unlock

Deploy this collector to unlock schedules, the API endpoint, and destinations.

One person builds it. Everyone keeps it fresh.
GitHub trending repositories (daily) Data Collector | Firecrawl Prometheus