Schedule icon
Request icon
Script icon
Docker icon
If icon
SlackIncomingWebhook icon

GitHub release binary download milestone and adoption digest

Aggregate GitHub release binary download metrics via GraphQL API and dispatch weekly adoption digests to DevRel teams in Slack to track version popularity.

Categories
BusinessInfrastructure

Tracks binary release asset download metrics across recent GitHub releases using the GraphQL API and sends automated milestone and adoption digests to developer relations and product engineering channels in Slack.

What you get

  • Real-time visibility into binary asset download counts (tarballs, installers, CLI packages) per release tag.
  • Identification of top-downloaded distribution packages to understand user platform preferences.
  • Automated weekly Slack digests celebrating milestone achievements and alerting on stalled releases.
  • Zero reliance on manual GitHub UI inspection or complex third-party telemetry tools.

Who it's for

  • Developer Relations (DevRel) and Open Source Program Offices (OSPO) tracking product adoption.
  • Release Managers evaluating binary distribution uptake across operating systems.
  • Product Managers monitoring version upgrades and migration velocities.

Why orchestrate this with Kestra

GitHub does not natively surface aggregate release asset download metrics in a unified dashboard. Querying individual asset statistics manually via the REST API requires multiple round-trips. Kestra orchestrates a single GraphQL request to retrieve all release assets and download counters in one payload, summarizes data via an isolated Python container, and automatically formats rich Slack embeds on a scheduled cadence.

Prerequisites

  • A GitHub personal access token (classic or fine-grained) with public_repo or repo read permissions.
  • A Slack Incoming Webhook URL configured for your product or devrel team channel.

Secrets

  • GITHUB_TOKEN: GitHub personal access token with repository read permissions.
  • SLACK_WEBHOOK_URL: Slack Incoming Webhook URL to deliver adoption digests.

Quick start

  1. Configure the GITHUB_TOKEN and SLACK_WEBHOOK_URL secrets in your Kestra instance.
  2. Adjust github_owner and github_repository inputs to target your repository (e.g. kestra-io and kestra).
  3. Trigger a manual execution from the Kestra UI to verify that release asset metrics are retrieved.
  4. Enable the weekly_release_digest_schedule trigger to dispatch weekly adoption summaries every Monday.

How to extend

  • Store historical download counters into Snowflake, BigQuery, or PostgreSQL to plot release adoption curves over time.
  • Add threshold branching to trigger automated celebratory tweets or LinkedIn posts when a milestone (e.g., 100,000 downloads) is achieved.
  • Compare asset architectures (e.g., linux-arm64 vs linux-amd64 vs darwin-arm64) to guide build matrix infrastructure investments.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.