Qnap [ VS Code Server ] [ 4.9.1 ] Code-server is VS Code IDE, accessible through the browser.

QoolBox

Représentant QNAP
2 Janvier 2014
10 559
163
153
49
France
www.qnap.com
qpkg_icon_80.gif

Source : https://github.com/cdr/code-server

Download : amd64 , arm 64


QPKG INTEGRATION

- Default password is NAS $HOSTNAME
- Listen by default to HTTPS on port 54442
- detect automatically if MyQnapcloud LetEncrypt certificate are found, and uses it, if not it uses self-signed certificate



or set your own certificate path if you have


Code:
Commande line flags /opt/VSCode/code-server/bin/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 provide                                                                                          d.
      --cert-key            Path to certificate key when using non-generated cer                                                                                          t.
      --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.

About :

code-server.gif


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.
 
Dernière édition:
updated

no runs on HTTPS as mandatory
QPKG detect if MyQnapcloud Letsencrypt are available and uses it, if not found it uses the self signed certificate generated by NAS
 
Bonjour,

Je viens d'installer la version 3.7.1. version arm64 du Qnapstore Il est impossible de se connecter avec le hostname. J'ai réinstallé une version 3.01 , j'arrive à me connecter . Bug ou faut-il modifier le password et dans quel fichier.

Cordialement
 
updated

change PASSWORD

Code:
- Default password is created on first QPKG in config.yaml ( /opt/VSCode/.config/code-server)
 
Bonjour,

Merci pour votre réponse rapide. Mais ne fonctionne toujours pas . Le problème vient du fichier VSCode.sh dans le dossier qpkg . la ligne export PASSWORD={HOSTNAME} se trouve en commentaire avec un # devant. Suppresion du # et connexion possible avec le HOSTNAME.

Cordialement
 
Bonsoir,

Dans le fichier yaml, le passe est une suite de chiffres et de lettres . Si je saisie cette série de lettres et chiffre, je n'arrive pas à me connecter.


Merci
 
Bonsoir,

Je viens de tester avec Edge sous Windows7 OK. Mais firefox ne fonctionne pas.


M erci
 
v3.9.3


VS Code v1.54.2

Code:
Upgrading is as easy as installing the new version over the old one. code-server
maintains all user data in ~/.local/share/code-server so that it is preserved in between
installations.

New Features
⭐ Changes to CentOS support (see docs/install.md for more info)

dropped CentOS 7 support on official arm64 builds #2966
Bug Fixes
⭐ Fix bug caused in 3.9.2 on Safari/iOS causing blank screen

Don't send permessage-deflate header if not supported #2993
Documentation
⭐ A couple minor updates to the docs.

docs(install): add Termux workaround for search #3039
chore: fix typo in install.sh #3025 (thank you @eltociear ?)
Development
⭐ Faster CI, security updates, improved release workflow and extend use of Ranger GitHub bot for issues

completely refactored CI to be more stable and faster #2966 (huge thanks to @oxy ?)
fix: update ranger file #3065
dev(ranger): add action for upstream issues #3026
dev(ranger): add action for extension request #2967
dev(testing): add jest-playwright and reduce flakiness of e2e tests #3016
feat(ci): add audit job for security #3042 (inspired by @PatrickDerichs ?)
fix(deps): update and fix vulnerabilities #3041 (thank you @PatrickDerichs for flagging ?)
Fix tsc watch continually restarting during vscode build #3015
feat(ci): add homebrew job to publish workflow #3010
fix(dev-deps): update ts-node and spawn #2999
refactor: reorganize release notes draft format #2969
refactor: add check for artifacts url in lib.sh #2968
Cheers! ?
 
v3.10.2

Code:
VS Code v1.56.1

Upgrading is as easy as installing the new version over the old one. code-server
maintains all user data in ~/.local/share/code-server so that it is preserved in between installations.

New Features
feat: support extraInitContainers in helm chart values #3393 @strowk
feat: change extraContainers to support templating in helm chart #3393 @strowk
Bug Fixes
fix: use correct command to Open Folder on Welcome page #3437 @jsjoeio
Development
fix(ci): update brew-bump.sh to update remote first #3438 @jsjoeio
Cheers! ?
 
v3.11.0


Code:
VS Code v1.57.1

Upgrading is as easy as installing the new version over the old one. code-server
maintains all user data in ~/.local/share/code-server so that it is preserved in between
installations.

New Features
⭐ Upgraded VSCode to v1.57

feat(vscode): upgrade to version 1.57.1 #3544 @oxy @code-asher
Bug Fixes
⭐ Fix logout for those behind a reverse proxy

Fix logout when using a base path (#3608) #3611 @code-asher
Documentation
⭐ Lots of reorganizing to make them easier to refer, and some new information!

docs: add Pomerium #3424 @desimone
docs: fix confusing sentence in pull requests section #3460 @shiv-tyagi
docs: remove toc from changelog @oxy @jsjoeio
docs(MAINTAINING): add information about CHANGELOG #3467 @jsjoeio
docs: move release process to MAINTAINING.md #3441 @oxy @Prashant168
docs: format 'Caddy' from guide.md @PisecesPeng
Development
⭐ Move to Node v14, use Argon2 for pw hashing, and CI work ?

chore: cross-compile docker images with buildx #3166 @oxy
chore: update node to v14 #3458 @oxy
chore: update .gitignore #3557 @cuining
fix: use sufficient computational effort for password hash #3422 @jsjoeio
docs(CONTRIBUTING): add section on testing #3629 @jsjoeio
Development
fix(publish): update cdrci fork in brew-bump.sh #3468 @jsjoeio
chore(dev): migrate away from parcel #3578 @jsjoeio
Cheers! ?