basetools.io

How to sell a GitHub repository

It is very easy to start selling access to a GitHub repository using basetools. It does not matter what you want to sell – If you have themes, a set of CLI tools or a complex application. As long as it lives inside a private GitHub repository, you can charge for access to it. So let’s get started!

Set up the repository

If you already have created a repository, you can skip this step. If not, we will guide you through creating a sample repository that you can try everything with.

For our example, we are creating a new private repository within our organization basetools-io.

06c9f046-ed3d-4a2b-89a4-6cc525ef3d53

Let’s initialize the same repo with some content:

echo "# basetools-repo-showcase" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:basetools-io/basetools-repo-showcase.git
git push -u origin main

We have now created a private repository.

Adding the product on basetools

Once you have your private repo ready, you can set up the product on basetools. If you don’t have an account yet, you can register for free here.

7b0b0cbd-a67b-401f-bab7-e4a842bdb37b

And now you’re done! Basetools automatically creates a Checkout page for you, which you can send your customers to. This is what the Checkout page for our example repository looks like:

49ce2344-ef81-4498-91bf-9cb7cb0b2445

As soon as your customer has bought the product, the entered GitHub username will be granted access to the repository.

 

Basetools in the meantime will create a correct invoice, handling VAT and billing and send you a payout after a few days.

🔥
So, what are you waiting for? We can’t wait to find out what you are going to sell! Sign up now