GitHub

GitHub stars,
one drop at a time.

Anyone downloading your template or starter kit already likes the project. Ask for a star on the repo — Unlockd checks GitHub's public API before unlocking.

·7 min read

In short
  1. 01

    The star is checked against GitHub's public API: the visitor stars the repo, types their username and the server checks.

  2. 02

    Keep the project open and lock the extras: premium templates, guides, complete examples.

  3. 03

    Promote it in your README, releases and technical posts — that's where people who already like the code are.

Why stars

A star is social proof for your code.

It won't pay the bills, but it opens doors: more people trust it, try it and contribute.

A repository with stars signals that other people have used it and found it useful. That matters when someone is choosing a library, accepting a contribution or reaching out to you. The problem is that most people who use it never come back to star it — not out of ill will, but because nobody thought to ask at the right moment.

The right moment is the download. The person has just decided your content is worth it. Asking for a star right there feels natural — and with Unlockd it's actually verified, not just promised.

Stars per 1,000 downloads

  • Direct link in the README9 ★
  • Link + a request for a star31 ★
  • Drop with a star trigger412 ★
Illustrative exampleIllustrative numbers to compare scenarios — not platform averages.
The drop

Keep the project open. Lock the extras.

The core code stays free. What goes in the drop is the shortcut.

Locking your own open-source code goes against the spirit of the project and drives contributors away. What works is offering something extra for people who want to get there faster:

  • A ready-made starter kit with auth, deploy and tests already set up.
  • Templates for pages, emails, dashboards or configuration.
  • A PDF guide covering the project's architecture, decisions and pitfalls.
  • Complete examples that go beyond the /examples folder.
  • A cheat sheet for your CLI or your API.
  • A clean dataset or the trained model used in the examples.
Illustrative example

The visitor stars the repo, enters their username and the server checks the public API.

01 / 05Your Unlockd page
1 of 5Taps Open on GitHub

The page opens your repository or profile.

The check

How the star is verified.

No GitHub login, no special permissions: just the public API.

  1. 01

    The visitor opens the repo

    The trigger button goes straight to github.com/user/repository.

  2. 02

    Stars it

    The usual way, on their own GitHub account.

  3. 03

    Enters their username

    They come back to the drop page and type their username.

  4. 04

    The server checks

    We look up that user's public list of starred repositories. If it's there, it unlocks.

  1. Opens the repo
  2. Gives a star
  3. Public API checks
  4. Template unlocked

1,284stars verified on this drop

You can ask for a star on a repository or a follow on your profile. Each GitHub user unlocks one visitor per drop, so the same account can't be used to unlock over and over.

Promotion

Put the link where developers already are.

The best spot is wherever people are already looking at your code.

  • README: an "Extras" section right after installation.
  • Releases: every new version is a good excuse to mention the kit.
  • Technical posts: articles on your blog, dev.to or Medium walking through a use case.
  • X and LinkedIn: a short thread showing what the template produces.
  • Newsletter: for people already following the project.
README snippet

## Extras Want a faster start? The complete starter kit (auth, deploy and tests ready to go) is at unlockd.page/my-kit — it's free, we just ask for a ⭐ on the repo.

Best practices

Stars from real people.

GitHub's rules prohibit automated or fake stars. Unlockd only checks actions from people actually using the page.

Avoid
  • Locking the project's core code
  • Star-for-star swaps with other projects
  • Using fake accounts or automation
  • Promising support you won't provide
Prefer
  • Extras that genuinely save time
  • A single star, no other triggers
  • Clear instructions after unlock
  • Updating the kit with every release

Want to combine? A star + a follow on your profile works well if you publish several projects. To grow beyond your own audience, add a referral.

FAQ

Frequently asked questions

Do I need to connect my GitHub account?

No. The check uses GitHub's public API: just enter the repository (user/repository), or your username for a follow.

What if the visitor removes the star later?

The drop will already have been unlocked for them. The star is checked at the moment of unlock.

Can I ask for stars on more than one repository?

Yes, one trigger per repository. But every extra trigger lowers conversion — usually one is enough.

Does it work with a private repository?

No. The list of stars has to be public for the check to work, so use a public repository.

Your kit, ready to go.
Your stars, verified.

Create the drop, point it at your repository and paste the link in your README.