How to get GitHub stars for your repository: a free 7-day course
Seven lessons for maintainers: why stars matter, a README that converts, a repository page that builds trust, content that brings developers, launch events, GitHub Trending and how to read your star history.
Time. Plus 30 minutes of work on your repository a day.
Beginner to intermediate
Level. For a first open-source project or one that has stalled.
100% online and free
Format. Self-paced. No login, no email.
Updated October 2026
Updated. Written for GitHub as it works in 2026.
Why your repository is not getting stars
You built something useful, pushed it to GitHub and waited. A few friends starred it, and then nothing. Usually the code is not the problem. The README does not explain the project to a stranger, the About box is empty, nobody outside your circle has heard of it, and there has never been a moment that made people look at it at the same time.
This course fixes those things in order: the pitch, the page, the content, the events and the measurement.
What you will learn
Why stars matter
What they signal and what they should lead to.
Write a README that converts
A first screen that makes strangers star and try.
Set up the repository page
About, topics, social preview, license, releases and labels.
Write content that converts
Tutorials, engineering stories and honest comparisons.
Create events
Launches, releases and milestones stacked for attention.
Reach GitHub Trending and measure
Concentrated attention, star history and traffic.
What you leave with
By Day 7 you will have a rewritten README, a complete About box with topics and a social preview, labelled good first issues, a tutorial outline, a planned launch event with its channels, notes on trending repositories in your language and a star history chart with your baseline.
Who this course is for
Open-source maintainers
You want more users and contributors for your project.
Developer-tool founders
Your repository is the top of your funnel.
Developer advocates
You need a repeatable plan for each new project or release.
Developers building a portfolio
You want your best side project to be seen.
Who it is not for
If your repository is private or not usable by others yet, finish a working quickstart first. If you are preparing a single launch day for a product with a website, the Product Hunt launch course goes deeper on that day.
What you need to start
0 of 4 done
How much time it takes
Each lesson takes 10-15 minutes to read and the task about 30 minutes. Days 2 and 4 may take longer if your README or tutorial needs a full rewrite. After the course, plan one piece of content and one review per week.
What to expect and when
Week 1: the foundation
README, About box and issues are ready for visitors.
Your first event
Stars arrive in a wave around the launch, release or article, visible as a jump in star history.
Months after
Each new event and article adds a step. The course authors show this with Novu's star history, which reached 20,000 stars.
Roadmap: from a quiet repo to a growing project
Purpose
Know what stars should lead to (Day 1).
Pitch
README and repository page (Days 2-3).
Reach
Content and events (Days 4-5).
Momentum
GitHub Trending (Day 6).
Proof
Star history, traffic and usage (Day 7).
Four frameworks. The rest is reps.
Stars are a doorway
Measure usage and contributors behind them.
The first screen
Description, visual, badges, quick links.
Teach, do not sell
Content that solves a problem converts developers.
Stack the attention
Several channels on the same days.
7 days to a repository people star
0 of 7 lessons done0%
The free course at How to get GitHub stars opens with an honest answer to "GitHub stars? Why do I need them?": GitHub stars are a vanity metric. Then it explains why they still matter: with more stars, you get more contributors, members and overall growth.
What a star actually is. A bookmark plus a public signal. It tells the developer who starred that they can find your repository again, and it tells everyone else that people found it worth saving.
Why the signal compounds.
Trust: a developer comparing two libraries often checks the star count first, then the README.
Discovery: repositories that gain stars quickly can appear on GitHub Trending and in "awesome" lists, which bring more visitors.
Contributors and users: more visitors means more issues, pull requests and people who actually use the project.
Opportunities: maintainers use star growth when they talk to sponsors, employers or investors.
Decide what you want stars to lead to. Write one sentence: "More stars should bring ___." For example: "more teams trying the SDK in production" or "first outside contributors". That goal shapes your README, your content and your launch events.
Common mistake. Treating stars as the goal. They are a doorway; the goal is usage and contributors behind the door.
Today's action
Write one sentence about what more stars should bring your project and record today's star count.
Every visitor lands on your README. It is your homepage, your pitch and your documentation in one, and it decides in seconds whether someone stars, tries or leaves.
The first screen.
Name and one-line description: what it does and for whom. "Open-source notification infrastructure for developers" beats "A cool tool".
A visual: a screenshot, a short GIF or a diagram that shows the result.
Why this project: two or three lines on the problem and how you solve it differently.
Quickstart: the shortest path to a working result, in copy-paste commands. If it takes more than a few minutes, cut steps.
Features: a short list, each with one sentence.
Contributing: how to get involved, with a link to good first issues.
Ask for the star, once. A short line near the top or after the quickstart, such as "If this saves you time, a star helps others find it", is fine. One clear ask beats repeated banners.
Before and after.
Weak opening: "This repo contains my project."
Strong: "Ship transactional emails, SMS and in-app messages from one API. Self-host in 5 minutes."
Common mistake. A README written for you, not for a stranger who has never seen the project.
Today's action
Rewrite the first screen of your README: one-line description, one visual, meaningful badges and a working quickstart.
Beyond the README, the repository page has several fields that help people find you and trust you. Most of them take a minute to fill.
The About box. Add a description, a website link and topics. Topics act like tags: people browse them, and they help GitHub show your repository in the right places. Use the words developers would actually search for: the language, the framework, the problem.
Social preview image. In the repository settings you can upload an image that appears when your link is shared on social media and chat apps. A clean image with the project name and one-line description makes every shared link more clickable.
License. Many companies cannot use a project without a clear license. Adding one removes a silent reason not to try it.
Releases. Publish tagged releases with short notes. They show the project is alive and give you news to share.
Issues and labels. Label beginner-friendly issues as "good first issue" and keep a few open. New contributors look for them, and contributors tend to star the projects they work on.
Discussions or a community link. A place for questions keeps users close and gives you material for content.
Common mistake. An empty About box. It is the first thing people see in search results and on your profile.
Today's action
Fill the About box with a description, website and topics, add a social preview image and label three good first issues.
"Writing content that converts" is one of the skills the How to get GitHub stars course promises to teach. Content is how developers who have never heard of you find your repository.
Four content types that bring developers to a repository.
The tutorial: solve a real problem step by step, with your project as one part of the solution. Readers who follow along end up in your repository.
The "how we built it" post: architecture decisions, trade-offs and mistakes. Developers love honest engineering stories.
The comparison: an honest look at your project next to the well-known alternatives, including where they are better.
The launch or release post: what is new, why it matters and a link to try it.
Where to publish. Your own blog for long-term search traffic, developer communities such as DEV for reach, and short versions on X, LinkedIn and Reddit communities where the topic fits. Always read a community's rules first.
Make the path to the repo short. Link to the repository early, not only at the end, and make sure the README matches what the article promised.
Repeat what works. Track which articles send visitors and keep writing in that format.
Common mistake. Writing an advertisement. Developers share content that teaches them something; they ignore content that only sells.
Today's action
Outline one tutorial that solves a real problem with your project and list three places to publish it.
"Creating events" is the second skill from the How to get GitHub stars course. An event is a moment that gives people a reason to look at your project now: a launch, a big release, a milestone.
Events you can create.
A public launch: a Show HN post on Hacker News, a Product Hunt launch or a post in a relevant Reddit community.
A major release: version 1.0, a long-awaited feature or a new integration, announced everywhere at once.
A milestone: "100 contributors" or "one year of open source", told as a story with thanks.
A community event: a live coding session, a community call or a small hackathon around your project.
Stack your events. Plan the launch post, the release, the article from Day 4 and posts on your social channels for the same few days. Attention from several places at once is what moves a repository.
Prepare before the day. README polished, quickstart tested, issues triaged and someone ready to answer questions fast. Visitors who hit a broken install do not come back.
Be present. Reply to comments on every channel during the event. Thoughtful answers turn curious visitors into users and stargazers.
Common mistake. Announcing quietly in one place. An event needs several channels on the same day to be noticed.
Today's action
Pick your next event, choose its date and list every channel you will post on during those days.
"Be on the GitHub trending list" is the third promise of the How to get GitHub stars course. GitHub Trending shows repositories that are gaining attention right now, filtered by language and by day, week or month, and many developers check it regularly.
How trending helps. A trending repository is seen by people who were not looking for it. That brings a new wave of visitors, some of whom star, share and write about it, which can keep it trending longer.
What gets you there. Trending reflects how much attention a repository gets in a short window compared with its usual level. That is why the events from Day 5 matter: concentrated attention over a few days does more than the same attention spread over months.
Pick your language page. Trending lists exist per language. A smaller language list is easier to appear on, and its visitors are exactly the developers who can use your project, so make sure GitHub detects your main language correctly.
Be ready for the wave. When you trend, issues and questions arrive. Answer fast, merge good first contributions and pin a "start here" issue.
Keep the wave going. Share the moment ("We are trending in TypeScript today, thank you!") and follow with a useful article or release while attention is high.
Common mistake. Launching on many channels on different weeks. Spread out, the attention never reaches the level that trending picks up.
Today's action
Check GitHub Trending for your main language today and note which repositories appear and what their READMEs have in common.
The How to get GitHub stars course answers this question with its own example: the author's team managed to get Novu to 20,000 stars, and the proof is in the star history.
Use star history. A star history chart plots your total stars over time. Mark your events on it: launches, releases, articles. The slope after each one shows what actually moved the project.
Look at your traffic. In the repository Insights, the traffic view shows recent visitors, the sites that referred them and the content they opened. If an article sends visitors but they do not star, the README may not match its promise.
Track the goal behind the stars. Go back to Day 1. If you wanted contributors, count first-time contributors per month. If you wanted users, track downloads or installs. Stars are the leading signal; usage is the result.
A weekly review.
Stars gained this week and the event or content behind them.
Top referring sites.
New issues, pull requests and first-time contributors.
One change for next week.
Record your baseline today. Stars, weekly visitors, contributors and downloads, with today's date.
Common mistake. Watching the total and ignoring the slope. The total tells you where you are; the slope tells you what is working.
Today's action
Open a star history chart for your repository, mark your past events on it and record your baseline numbers.
Before you move on: the 7-day checklist
0 of 9 done
Coming soon
Bonus: your GitHub profile README
Coming soon. Turn your profile into a showcase for your projects.
Bonus: growing contributors
Coming soon. From first issue to regular maintainer.
Check your star history
Enter a repository to see its stars over time. Mark your launches and releases to see what moved the line.
GitHub star history
FreePublic data onlyNo login
What is included
7 lessons
Each with a task you finish on your own repository.
The three skills at the heart of the course (writing content that converts, creating events and being on the GitHub trending list), the view of stars as a vanity metric that still brings contributors and growth, and the Novu 20,000-star example come from the free course at How to get GitHub stars. Trending filters are described from GitHub Trending itself.
What this course covers, and what it does not
It covers: organic growth of a public repository: the README, repository setup, content, launch events, GitHub Trending and measurement.
It deliberately stops short of: writing better code, monetising open source and paid developer marketing.
Why it is free
Because open source runs on shared knowledge. Every lesson is open with no login and no email. When your repository is ready and you want real developers to see it, upvote.club is one click away.
What this is. A 7-day course for maintainers on getting a repository discovered and starred.
How to use it. Keep your repository open in another tab: every task is done on it. Days 2-3 prepare the repository, Days 4-6 bring people to it, Day 7 measures. Do not run the event from Day 5 before the README from Day 2 is ready.
Track your progress. Tick the checklist as you go and take the self-check at the end. Your progress stays on this device.
What to do after the 7 days
Run your first event
Launch, release or article, stacked on the same days.
Publish one piece of content a month
Keep the tutorial format that sent the most visitors.
Review weekly
Stars, referrers and first-time contributors.
Plan your launch day
Take the Product Hunt launch course for a product launch.