I am not sure whether this is the correct forum to post in, but I am working on a project that is essentially a collection of JavaScript files that run in the local browser. There is no server backend. I am not sure why the project was written using JavaScript rather than a more traditional programming language, but it is what it is. There is a requirement for the project to have access to the local file system so as to be able work with files using program calls without user intervention. Obviously, as we know, browser security prevents this. My initial thought was to create an Electron project. It should be relatively simple to port the existing JavaScript code and then develop it further as required. Unfortunately I then started to come across comments like 'Electron is obsolete!', 'No one develops Electron applications anymore' etc Yet the Electron project website displays a number of large corporate projects, such as e.g. Discord? It also seems to be the simplest solution.
Perhaps the nearest alternative is Tauri, however using this would be a somewhat greater challenge as it apparently does not support all JavaScript libraries available via npm and the application code will need to take care of cross-browser issues. Quite how much of a problem that might be, I am not sure of at the moment. Another alternative would be to re-write the whole thing using a traditional language such as C++ (or maybe Python) which would be a huge task!
Before I invest any significant time in Electron, I would like to ask whether the statements above regarding Electron are true? Should I abandon Electron in favour of something else? If so, then for what reason and what is the best alternative?
Perhaps the nearest alternative is Tauri, however using this would be a somewhat greater challenge as it apparently does not support all JavaScript libraries available via npm and the application code will need to take care of cross-browser issues. Quite how much of a problem that might be, I am not sure of at the moment. Another alternative would be to re-write the whole thing using a traditional language such as C++ (or maybe Python) which would be a huge task!
Before I invest any significant time in Electron, I would like to ask whether the statements above regarding Electron are true? Should I abandon Electron in favour of something else? If so, then for what reason and what is the best alternative?