Sign inSign up

aimacity/cloud-ide

By aimacity

•Updated over 7 years ago

Image
0

827

aimacity/cloud-ide repository overview

⁠Usage 中文⁠

⁠If you want to use my configuration:
docker run --name cloud-ide  -p 9981:8443 -v "${PWD}:/workspace"  aimacity/cloud-ide code-server --allow-http --no-auth
⁠If you want to generate setings :
mkdir -p ~/data-home/config

echo "novboy/45e990947d88fe1d1fa1bdbda94481cd" >> ~/data-home/config/sync.gist

docker run --rm \
  -v  ~/data-home/config:/config   \
  -v  ~/data-home:/output   \
  -e PUID=$(id -u) -e PGID=$(id -g) \
  -e TZ="Asia/Shanghai" \
  aimacity/cloud-ide:vscode

docker run --name cloud-ide  -p 8443:8443 -v "${PWD}:/workspace"  -v ~/data-home:/home/aima/.local/share/code-server aimacity/cloud-ide code-server --allow-http --no-auth
⁠If you have your own VSCode Settings Sync setup
  • Fork this project
  • Change sync.gist into your gist id "USERNAME/GISTID"
  • docker build . -tag WHATEVER
  • docker run -p 127.0.0.1:8443:8443 -v "${PWD}:/workspace" WHATEVER code-server --allow-http --no-auth

⁠Features

⁠Sync with VSCode Settings Sync
  • Directly download VSCode configurations and extension lists from SettingsSync gist.
  • VSCode settings is directly used for code-server
  • VSCode extensions are parsed and installed automatically from extensions.json
⁠OneDrive VSCode Settting and workspace Sync (coming soon)
⁠Mega VSCode Settting and workspace Sync (plan)
⁠Syncthing Settting⁠ and workspace Sync (plan)
⁠VS Code language pack support (chinese is tested)
⁠Workspace Setting and toolchain (plan)
⁠Official VSCode Extension Market
  • Code-server uses their own extensions registry and it is pretty limited and outdated, at least for now.
  • Here, Microsoft VSCode binary is used to install all the extensions before copying to code-server for final use, so they are up-to-date and official.
⁠ssh code usage

export VSCODE_CONFIG_DIR=$HOME/.config/Code
export VSCODE_EXTENSIONS_DIR=$HOME/.vscode/extensions
sshcode user@host  ~/code-server-workplace

⁠Dev Tools Included out of the box
  • Comes with
    • Java
    • php
      • Golang
      • C++
      • Nodejs
      • Python
      • Rust
    • Ruby

toolings pre-installed and ready to use.

⁠License

Credit goes to code-server⁠ project.
Code for this configuration is licensed under Apache 2.0, detailed in LICENSE.md⁠

Tag summary

Content type

Image

Digest

Size

2.1 GB

Last updated

over 7 years ago

docker pull aimacity/cloud-ide