Automate Your Daily Dose of GitHub Trending Repositories
detail.loadingPreview
Stay ahead of the curve with this n8n workflow that automatically scrapes and organizes the top trending repositories on GitHub every day. Get key details like author, repository name, and description delivered directly to you.
About This Workflow
This n8n workflow is designed to efficiently capture the pulse of the developer community by extracting the top 13 trending repositories from GitHub. It begins by fetching the trending page, then intelligently parses the HTML to isolate individual repository listings. Each repository's crucial data – including its author, name, language, and a concise description – is then extracted and structured. Finally, the workflow standardizes this information, creating clear variables for author, title, repository, url, and description, along with a timestamp of when the data was collected. This provides developers and tech enthusiasts with a curated, up-to-date list of innovative projects, saving valuable time spent manually browsing GitHub's trending section.
Key Features
- Automated GitHub Trending: Effortlessly retrieve the latest top repositories without manual intervention.
- Detailed Repository Data: Extracts essential information including author, repository name, language, and description.
- Cleaned and Structured Output: Provides well-organized data ready for further processing or integration.
- Timestamped Results: Includes a
created_atfield to track when the data was captured. - Customizable GitHub URL: Generates a direct link to each trending repository.
How To Use
- Trigger: The workflow is initiated by clicking the ‘Test workflow’ button on the manual trigger node.
- Fetch Trending Page: The
Request to Github Trendnode fetches the HTML content fromhttps://github.com/trending. - Isolate Repository Blocks: The
Extract Boxnode uses a CSS selector (div.Box) to extract the main container holding the trending repository information. - List Individual Repositories: The
Extract all repositoriesnode targetsarticle.Box-rowwithin the extracted box to get HTML snippets for each individual repository and returns them as an array namedrepositories. - Split into Individual Items: The
Turn to a listnode processes therepositoriesarray, preparing each item for further extraction. - Extract Repository Details: The
Extract repository datanode iterates through each repository item, extracting therepositoryname (a.Link),language(span.d-inline-block), anddescription(p) using specific CSS selectors. - Set Result Variables: The
Set Result Variablesnode processes the extracted data. It parses therepositorystring to getauthorandtitle, constructs a cleanurl, captures thedescription, and sets acreated_attimestamp.
Apps Used
Workflow JSON
{
"id": "2b336c57-f6bf-4cc5-80ce-4a04632fccc9",
"name": "Automate Your Daily Dose of GitHub Trending Repositories",
"nodes": 19,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 2b336c57-f6bf...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.