Offering paid services to your users is a great way to monetize an existing open source project, without having to actually change your code, and while keeping it completely open source and free.
First, you’ll need to decide which services you want to offer. Services on xs:code are offered as a monthly subscription only. While the actual features you can offer may be different from project to project, the concept remains the same.
Here are some ideas for services you can choose from. You can choose more than one, or add your own ideas.
You’ll need to create a private repository on your Github account, and clone the code from your public repository there. Subscriptions on xs:code are always connected to a private repository, so this is done to indicate to which code your services are given.
Then, edit the readme files on both repositories to include a detailed explanation of the services you are offering to your subscribers. Be as specific as you can, and specify what and when you are willing to provide your services to avoid confusion.
When your private repository is ready, import it to xs:code using our Github app. Just click on “Import repository” on xs:code, follow the instructions and set your monthly subscription price.
After import is complete, set your project to “Published”.
Then, Use your project URL to send users to your project and start their subscription.
The best place to start promoting your paid version is on your readme file on Github. Use our readme example to learn how to announce your paid version, and explain exactly what you are offering, along with a link to your xs:code project.
You can also use social media, blogs and developer community websites to let everyone know your project has another, paid version available.