can have a local lookup table, associating a type with a local or remote
good example could be otherwise unknown types, e.g .lines on reMarkable, to well known types, e.g JSON
can have a local lookup table, associating a type with a local or remote
good example could be otherwise unknown types, e.g .lines on reMarkable, to well known types, e.g JSON
for unknown types could send the file as-is and if an editor is present (and the file detected as non binary) display it within e.g
fetch('/localfs/Prototypes/offline-octopus/cloudinit')// within routes for local or remote filesystem (via sshfs)
.then(r=>r.text()).then(r=>updateCodeEditorWithContent(r))
for unknown types could send the file as-is and if an editor is present (and the file detected as non binary) display it within e.g
```javascript
fetch('/localfs/Prototypes/offline-octopus/cloudinit') // within routes for local or remote filesystem (via sshfs)
.then(r=>r.text())
.then(r=>updateCodeEditorWithContent(r))
```
for https://git.benetou.fr/utopiah/text-code-xr-engine in either its editor or reader (simplified editor) or `/editor.html` for the 2D version.
Consider also getting JSON out of CLI utils https://github.com/kellyjonbrazil/jc and thus possible more easily facilitating the output of exec commands in e.g. WebXR.
Consider also getting JSON out of CLI utils https://github.com/kellyjonbrazil/jc and thus possible more easily facilitating the output of exec commands in e.g. WebXR.
See `companion.js` and `public/index.html` in the [fot-sloan-companion branch](https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/fot-sloan-companion/) as the most complete version.
can have a local lookup table, associating a type with a local or remote
good example could be otherwise unknown types, e.g .lines on reMarkable, to well known types, e.g JSON
for unknown types could send the file as-is and if an editor is present (and the file detected as non binary) display it within e.g
for https://git.benetou.fr/utopiah/text-code-xr-engine in either its editor or reader (simplified editor) or
/editor.html
for the 2D version.Consider also getting JSON out of CLI utils https://github.com/kellyjonbrazil/jc and thus possible more easily facilitating the output of exec commands in e.g. WebXR.
See
companion.js
andpublic/index.html
in the fot-sloan-companion branch as the most complete version.