template bg

GitHub Trending Repositories Scraper

GitHub Trending Repositories Scraper is a BrowserAct Bot template for collecting structured records from public GitHub Trending pages.

Published by
Br
BrowserAct Team
August 21, 2026
Approx.Credits
33-63 Credits
Categories
BA
GitHub
Template ID
113868321549477287

Brief

GitHub Trending Repositories Scraper is a BrowserAct Bot template for collecting structured records from public GitHub Trending pages. Configure the language, time window, and result count, then run the Bot to return trending repository data for open-source research, developer ecosystem monitoring, competitive analysis, or workflow automation.

What Does BrowserAct GitHub Trending Repositories Scraper Do?

This template opens a public GitHub Trending page, reads each repository card, and returns one structured record per trending repository.

Key Features

  • Extract public GitHub Trending repositories without requiring a GitHub login.
  • Capture rank, full name, owner, repository name, URL, description, primary language, stars, forks, period growth, built-by contributor URLs, and since period.
  • Configure base URL, language, since period, and count.
  • Support daily, weekly, and monthly trending windows.
  • Return fewer records than count when GitHub lists fewer repositories for the selected page.

What Data Can I Extract from GitHub Trending?

Field Description
rank Repository position on the Trending page.
full_name Repository full name, such as owner/repo.
owner Repository owner.
repo_name Repository name.
repo_url Public GitHub repository URL.
description Repository description.
language Primary language shown by GitHub.
stars Total stars shown on the page.
forks Fork count shown on the page.
stars_period Stars gained during the selected period.
built_by Visible contributor profile URLs.
since Trending period used for the run.

How to Use GitHub Trending Repositories Scraper

  1. Click Run task.
  2. Enter a language slug such as javascript, python, or go.
  3. Choose daily, weekly, or monthly.
  4. Set how many repository records to collect.
  5. Run the Bot and review the structured repository results.

Input Parameters

Parameter Required Default Description
base_url Yes https://github.com Base GitHub URL without a trailing path.
language Yes javascript Language slug used in the Trending path.
since Yes daily Trending time window: daily, weekly, or monthly.
count Yes 25 Maximum number of repository records to return.

Example Output

{
  "repositories": [
    {
      "rank": 1,
      "full_name": "example/repository",
      "owner": "example",
      "repo_name": "repository",
      "repo_url": "https://github.com/example/repository",
      "description": "Example trending repository description.",
      "language": "JavaScript",
      "stars": 65583,
      "forks": 12728,
      "stars_period": 193,
      "built_by": ["https://github.com/example"],
      "since": "daily"
    }
  ]
}

How Does it Work?

How GitHub Trending Repositories Scraper runs

BrowserAct constructs a public GitHub Trending URL from base_url, language, and since, then opens the page in a live browser. The Bot reads each repository card, maps the repository identity, counts, language, growth text, and visible built-by contributor profile links, then returns records in page order.

GitHub Trending is a single public page and may list fewer repositories than the requested count. In that case, BrowserAct returns all available records and stops cleanly.

How to Build a New Scraper Bot with Agent Built

Step 1: Describe the Data You Need

Open BrowserAct and start Agent Built from the Home prompt box or from Create -> Build with Agent. Paste a clear request that includes the website, the records to collect, the filters or search conditions, the fields to return, the result limit, and the inputs you want to reuse later.

Agent Built prompt templates

Step 2: Let BrowserAct Build and Test the Bot

BrowserAct explores the live website, works out the navigation and extraction path, and validates the result. If BrowserAct asks for clarification, reply in the same build conversation with the missing URL, condition, field, example, or expected output.

Agent Built exploration

Step 3: Run the Bot and Review the Result

When the build is complete, run the Bot with the default inputs first. Review the structured records, source URLs, missing fields, and row count before reusing the Bot with new inputs or connecting it to another workflow.

Agent Built run inputs

Agent Built run results

Why Scrape GitHub Trending Repositories?

GitHub Trending data helps teams monitor open-source momentum, discover fast-growing developer tools, track language ecosystems, compare repository traction, and route repository signals into dashboards or agents.

Who Can Use This Template?

  • Developer relations teams tracking open-source trends.
  • Product teams researching developer tools.
  • Investors and analysts monitoring fast-growing repositories.
  • Engineering teams discovering libraries and frameworks.
  • Automation builders routing repository records into reports, alerts, databases, or agents.

How Many Results Can You Scrape?

Use count to control the maximum number of repositories returned. GitHub Trending is a single page, so the Bot returns all visible repositories when the page contains fewer than your requested count.

Automation and Export

Automation and export flow

BrowserAct returns structured GitHub repository records first. You can then use the output through API JSON responses, n8n workflows, Make scenarios, Zapier automations, MCP-based agent workflows configured from the Bot's Integrations tab, or manual CSV review.

Need Help?

Contact us at

Discord: Discord Community

E-mail: service@browseract.com

What can we do for youWhat can we do for you

FAQ About the template

Your next scraper starts here.

GitHub Trending Repositories Scraper | Extract Trending Repos, Stars, Forks, Languages, and