I am wondering if the current state of HTML5 allows editing local files. More precisely, I mean:
- Files are not served by the server (they are located on
file:// ), or in the worst case, by the local server - The editor is located either in the local file system or is served by an external server
- It would be better if I did not use the browser extension
- The overall goal is to create an interactive IDE that does not require a page reload or manual file insertion
I know there is a fileSystem API, but from what I read seems to be for chrome extensions only? What about listening to file changes?
I also noticed on trace.gl that you can create links that open a local text editor after a click (for example, in the Chrome console).
Is it possible to reproduce what we can see on trace.gl , but in combination with access to the local file system and listening to events of file changes in order to create some kind of local IDE?
Edit for greater accuracy: the goal is to create an IDE. Think, for example, of the IDE code (Eclipse ...), which shows all files and a directory from the workspace, and also listens for changes, can read / write in real time, etc. This is what I would like to achieve. PS: it can be a browser if necessary.
source share