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
.

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.

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:

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.