Quick Overview
This workflow runs daily, scrapes GitHub Trending for multiple programming languages, filters and ranks repositories by stars gained today, and posts a formatted summary of the top results to a Slack channel.
How it works
- Runs every 24 hours on a schedule.
- Defines the target languages, minimum “stars today” threshold, time range (since), and how many repositories to report.
- Fetches the GitHub Trending page for each language and extracts the HTML blocks for individual repositories.
- Parses repository details (name, URL, language, stars today, total stars), filters out repos below the minimum threshold and excludes archived projects.
- Sorts the remaining repositories by stars gained today, keeps the top N per language, and aggregates all results into a single list.
- If any repositories are found, formats a Slack message with links and star counts and posts it to Slack; otherwise it exits without posting.
Setup
- Add a Slack API credential and select the Slack channel where the alert should be posted.
- Review and adjust the configuration values (languages array, minStars, topN, and since) to match what you want to track.
- Update the schedule interval if you want the workflow to run more or less frequently than once per day.