Skip to main content

Automate GitHub trending data collection with FireCrawl, GPT and Supabase

Workflow preview

Workflow preview
100%
Automate GitHub trending data collection with FireCrawl, GPT and Supabase preview
Open on n8n.io

Important notice

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

1. Workflow Overview

GitHub Trending to Supabase (Daily, Weekly, Monthly) Who is this for? This workflow is for developers, researchers, founders, and data analysts who want a historical dataset of GitHub Trending repo...

Best for

  • Engineering automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.supabasetool, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.scheduletrigger, @mendable/n8n-nodes-firecrawl.firecrawl, n8n-nodes-base.stickynote, 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 Cai Yongji.

Original n8n.io source

1.1 Workflow description

Title
Automate GitHub trending data collection with FireCrawl, GPT and Supabase
Workflow name
Automate GitHub trending data collection with FireCrawl, GPT and Supabase

GitHub Trending to Supabase (Daily, Weekly, Monthly)

Who is this for?

This workflow is for developers, researchers, founders, and data analysts who want a historical dataset of GitHub Trending repositories without manual scraping. It’s ideal for building dashboards, newsletters, or trend analytics on top of a clean Supabase table.

What problem is this workflow solving?

Checking GitHub Trending by hand (daily/weekly/monthly) is repetitive and error-prone. This workflow automates collection, parsing, and storage so you can reliably track changes over time and query them from Supabase.

What this workflow does

  • Scrapes GitHub Trending across Daily, Weekly, and Monthly timeframes using FireCrawl.
  • Extracts per-project fields: name, url, description, language, stars.
  • Adds a type dimension (daily / weekly / monthly) to each row.
  • Inserts structured results into a Supabase table for long-term storage.

Setup

  1. Ensure you have an n8n instance (Cloud or self-hosted).

  2. Create credentials:

    • FireCrawl API credential (no hardcoded keys in nodes).
    • Supabase credential (URL + Service Role / Insert-capable key).
  3. Prepare a Supabase table (example):

     CREATE TABLE public.githubtrending (
     id bigint GENERATED ALWAYS AS IDENTITY NOT NULL,
     created_at timestamp with time zone NOT NULL DEFAULT now(),
     data_date date DEFAULT now(),
     url text,
     project_id text,
     project_desc text,
     code_language text,
     stars bigint DEFAULT '0'::bigint,
     type text,
     CONSTRAINT githubtrending_pkey PRIMARY KEY (id)
     );
    
  4. Import this workflow JSON into n8n.

  5. Run once to validate, then schedule (e.g., daily at 08:00).

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 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 2 - Create a row in Supabase

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

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - daily

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

Block 5 - weekly

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

Block 6 - monthly

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

Block 7 - firecrawl

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 8 - Sticky Note

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

Block 9 - B1

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

Block 10 - B2

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

Block 11 - B3

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

Block 12 - B_ALL

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

3. Summary Table

Workflow Automate GitHub trending data collection with FireCrawl, GPT and Supabase
Complexity intermediate
Nodes 12
Categories Engineering, Multimodal AI
Author Cai Yongji
Published 14 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7394/7394.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 Automate GitHub trending data collection with FireCrawl, GPT and Supabase do?

GitHub Trending to Supabase (Daily, Weekly, Monthly) Who is this for? This workflow is for developers, researchers, founders, and data analysts who want a historical dataset of GitHub Trending repo...

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 Engineering, Multimodal AI use case.