1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/docs/collaboration.md
2021-09-15 00:13:42 -05:00

2.0 KiB

Collaboration

With third-party extensions, you can use code-server to collaborate with other developers in real time.

Code sharing using Duckly

Duckly allows you to share your code in real-time even with people using different IDEs (like JetBrains and VSCode).

  • Cross-IDE support,
  • Real-time typing,
  • P2P encrypted,
  • Voice and audio chat,
  • Terminal sharing

Installing the Duckly Extension

Duckly uses an extension to provide real time sharing features

  1. Install the Duckly extension from OpenVSX on code-server.
SERVICE_URL=https://open-vsx.org/vscode/gallery \
  ITEM_URL=https://open-vsx.org/vscode/item \
  code-server --install-extension gitduck.code-streaming
  1. Refresh you code-server window. You should now be able to see the Duckly extension.

Sharing with Duckly

As code-server is based on VS Code, you can follow the steps described on Duckly's Pair programming with VS Code page and skip the installation step.

Code sharing with CodeTogether

CodeTogether is another service with cross-platform live collaborative features:

  • sharing ports
  • shared read/write terminals
  • joining via web browser or another IDE

However, some of these are paid options.

Installing the CodeTogether extension

  1. Install the CodeTogether extension from OpenVSX on code-server.

    SERVICE_URL=https://open-vsx.org/vscode/gallery \
      ITEM_URL=https://open-vsx.org/vscode/item \
      code-server --install-extension genuitecllc.codetogether
    
  2. CodeTogether requires VS Code's proposed API to run. Start code-server with the following flag:

    code-server --enable-proposed-api genuitecllc.codetogether
    

    Or you could add a value in code-server's config file.

  3. Refresh code-server and navigate to the CodeTogether icon in the sidebar to start collaborating.