04/05/2023, 3:33 PM
How to host a simple JVM app for an open source project? for whom it may be difficult to pay each month, especially for a trivial project. The question is simple, the answer… not so much. But we just had a great brainstorming session in #server I summarized it in this ticket and thought we may not be the only ones interested!


04/05/2023, 3:36 PM
fly's free plan is 256 megs which as you said could be enough, but in case its too close to that limit some tips in help (semuru/openj9 based jvm + enabling swap space)


04/05/2023, 7:21 PM
I get that you really want to find free web hosting with this request but for such an app you could also distribute it using Conveyor. You can publish a successful local build of a JVM CLI app direct to GitHub Releases+Pages in one command. It handles self signing, auto-update, generating a download page for you, minimizing the bundled jvm with jlink, etc. The advantage is you only need static hosting and Microsoft pays your bandwidth bill 🙂 Alternatively you can just supply a fat jar like the good old days.

Casey Brooks

04/06/2023, 4:34 PM
And depending on what you’re building, another option is to build the app in Kotlin/JS and host it somewhere like GitHub Pages! You still get the benefits of easy distribution as a webpage, but don’t need to fuss with hosting/securing/paying for a server.


04/07/2023, 7:22 AM
kotlinjs is not a option due to libraries that are not multiplatform yet