GitHub Trending Scraper avatar

GitHub Trending Scraper

Pricing

from $0.10 / 1,000 dataset items

Go to Apify Store
GitHub Trending Scraper

GitHub Trending Scraper

Scrapes GitHub trending repositories by language and time period. Extracts repo name, author, description, language, stars, forks, and daily star growth.

Pricing

from $0.10 / 1,000 dataset items

Rating

0.0

(0)

Developer

Moeeze Hassan

Moeeze Hassan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Share

Scrape GitHub Trending repositories filtered by programming language, time period, and spoken language. The actor parses the trending page HTML and returns structured data for each repo including name, author, description, stars, forks, and daily/weekly star growth.

Features

  • Filter trending repos by programming language (e.g. python, javascript, go)
  • Choose a trending window: daily, weekly, or monthly
  • Filter by spoken language code (e.g. en, zh, es)
  • Extracts star counts, fork counts, and star growth for the selected period

Input Fields

FieldTypeRequiredDefaultDescription
languagestring""Filter trending repos by programming language (e.g. python, javascript, go). Leave empty for all languages.
sincestring (enum)dailyTrending time period: daily, weekly, or monthly.
spokenLanguagestring""Filter by spoken language code (e.g. en, zh, es). Leave empty for all.
maxResultsinteger30Maximum number of trending repositories to scrape (1–100).

Output Fields

Each pushed dataset item is a repository record with the following fields:

FieldTypeDescription
namestringRepository name.
authorstringRepository owner / author.
urlstringFull URL to the repository.
descriptionstringRepository description.
languagestringPrimary programming language.
starsintegerTotal star count.
forksintegerTotal fork count.
starsTodayintegerStars gained during the selected period (daily/weekly/monthly).
totalStarsintegerTotal star count (alias of stars).

Usage Example

{
"language": "python",
"since": "daily",
"maxResults": 30
}
{
"since": "weekly",
"maxResults": 50
}
{
"language": "go",
"since": "monthly",
"spokenLanguage": "en",
"maxResults": 25
}

Run via the Apify CLI

$apify run github-trending-scraper --input '{"language":"python","since":"daily","maxResults":30}'

Data Source

Trending repositories are scraped from https://github.com/trending by parsing the rendered HTML with BeautifulSoup.