How to sell code boilerplates, starter kits and scripts
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.
- 1Upload the zipAny file type works.
- 2Buyer paysBy card, on Ruba’s checkout.
- 3Personal linkSigned, lasts 60 minutes.
- 4Scanned for malwareBefore buyers download.
- 1Connect a repositoryWith a GitHub App.
- 2Buyer paysBy card, on Ruba’s checkout.
- 3Ruba invites themAs a collaborator.
- 4Access endsWhen the entitlement ends.
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.
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
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.
- Gumroad: featuresChecked 26 Nov 2026
- Polar: feesChecked 26 Nov 2026
- Ruba: file downloadsChecked 26 Nov 2026
- Ruba: GitHub accessChecked 26 Nov 2026
- Ruba: pricing and feesChecked 26 Nov 2026
- Ruba: payoutsChecked 26 Nov 2026