Source : https://github.com/cdr/code-server
Download : amd64 , arm 64
https://www.myqnap.org/product/vs-code/
QPKG INTEGRATION
- Default password is your NAS $HOSTNAME (NAME of your NAS) .. can be modified in the PASSWORD export in /opt/VSCode/VSCode.sh
- Listen by default to HTTP on port 54442
- To run under HTTPS, example if you have LETSEncrypt certs for your qnapcloud
you can add the following flags to the command line in /opt/VSCode/VSCode.sh
--cert /mnt/HDA_ROOT/.config/QcloudSSLCertificate/cert/cert --cert-key /mnt/HDA_ROOT/.config/QcloudSSLCertificate/cert/key
or set your own certificate path if you have
Code: Select all
Commande line flags /opt/VSCode/code-server/code-server --help
Usage: code-server [options] [path]
Options
--auth The type of authentication to use. [password, none]
--cert Path to certificate. Generated if no path is provided.
--cert-key Path to certificate key when using non-generated cert.
--disable-updates Disable automatic updates.
--disable-telemetry Disable telemetry.
--host Host for the HTTP server.
-h --help Show this output.
--open Open in browser on startup. Does not work remotely.
--port Port for the HTTP server.
--socket Path to a socket (host and port will be ignored).
-v --version Display version information.
--user-data-dir Path to the user data directory.
--extensions-dir Path to the extensions directory.
--list-extensions List installed VS Code extensions.
--force Avoid prompts when installing VS Code extensions.
--install-extension Install or update a VS Code extension by id or vsix.
--uninstall-extension Uninstall a VS Code extension by id.
--show-versions Show VS Code extension versions.
-vvv --verbose Enable verbose logging.
Code anywhere: Code on your Chromebook, tablet, and laptop with a consistent dev environment. Develop on a Linux machine and pick up from any device with a web browser.
Server-powered: Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. Preserve battery life when you're on the go since all intensive computation runs on your server.