Spiral gives your agent every tool with one account. Browse the tools →

n8n · Data

How to Use GitHub trending repositories in n8n

Returns GitHub's Trending list with repository ranks, descriptions, URLs, languages, star and fork totals, and stars gained during the selected period. Use it to shortlist projects attracting attention for a technical digest or tool review.

Prompts to try with GitHub trending repositories in n8n

Copy an example into n8n, or ask in your own words.

Every morning, use GitHub trending repositories to check today's Python list. Compare it with yesterday's saved results and report newly observed repositories with descriptions, links, and ranks.

GitHub trending repositoriesn8n
Try asking
  • Every Monday, use GitHub trending repositories to summarize this week's Go projects. Include total stars, forks, and stars gained this week, and highlight descriptions mentioning infrastructure.

  • Each weekday, use GitHub trending repositories to check today's TypeScript list. Report repositories whose displayed rank improved by at least five places since the previous saved result.

  • Every Friday, use GitHub trending repositories to fetch this week's Rust list and compare it with the previous saved weekly result. Summarize which repositories appeared in both.

  • Each morning, use GitHub trending repositories to check today's JavaScript projects. Create a briefing of returned repositories gaining at least 500 stars today, with descriptions and links.

How to set up GitHub trending repositories in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run GitHub trending repositories in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GitHub trending repositories, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run GitHub trending repositories

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/github-trending-repositories",
        "input": {
          "since": "daily"
        }
      }'

Then paste one of the prompts above: n8n finds GitHub trending repositories on Spiral, shows the price and runs it.

GitHub trending repositories providers and prices

Spiral runs GitHub trending repositories through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsData
GitHub · Trending Repositories
scrapecreators/github-trending-repositories

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sincedaily, weekly, or monthly

Trending range: daily, weekly, or monthly. Defaults to daily.

Every API field of GitHub · Trending Repositories is on its tool page: open its card above.

What can you do with GitHub trending repositories in n8n?

Produce a recurring briefing of newly observed GitHub Trending projects and changes in their displayed ranks. An agent running on a schedule can compare saved results and highlight repositories that keep appearing in the same language list.

Developer newsletter shortlist

Turn trending Python or TypeScript repositories into a newsletter shortlist with project descriptions, links, ranks, and stars gained during the selected period.

Tool evaluation queue

Find trending Go infrastructure tools or Python data tools from their returned descriptions. Create a review queue with repository links and popularity counts before evaluating the code separately.

Repository appearance alerts

Compare successive Python Trending results and flag repositories appearing for the first time in your saved observations, including their current rank and description.

Daily and weekly overlap report

Compare daily and weekly TypeScript Trending results by repository URL. Highlight projects appearing in both lists and show each list's rank and period star count separately.

Engineering reading list

Select Rust or Go projects whose descriptions match the team's current interests. Produce a short reading list with links and a description-based reason to investigate each project.

Public ecosystem research

Study which subjects recur in trending repository descriptions and compare their languages and popularity counts. For published research, follow GitHub's condition that resulting publications be open access.

Questions about GitHub trending repositories in n8n

Can n8n use GitHub trending repositories?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run GitHub trending repositories like any built-in tool.

How much does GitHub trending repositories cost in n8n?

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need a ScrapeCreators account to use GitHub trending repositories in n8n?

You need no ScrapeCreators account. n8n uses one Spiral API key for every tool, and Spiral runs GitHub trending repositories on its own ScrapeCreators account.

How long does it take to set up GitHub trending repositories in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while GitHub trending repositories runs?

GitHub trending repositories runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Does GitHub Trending cover every GitHub repository?

No. GitHub describes Trending as a place to browse popular repositories of the day, so use it for discovery rather than a complete repository inventory. ScrapeCreators retrieves publicly available information.

How fresh is the GitHub Trending data?

ScrapeCreators says it fetches the latest available information when you make a request. That describes retrieval freshness; it does not establish how often GitHub recalculates its rankings.

Are total stars and stars gained separate measurements?

Yes. The documented response separates total stars, total forks, and stars gained during the trending period, including a label such as stars today. Keep those measurements separate when comparing projects.

Does ScrapeCreators guarantee the counts are accurate?

No. Its terms explicitly decline to guarantee data accuracy or availability, including information retrieved from external websites.

Can I reuse code from any publicly listed repository?

Public visibility alone does not grant unrestricted code reuse. GitHub says default copyright restrictions apply when a repository has no license, including restrictions on reproduction, distribution, and derivative works.

Get started

Start using GitHub trending repositories in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options