So I’m building a clojure-based, gui application that will be largely local and thus not requiring an Internet connection. I don’t plan to host a web server to run it.
So that means I’m making a local app. I originally planned to use fn-fx to make the GUI using JavaFX, but the library seems clunky and hard to extend for more complicated solutions. I’m going to be rendering Markdown into HTML anyway, so a browser-based solution could be better since I’ll have to embed a browser instance in the JavaFx to show the HTML.
That left me with Electron vs just having a web server and having users open the application in their browser. Which seems better? I don’t think I need the native features of Electron, but it could provide a smoother experience for my users.
A bit more information about the program, I have a prototype version here, made with fn-fx. It’s a modular program designed to allow different features to be added and removed by the user, so I probably need access to the filesystem to allow different jars to be loaded. I don’t want this to be a web application in the sense that I would need to host a web server, because I’m not sure I have the time/money for that and don’t want the application so tied to me for the rest of its existence, and I don’t want users to have to setup their own web server each time (though a self-contained webserver that opened up a browser page to localhost doesn’t bother me, unless that seems to un-userfriendly).