Predicting the Popularity of GitHub Repositories
Not on the map. Why?
Abstract (arXiv)
GitHub is the largest source code repository in the world. It provides a git-based source code management platform and also many features inspired by social networks. For example, GitHub users can show appreciation to projects by adding stars to them. Therefore, the number of stars of a repository is a direct measure of its popularity. In this paper, we use multiple linear regressions to predict the number of stars of GitHub repositories. These predictions are useful both to repository owners and clients, who usually want to know how their projects are performing in a competitive open source development market. In a large-scale analysis, we show that the proposed models start to provide accurate predictions after being trained with the number of stars received in the last six months. Furthermore, specific models---generated using data from repositories that share the same growth trends---are recommended for repositories with slow growth and/or for repositories with less stars. Finally, we evaluate the ability to predict not the number of stars of a repository but its rank among the GitHub repositories. We found a very strong correlation between predicted and real rankings (Spearman's rho greater than 0.95).
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jul 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 1; 2026: 1.
6 papers.
- 2024The Impact of Generative AI on Collaborative Open-Source Software Development: Evidence from GitHub Copilotcited by 11
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Softwarecited by 4
- 2022Are Machine Programming Systems using Right Source-Code Measures to Select Code Repositories?cited by 1
- 2021Reputation Bootstrapping for Composite Services using CP-netscited by 0
- 2023What Causes Exceptions in Machine Learning Applications? Mining Machine Learning-Related Stack Traces on Stack Overflowcited by 0
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysiscited by 0
- 2026A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis7 Sep 2026
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Software21 Dec 2025
- 2024The Impact of Generative AI on Collaborative Open-Source Software Development: Evidence from GitHub Copilot2 Oct 2024
- 2023What Causes Exceptions in Machine Learning Applications? Mining Machine Learning-Related Stack Traces on Stack Overflow25 Apr 2023
- 2022Are Machine Programming Systems using Right Source-Code Measures to Select Code Repositories?24 Sep 2022
- 2021Reputation Bootstrapping for Composite Services using CP-nets27 May 2021