Multiplayer
Multiplayer lets you collaborate in real time with other users on your Replit App.
Multiplayer transforms your Replit workspace into a collaborative environment where up to four users can create and update apps together in real time.
This shared experience provides collaborators the same workspace tools and environment to create a seamless team development experience.
Features
Multiplayer includes the following features:
- Real-time collaboration: Work on the same Replit App and instantly view changes and workspace runs
- Shared workspace: Experience full workspace sharing including Shell and Console output in real time
- Communication tools: Discuss code through inline threads without leaving your workspace
- Observation mode: See collaborators’ code changes and file navigation as they happen
Usage
To start collaborating, open your Replit App and invite collaborators. The following sections show how to access and use the Multiplayer tool’s features.
Invite collaborators
When you invite collaborators:
- Replit sends a notification email with a join link when you invite someone by their email address or username
- Collaborators can follow the link to open the Replit App in the shared workspace
- You see a list of collaborators in the Multiplayers popup menu
- The workspace displays online collaborators as icons to the left of the Invite button
Remove collaborators
When you remove a collaborator, they instantly lose access to the Replit App workspace.
When you enable Private join link, removing collaborators does not prevent them from rejoining using the private join link. To prevent collaborators from joining using this link, change it by selecting Generate a new link.
Toggle observation mode
As a collaborator, you can view the following without enabling observation mode:
- Text input location and real-time edits in the file editor
- Shell input and output when viewing the same shell instance
- Console output
- Whether the workflow is running or stopped
- Any online collaborators, indicated by a profile icon next to the
Invite button.
When you enter observation mode:
- File editor automatically switches to the file that contains the active user cursor
- View which collaborators are observing you in the status bar
Inline threads
An inline thread is a group of comments related to a section of text. Threads let users converse directly within the code.
The Threads workspace tool lets users manage all comments in the Replit App in one place. You can perform the following actions:
- Filter: View all threads or filter by unread, participating, or resolved
- Jump to code: Open the file and skip to the relevant lines of the thread
- Mark as read: Hide a thread from the unread filter view
- Resolve: Acknowledge and hide the thread from the file editor view
Next steps
To learn more about collaboration, see the following resources: