Krzysztof Kowalczyk 6/18/2026

Finding active GitHub forks from the command line

Read Original

This article describes a TypeScript script that uses the GitHub API to list active forks of a repository, showing branches with commits ahead of the upstream. It filters forks with changes in the last year, displays commit details (SHA, author, date, message), and sorts by most recent activity. The script requires Bun and GitHub CLI authentication. It provides a clearer alternative to GitHub's Network tab for tracking fork activity, with example output from the SumatraPDF repo.

Finding active GitHub forks from the command line

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet