Skip to main content

Scrape latest Github trending repositories

Workflow preview

Workflow preview
100%
Scrape latest Github trending repositories preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Scrape Latest 20 TechCrunch Articles Who is this for? This workflow is designed for developers, researchers, and data analysts who need to track the latest trending repositories on GitHub. It is us...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.html, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Teddy.

Original n8n.io source

1.1 Workflow description

Title
Scrape latest Github trending repositories
Workflow name
Scrape latest Github trending repositories

Scrape Latest 20 TechCrunch Articles

Who is this for?

This workflow is designed for developers, researchers, and data analysts who need to track the latest trending repositories on GitHub. It is useful for anyone who wants to stay updated on popular open-source projects without manually browsing GitHub’s trending page.

What problem is this workflow solving?

Manually checking GitHub’s trending repositories daily can be time-consuming and inefficient. This workflow automates the extraction of trending repositories, providing structured data including repository name, author, description, programming language, and direct repository links.

What this workflow does

This workflow scrapes the trending repositories from GitHub’s trending page and extracts essential metadata such as repository names, languages, descriptions, and URLs. It processes the extracted data and structures it into an easy-to-use format.

Setup

  1. Ensure you have n8n installed and configured.
  2. Import this workflow into your n8n instance.
  3. Run the workflow manually or schedule it to execute at regular intervals.
  4. (Optional) Customize the extracted data or integrate it with other systems.

How to customize this workflow to your needs

  • Modify the HTTP request node to target different GitHub trending categories (e.g., specific programming languages).
  • Add further processing steps such as filtering repositories by stars, forks, or specific keywords.
  • Integrate this workflow with Slack, email, or a database to store or notify about trending repositories.

Workflow Steps

  1. Trigger execution manually using the "When clicking ‘Test workflow’" node.
  2. Send an HTTP request to fetch GitHub’s trending page using "Request to Github Trend".
  3. Extract the trending repositories box from the HTML response using "Extract Box".
  4. Extract all repository data including names, authors, descriptions, and languages using "Extract all repositories".
  5. Convert extracted data into a structured list for easier processing using "Turn to a list".
  6. Extract detailed repository information using "Extract repository data".
  7. Format and set variables to ensure clean and structured data output using "Set Result Variables".

Note: Since GitHub’s trending page updates dynamically, ensure you run this workflow periodically to capture the latest trends.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Extract Box

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 3 - Request to Github Trend

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Turn to a list

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 5 - Set Result Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Extract repository data

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 7 - Extract all repositories

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

3. Summary Table

Workflow Scrape latest Github trending repositories
Complexity intermediate
Nodes 7
Categories Market Research
Author Teddy
Published 08 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2866/2866.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scrape latest Github trending repositories do?

Scrape Latest 20 TechCrunch Articles Who is this for? This workflow is designed for developers, researchers, and data analysts who need to track the latest trending repositories on GitHub. It is us...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.