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
How to invite collaborators
How to invite collaborators
To invite users by email address or Replit username:
- Select
Invite to open the Multiplayers popup dialog
- Enter a username or email in the text field and select Invite to send an email invitation
To invite users using the private link:
- Select
Invite to open the Multiplayers popup dialog
- Toggle the Private join link option to the on position
- Select Copy join link to copy the URL to your clipboard
- Send the link to your 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
How to remove collaborators
How to remove collaborators
- Select
Invite to open the Multiplayers popup dialog
- Select the X next to the collaborator’s username
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
How to toggle observation mode
How to toggle observation mode
To turn on observation mode, select the collaborator’s profile icon.
To exit observation mode, select any area in the workspace.
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
How to start or contribute to a thread
How to start or contribute to a thread
- Open a file in the file editor
- Select text in the file
- Select the
vertical dots button to open a popup menu
- Select Start thread
- Enter your message in the text area and press the Enter key or
send button
How to access the Threads tool
How to access the Threads tool
From the left Tool dock:
- Select
All tools to see a list of workspace tools.
- Select Threads
From the Search bar:
- Select the
magnifying glass at the top to open the search tool
- Type “Threads” to locate the tool and select it from the results.
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: