How to sell code boilerplates, starter kits and scripts

Short answer

You can sell code boilerplates, starter kits and scripts by delivering them as a secure download or as access to a private GitHub repository after the buyer pays. Ruba does both, charges 4% + $0.50 per sale with no monthly fee, and pays you to your own bank with no company needed.

Code that developers pay for

Ankit in Pune built a Next.js starter with sign-in, billing pages and a clean admin. Every project he starts uses it. Other developers would pay to skip a week of setup. That is a boilerplate: code you sell once and ship many times.

The same is true for scripts, CLI tools, themes and small libraries. If a developer saves hours by buying it, it can be a product.

Zip file or private repository?

Ruba has two ways to deliver code. Pick the one that matches how you want to support it.

Files to downloadA zip
  1. 1Upload the zipAny file type works.
  2. 2Buyer paysBy card, on Ruba’s checkout.
  3. 3Personal linkSigned, lasts 60 minutes.
  4. 4Scanned for malwareBefore buyers download.
Simple. Good for a finished kit.
GitHub accessA private repo
  1. 1Connect a repositoryWith a GitHub App.
  2. 2Buyer paysBy card, on Ruba’s checkout.
  3. 3Ruba invites themAs a collaborator.
  4. 4Access endsWhen the entitlement ends.
Updates reach buyers. Works with subscriptions.
Figure 1Both are benefits you attach to a product. See Ruba’s docs for setup.

Pricing a starter kit

Starter kits often sell for $49 to $199. At those prices the fixed 50 cents hardly matters, and the percentage does.

Fee on one kit
Gumroad, direct linkYou keep$88.60Fee: 10% + $0.50 = $10.40
RubaYou keep$94.54Fee: 4% + $0.50 = $4.46
Ruba: you keep $5.94 more on each $99 sale.Polar’s free plan is 5% + 50¢. Its paid plans cost $20 to $400 a month. Ruba has no monthly fee.
Figure 2Base fees only, from each company’s pricing page on 26 November 2026. Extras and payout costs are not included.

On a $99 kit, Gumroad’s base fee is $10.40 and Ruba’s is $4.46. Gumroad’s features page also lists license keys. Both Gumroad and Polar can pay sellers in Pakistan. The gap is the percentage, and Ruba’s rate is locked for approved early-access sellers while the account is open and in good standing.

A Ruba checkout link needs no website: one reusable link in your bio or post opens a fresh checkout for every visit.

A launch list for code

Starter kit launch list0 of 4
Tap each line you already have.
Figure 3Tap each line when it is done.

What to do next

Pick your best starter, write the README, and choose zip or repo. Apply for Ruba early access. If your code is a desktop tool, read how to sell a desktop app with license keys.

Developers will pay for time saved. Show the saving, then link to buy. Nothing monthly to pay, and no company required. Approved during early access? Then 4% + $0.50 per sale is locked for your boilerplate while the account stays open and in good standing. Payouts go to your own bank, in PKR, INR, BDT or 51 other currencies, whenever you ask, from $10 after the fee. The payout fee is $2 up to $200, then 1%. If Ruba charges a fee it never told you about, it refunds it and pays you $100. Terms apply. See the early-access deal.

Questions people ask

How do I deliver a boilerplate or starter kit?

Two ways. One is a private download link to a zip for each buyer. The other invites the buyer to a private repository after purchase, and removes access when it ends.

Which is better, a zip or a private repo?

A zip is simple and works for a finished kit. A private repository lets you ship updates and fixes that buyers can pull, and it works with subscriptions and one-time products.

What licence should a boilerplate have?

Write it plainly: one project, one team, or unlimited projects. Do not copy another seller’s licence. If you are unsure, ask a lawyer. This guide is not legal advice.

Can I sell scripts with open-source parts?

Yes, if you follow the licences of those parts and you own or may license the rest. Do not sell other people’s code.

Do I need a company?

No. Individuals who are 18 or older can apply. Applying is not approval, and every product is reviewed.

Sources

We check these when we update this guide. Rules can change, so check them yourself before you decide.