Getting started
This documentation will explain how to run your own auto-update server.
Introduction
If you find this work helpful, please consider supporting my work by becoming a Github sponsor.
I made a bet to open-source all the code I built here instead of paywalling it. By opening it up instead of fighting and hiding, I believe we can make the world a better place.
Furthermore, I want to focus on Capgo tooling, and make it an open and transparent business.
But to make it possible, it is necessary for all of us to do our part, including you π₯Ή.
If Capgo doesnβt suit you, then pay your own price and back a bootstrapped Maker on your terms.
Features parity
If you choose to go with your own server, you will lose the 5-min setup flow.
You need to implement all of these features yourself.
Features | Capgo | Self hosted |
---|---|---|
Updates | β | π§ |
Auto revert | β | π§ |
Email alerts on fail | β | π§ |
Channels | β | π§ |
Channels Override | β | π§ |
Device Override | β | π§ |
Channels Settings | β | π§ |
Device Settings | β | π§ |
Custom ID | β | π§ |
Auto Set Channels | β | π§ |
API Channels | β | π§ |
Updates Statistics | β | π§ |
Fail Download Statistics | β | π§ |
App Usage Statistics | β | π§ |
Update Encryption | β | π§ |
Be mindful that you canβt use the Capgo cloud and your server at the same time.
Choose between Auto and Manual
In auto mode, part of the logic is handled by the Native code, updates are decided server side, this is more secure and allows fine grain updates, partial deployment to one device or group and more.
In manual mode, all the logic is handled by the JS.
Install Capacitor updater
Prepare your bundle
To send updates to your app, you need to zip it. The best way to be certain your zip is good is to use the Capgo CLI for zipping.
You will have to serve this zip from your server on your own.