I am wondering if the current state of HTML5 makes it possible to edit local files. More precisely, I mean :
- The files are not served by a server (they are on
file://
), or in the worst case, a local server - The editor is either on the local filesystem, or served by an external server
- It would be better if I don't use a browser extension
- The overall goal is to create an online IDE which does not require page reload or manual file inserts
I know there is the fileSystem API but from what I read it seems to be for chrome extensions only ? And what about listening to file changes ?
I also noticed on trace.gl that it is possible to create links that open the local text editor once clicked (like in the chrome console).
Is it achievable to reproduce what we can see on trace.gl
but coupled with access to the local file system, and listening to file changes events, with the goal of creating some sort of local IDE ?
Edit for more precision : The goal is really to create an IDE. Think for exemple of code IDE (Eclipse...) that shows each files and directory from a workspace, and listen to changes, can read/write in real time, etc. This is what I would like to achieve. PS : It may be browser specific if needed