← Back to Blog

How to Get More GitHub Stars: 12 Tactics That Actually Work

Published

Stars are the closest thing GitHub has to a popularity metric. They help people decide whether a project is worth trying, they push repositories into GitHub's trending and topic pages, and they make up a large part of your GitScore. But stars are an outcome, not a goal. Repositories earn them when they solve a real problem and the right people find out about them.

This guide covers both halves: making a project worth starring, and getting it in front of the people who would star it.

Make the project worth starring

1. Solve one specific problem

"A toolkit for developers" gets ignored. "Convert Postman collections to OpenAPI 3.1 in one command" gets starred by everyone who has that problem. Narrow, concrete projects are easier to explain, easier to search for, and easier to recommend. If your project does many things, lead with the one people need most.

2. Write a README that sells in ten seconds

Most visitors decide within a few seconds whether to keep reading. The top of your README should answer three questions immediately: what is this, why should I care, and how do I try it?

Put badges, contributor lists and long configuration docs further down. They matter, but they aren't what convinces someone to try it.

3. Make the first run painless

Every extra setup step loses people. Publish to the package manager your users already use (npm, PyPI, crates.io, Homebrew), provide sensible defaults, and make the quick start work without accounts, API keys or config files where possible. A hosted demo or a playground link removes the setup step entirely.

4. Name it so people can find it

Clever names are memorable but hard to search. Consider a name that hints at what the project does, or make sure the repository description contains the words people would search for. The repo description is indexed by GitHub search and by Google, so "Fast JSON schema validator for TypeScript" beats "⚡ blazing fast".

Get it in front of the right people

5. Add repository topics

Topics (the tags on a repository's main page) power GitHub's topic pages and improve search ranking. Add 5–10 accurate topics: the language, the framework, the problem domain and the type of tool, for example typescript, react, form-validation, cli.

6. Launch where your users already are

A single good launch post can bring more stars than months of waiting. Match the channel to the audience: Hacker News (Show HN) for developer tools, relevant subreddits such as r/programming, r/rust or r/reactjs, Dev.to and Hashnode for tutorials, Product Hunt for polished end-user tools, and the Discord or Slack communities for your ecosystem. Write the post about the problem you solved, not about yourself, and stay around to answer questions.

7. Get listed in "awesome" lists

Curated lists like awesome-react or awesome-python are browsed by exactly the developers who would use your project. Open a pull request that follows the list's contribution guidelines, with a one-line description that matches the list's style.

8. Write about how you built it

A technical blog post about an interesting problem you solved while building the project (a performance trick, a tricky bug, an architecture decision) often travels further than an announcement. Link to the repository naturally within the post.

9. Show up where the problem is discussed

When someone on Stack Overflow, a GitHub issue or a forum asks about the exact problem your project solves, a helpful answer that mentions it is welcome. Answer the question first; only mention your project when it genuinely fits.

Keep people coming back

10. Respond to issues and pull requests quickly

Visitors check whether a project is alive before starring it. A quick, friendly reply to issues and a recent commit history signal that the project is maintained. Label beginner-friendly issues with good first issue so contributors can find them.

11. Ship regular releases with changelogs

Releases notify everyone who watches the repository and give you a reason to post updates. A clear changelog also shows the project is moving forward.

12. Ask, once, in the right place

A short line at the end of your README like "If this saved you time, a star helps others find it" is fine. Don't buy stars or join star-exchange groups: GitHub removes fake stars and can flag accounts, and inflated numbers don't bring real users.

How stars affect your GitScore

Stars are the biggest part of Community Impact (up to 220 points), and every repo that reaches 10 stars also adds to Projects (up to 110 points). Both use a logarithmic scale, so your first 100 stars move your score far more than going from 5,000 to 5,100. That makes stars one of the best ways for newer developers to raise their score. Check your score to see the "How to raise your score" tips calculated for your profile.