Getting started
This documentation will explain how to run your own auto-update server.
Before start
If you use this work on your own, I couldnβt suggest you more to support my work thought Github support.
I made a big bet to open source all the precious code I built here.
I could have kept it for myself and put a high ticket price.
Furthermore, I want to focus on Capgo tooling, and make it an open and transparent business.
Likewise, I do think it would make our world a better place by opening instead of fighting and hiding.
But to make it possible, it is necessary for all of us to do our part, including you π₯Ή.
Capgo offer canβt suit you, then put your price and back a bootstrapped Maker HERE on your terms.
Features parity
If you choose to go with your server, you lose the 5-min setup flow.
You need to implement yourself all features.
Here is the list:
Features | Capgo | Self hosted |
---|---|---|
Updates | β | π§ |
Auto revert | β | π§ |
Email alert on fail | β | π§ |
Channel | β | π§ |
Channel Override | β | π§ |
Device Override | β | π§ |
Channel settings | β | π§ |
Device settings | β | π§ |
Custom ID | β | π§ |
Auto set channel | β | π§ |
API Channels | β | π§ |
Updates Statistics | β | π§ |
Fail Download Statistics | β | π§ |
App Usage Statistics | β | π§ |
Update encryption | β | π§ |
If you send a wrong update to your users you can break their app.
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 update, partial deploy to one device or group and more.
In manual mode, all the logic is handled by the JS, that some good and some bad in both scenarios.
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.
npx @capgo/cli/latest bundle zip
will create your zip ready to be uploaded in your backend.