Hi @john.wells,
Good news: You do not have to make your Anvil apps open source to use the App Server. It is perfectly fine to host closed-source apps with the Anvil App Server.
Although the App Server’s licence is based on the AGPL, the first paragraph is a specific carve-out stating that you do not have to distribute your apps’ source code. (We’re also explicit about this in the README).
What your users must be able to do is download the source of the App Server itself. Fortunately, this happens automatically - if you pip install anvil-app-server, the App Server will print a discreet link to the GitHub repository in your browser’s Javascript console. (If you build the App Server yourself from source, the provided build script will include its own source code in the generated binary, and provide its own download link to the JS console. If you’re doing something funkier, you’ll have to make sure you provide source some other way, but “out of the box” it all works.)
If for some reason you need them, custom commercial (non-AGPL) licences for the App Server are available – just drop an email to sales@anvil.works. But you don’t need any custom licence to host closed-source apps with the App Server. It’s officially allowed 