2021-09-12 19:55:06 +02:00
# Collaboration
2021-09-13 16:08:27 +02:00
With third-party extensions, you can use code-server to collaborate with other developers in real time.
2021-09-12 19:55:06 +02:00
## Code sharing using Duckly
[Duckly ](https://duckly.com/ ) 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` .
2021-09-12 20:00:47 +02:00
2021-09-12 19:55:06 +02:00
```bash
SERVICE_URL=https://open-vsx.org/vscode/gallery \
ITEM_URL=https://open-vsx.org/vscode/item \
code-server --install-extension gitduck.code-streaming
```
2021-09-12 20:00:47 +02:00
2021-09-12 19:55:06 +02:00
2. Refresh you `code-server` window. You should now be able to see the Duckly extension.
### Sharing with Duckly
2021-09-13 16:08:27 +02:00
As `code-server` is based on VS Code, you can follow the steps described on Duckly's [Pair programming with VS Code ](https://duckly.com/tools/vscode ) page and skip the installation step.
2021-09-15 07:13:42 +02:00
2021-09-30 18:51:42 +02:00
## Code sharing using CodeTogether
[CodeTogether ](https://www.codetogether.com/ ) is a real-time cross-IDE replacement for Microsoft Live Share providing:
- Cross-IDE support - between VS Code, Eclipse, IntelliJ and IDEs based on them (browser or desktop)
- Real-time editing - shared or individual cursors for pairing, mobbing, swarming, or whatever
- P2P encrypted - servers can't decrypt the traffic ([Security Details](https://codetogether.com/download/security/))
- SaaS or [On-premises ](https://codetogether.com/on-premises/ ) options
- Shared servers, terminals, and consoles
- Unit Testing - with support for Red, Green, Refactor TDD
- Joining via a web browser or your preferred IDE
2021-10-01 00:23:16 +02:00
- Free unlimited 1 hour sessions with 4 participants
2021-09-30 18:51:42 +02:00
- Multiple plans including [free or paid options ](https://www.codetogether.com/pricing/ )
2021-09-15 07:13:42 +02:00
### Installing the CodeTogether extension
1. Install the CodeTogether extension from OpenVSX on `code-server` .
```sh
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:
```sh
code-server --enable-proposed-api genuitecllc.codetogether
```
2022-08-31 23:53:14 +02:00
Another option would be to add a value in code-server's [config file ](https://coder.com/docs/code-server/v4.6.1/FAQ#how-does-the-config-file-work ).
2021-09-15 07:13:42 +02:00
2021-09-15 07:18:50 +02:00
3. Refresh code-server and navigate to the CodeTogether icon in the sidebar to host or join a coding session.