The short answer
Open source marketing is documentation plus a good first five minutes. Treat the README as your landing page, give it a one-sentence promise and a working example, announce where the people with the problem already are, and answer issues quickly so early users turn into contributors.
Most open source projects do not stall because the code is bad. They stall because a visitor lands on the repository, cannot tell in ten seconds what it does or how to try it, and leaves. There is no ad budget to fix that and no sales page behind it. The README is the sales page, the documentation is the onboarding, and your replies to the first issues are customer support. This guide covers the README, a teardown of three real ones, where to announce a first release, how to turn users into contributors, and how to stay sustainable.
Why is the README your landing page?
Because it is the page almost every visitor sees first, and it has the same job as a landing page: say what this is, who it is for, and what to do next. GitHub's maintainer advice makes the same point. In five tips for promoting your open source project, the first thing to settle is the problem your project solves and how to say it as simply as possible, and one maintainer quoted there names too much technical terminology as one of the biggest mistakes they see.
A useful test is the finish-the-sentence exercise from the Open Source Guides on finding users: “I think my project would really help X, who are trying to do Y.” If you cannot finish that sentence, the README will not either. Put the finished sentence at the top, then add one working example, then everything else. The same logic applies to any product, and I cover it for apps in free tools as marketing.
What do three real READMEs do in the first screen?
Here is a teardown of three well-known public projects, read from the default branch of each repository. I am describing what the first screen does, not ranking the projects, and I am not citing any popularity figures. READMEs change, so treat each row as a snapshot of what to look for.
| Project | What the first screen says | What it does well | What to copy |
|---|---|---|---|
| ripgrep | A plain paragraph: a line-oriented search tool that searches a directory recursively for a regex, respects gitignore rules and skips hidden and binary files by default. It states first class support on Windows, macOS and Linux and links binary downloads. | Answers what it is and what it does differently in the first paragraph, then proves it with a screenshot and a benchmark table that lists the exact commands and timings. | Show the evidence, not an adjective. A table with the commands behind it lets a skeptical developer check the claim. |
| htmx | A logo with the line "high power tools for HTML", then an introduction saying it gives you AJAX, CSS transitions, WebSockets and server sent events directly in HTML through attributes. It follows with a size figure and a note that it has no dependencies. | Pairs a one-sentence promise with a motivation section written as four pointed questions, then gives a quick start that is one script tag and a short button example. | Put the first working example within one scroll. A reader should be able to try it before they decide to care. |
| Excalidraw | A cover image that links to the live editor, a short nav row (editor, blog, documentation, hosted plan), and the line "An open source virtual hand-drawn style whiteboard. Collaborative and end-to-end encrypted." Badges follow for the MIT license, PRs welcome and chat. | Lets people use the product from the first click, without cloning anything, and signals that contributions and chat are open in the same screen. | Link the README to a place where the project already works. A hosted demo beats an install guide for first impressions. |
The pattern across all three is the same. Each opens with a plain statement of what the project is, gives the reader something to check or try almost immediately, and keeps the rest (installation, contributing, license) below. Notice what is missing: none of them opens with a history of the project, a list of dependencies or a thank-you list. Those belong lower, or in the documentation.
Add a logo or cover image only if it does work. Excalidraw's cover image is a link to the live product, which is a use, not a decoration. Add badges for the facts a visitor checks, such as license, build status and where to chat, and skip the ones that only fill space. Then link to a documentation site or a docs folder so the README does not have to carry every page.
Where should you announce a first release?
Announce where the people who have the problem already spend time, and say the same short thing everywhere. These four places cover most projects.
01Your own channels first
A short post on the accounts you already use, with the one-line description from your README and a link to the repository. Keep the wording identical everywhere so people who see it twice recognize it.
02Communities where the problem is discussed
Open source guides advise going where your audience already is and sharing in a relevant way: answer the question someone asked and mention the project where it fits. Read each community's rules before you post.
03Launch platforms and directories
Hacker News, Reddit, Product Hunt and similar sites reach people who like trying new tools. A listing on a launch directory is a durable link and a description a reader can act on.
04A launch calendar with a built-in crowd
Pick a day and tell people ahead of time. The Favors.dev launch calendar and apps directory exist for this, and members trade verified favors such as shares, reviews and feedback, so the first day is not silent.
GitHub's advice is blunt about self-promotion: post to social media, submit to Hacker News, Reddit and Product Hunt, and watch for people who have the problem you solve, then tell them you have a possible fix. The condition is that you are genuinely trying to help. The TODO Group guide to marketing open source projects puts the same idea as promoting the project first and staying authentic to the open source ethos of openness and transparency.
If you are about to post on Reddit, read how to market on Reddit without getting banned first. Many subreddits restrict self-promotion even for free projects, and the rules differ community by community.
How do Show HN and the other launch spots fit?
Show HN suits a project people can try, and open source fits that well. Post a plain title that says what it is, link the repository or a working demo, and add a first comment with the story of why you built it and what feedback you want. Stay in the thread and answer every question for the first few hours. The full process is in my Show HN launch guide, and the differences between the two formats are in Show HN vs Launch HN.
Do not expect one post to carry a project. Treat each release as a small reason to speak again: a short changelog post, a demo clip, a comparison with the approach people used before. The maintainers in the GitHub piece describe the same habit of promoting continuously as the project improves. I wrote about that rhythm for products in the build in public playbook.
How do you turn users into contributors?
Most contributors begin as users who hit a problem and fixed it, so the path is short if you keep it clear. Publish a CONTRIBUTING file and a code of conduct so people know contributions are welcome and how to make one. Label a few small issues as good first issues. Say how you review pull requests and how long it usually takes.
Then be responsive. The maintainers quoted by GitHub are consistent on this: you do not have to be on call all day, but pull requests, issues and comments that sit for weeks tell visitors the project is abandoned. A short reply that thanks the person and sets an expectation is enough. Public thanks in release notes cost nothing and are the cheapest recognition you can offer.
Early on, the most valuable thing you can ask of a first user is not a star. It is a sentence on where the README confused them. Fix that sentence and you have improved the next hundred visits. This is the same feedback loop I describe in how to get product feedback before launch, and it is where trading favors with other founders is useful. A member who reads your README cold and tells you what they understood is worth more than a dozen anonymous likes.
How do you keep an open source project sustainable?
Sustainable means the project can keep going without wearing you out, and that is partly a marketing question because attention is what brings sponsors, customers and help. Decide early what, if anything, is paid. Common shapes are a sponsorship link in the README (htmx's README, for example, invites people with no time to contribute to become a sponsor), a hosted version of the open source product, or paid support. Whatever you choose, state it plainly and keep the open project useful on its own.
Protect your time with boundaries you write down: what the project will not do, which kinds of requests you will close, and when you read issues. Maintainers who set those limits keep shipping longer. And keep the audience you have. A project that updates its documentation with each release, replies to people and shows a clear direction gives early users reasons to stay and tell others, which is the closest thing open source has to a growth loop. For the wider picture of channels a solo builder can sustain, see marketing channels for indie hackers, and if you also ship a browser extension, the Chrome extension listing audit.
When you are ready for people to look at the project, list it in the Favors.dev apps directory and meet the founders who trade favors there. Ask for one specific thing: read the README cold and tell me what you think it does.
Frequently asked questions
How do you promote an open source project?
Start with the README, because it is the page most visitors see first. Write a one-sentence promise, show a working example, then announce on your own channels, in communities where the problem is discussed, and on launch platforms such as Show HN. Keep answering issues quickly so early visitors stay.
How do you get GitHub stars?
Stars follow usefulness and clarity, not a tactic. A README that explains the project in one paragraph and a first example that works in minutes give people a reason to star it. Asking real users who got value is fine, but trading or buying stars damages trust and can get a repository flagged.
Where should you announce an open source project?
Announce where the people who have the problem already spend time: your own accounts, relevant forums and subreddits, Hacker News, Product Hunt and a launch calendar. Lead with the problem the project solves and the working example, not the technology underneath.
What should a good README include?
A one-paragraph description of what the project does and who it is for, a quick start with a working example, a link to documentation, the license, and a short note on how to contribute. Evidence such as a screenshot, demo link or benchmark helps the reader trust the claim.
How do you get contributors for an open source project?
Make contributing easy to start. Publish a CONTRIBUTING file and a code of conduct, label a few small issues as good first issues, respond to pull requests and questions quickly, and thank people in public. Early contributors usually begin as users who hit a problem.
