Hi. I just found Nextcloud and am impressed!
My question is about licensing and integration with other apps. I wonder if someone could confirm or correct my understanding please? I have read the stuff about AGPLv3 and, not being a lawyer, want to make sure I am on the right track here.
I have an idea for an app that could make use of Nextcloud while adding some specific organisational functionality that does not exist in NC. I could build my app within the Nextcloud ecosystem, or separate to it. The separate option would use API calls to set/get data to a separate Nextcloud web installation while the added functionality would, of course, remain in my app.
I am not so much concerned about keeping my source code to myself; rather I am wondering about how to ensure I have a chance to generate enough income from the app so I can justify building it in the first place, and then maintaining it, so it (and I) can “stay alive”.
So, as far as licensing goes, is it true that:
If I build within Nextcloud: I can sell my app / plugin (say, a subscription model) and I would release it under AGPLv3 as per NC. My source code would be available for others and I could allow them to make pull requests etc but the AGPLv3 license for my app would be protection against someone else copying the work and selling it (but I would need to enforce that myself in the case of a breach, I guess)?
If I build a separate app (eg running in an Electron wrapper, and/or built for iOS / Android), and only interface to NC via the API, then I could use whatever license I like and sell it however I like, and if I wanted to I could even keep the source code secret. I would probably still open-source it but I am just wanting to understand the edges of the options here. In my use-case my app would be functional without NC, but its functionality would be greatly enhanced by users being able to leverage NC too.
Again, my only concern is being able to make the project financially viable.
Thanks so much,