Dollar Hunter - GitHub Trending Repos avatar

Dollar Hunter - GitHub Trending Repos

Pricing

Pay per usage

Go to Apify Store
Dollar Hunter - GitHub Trending Repos

Dollar Hunter - GitHub Trending Repos

Get trending GitHub repositories by language. Perfect for developers, recruiters, and tech investors tracking open source trends.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Jonatan J. Martinez Collymoore

Jonatan J. Martinez Collymoore

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Share

πŸ“ˆ GitHub Trending Repos Search β€” Apify Actor

Scrape trending GitHub repositories by programming language, time period, and sort order. Zero API keys required. Returns stars, forks, topics, and full metadata for every repo.

Built with Apify Node


✨ Features

  • πŸ” Filter by language β€” Python, JavaScript, Rust, Go, TypeScript, and 20+ more
  • ⏱ Time period β€” Daily, weekly, or monthly trending repos
  • πŸ“Š Sort options β€” By stars (hot) or last updated (fresh)
  • πŸ“„ Pagination β€” Fetch up to 100 results (GitHub max), auto-paginates
  • πŸ” Auto-retry β€” 3 retry attempts with exponential backoff on rate limits and server errors
  • πŸ›‘ No API key β€” Uses the public GitHub Search API (unauthenticated)
  • πŸ“¦ Structured output β€” Clean JSON with name, description, stars, forks, URL, language, topics, author, updated date
  • πŸ† Top N summary β€” Console output shows top 5 with star counts

πŸ“₯ Input

FieldTypeDefaultPossible ValuesDescription
languagestringpythonSee Supported LanguagesProgramming language filter
maxResultsinteger251 – 100Maximum repos to return (per run)
sincestringdailydaily, weekly, monthlyTime range for trending repos
sortstringstarsstars, updatedSort by star count or last update

🌐 Supported Languages

pythonjavascripttypescriptrust
gojavakotlinswift
cppcsharprubyphp
shellluahaskellelixir
scaladartrperl
zigcrystalsolidity

πŸ“€ Output

Each run produces a single dataset entry with the following structure:

FieldTypeDescription
languagestringLanguage requested
sincestringTime period requested
sortstringSort field requested
totalResultsintegerNumber of repos returned
resultsarrayArray of repository objects

Each repository object in results:

FieldTypeDescription
namestringFull repo name (e.g. owner/repo)
descriptionstringRepo description (max 500 chars)
starsintegerStar count
forksintegerFork count
urlstringGitHub URL
languagestringDetected language
topicsarrayGitHub topic tags
updatedstringLast update timestamp (ISO 8601)
authorstringOwner login

🎯 Use Cases

  1. πŸ”¬ Tech scouting β€” Find what's trending in open source. Spot the next big framework before it goes mainstream.
  2. 🎯 Developer recruiting β€” Discover top talent contributing to trending projects in your stack.
  3. πŸ“ˆ Market & trend research β€” Track language popularity shifts over time. Compare Rust vs Go activity weekly.
  4. πŸ€– AI/ML training data β€” Curate repositories for fine-tuning code models, RAG datasets, or benchmark collections.
  5. πŸ“° Content creation β€” Generate "Trending This Week" roundups for newsletters, blogs, or social media.
  6. πŸ“Š Competitive intelligence β€” Monitor which open-source projects are gaining traction in your industry.

πŸ“‹ Example

Input

{
"language": "rust",
"maxResults": 10,
"since": "weekly",
"sort": "stars"
}

Output (sample)

{
"language": "rust",
"since": "weekly",
"sort": "stars",
"totalResults": 10,
"results": [
{
"name": "rustdesk/rustdesk",
"description": "An open-source remote desktop, and alternative to TeamViewer.",
"stars": 84523,
"forks": 11234,
"url": "https://github.com/rustdesk/rustdesk",
"language": "Rust",
"topics": ["remote-desktop", "rust", "vnc"],
"updated": "2025-07-16T12:34:56Z",
"author": "rustdesk"
}
]
}

❓ FAQ

❔ Do I need a GitHub API token?

No. The actor calls the public GitHub Search API without authentication. GitHub's unauthenticated rate limit (~10 req/min) is sufficient for occasional use at 25 results per run. For higher throughput, the actor automatically retries on 403/429 with Retry-After header support.

❔ Why am I getting fewer results than maxResults?

GitHub's Search API caps unauthenticated requests at 100 results per query and may return fewer if there aren't enough trending repos in the given language + time window. The actor transparently handles pagination and returns whatever is available.

❔ Can I run this on a schedule?

Yes! Apify lets you schedule any actor on a cron. Set since: "weekly" with a weekly schedule to get a consistent snapshot of trending projects over time.

❔ What happens when GitHub rate-limits me?

Built-in retry logic catches 403 (rate limit) and 429 (too many requests) responses, reads the Retry-After header, waits the specified duration (up to 120 seconds), and retries up to 3 times. Partial results are preserved if a retry ultimately fails.


πŸ’° Pricing

MetricCost
Per run (25 repos)$0.00
Per run (100 repos)$0.00
Platform feeApify platform usage charges apply

This actor only charges for successful data pushes. Failed runs are free.


🏷 Tags

github trending open-source developer-tools scraper repositories stars programming-languages