Skip to content

Linking A Repl

SoJS coder edited this page May 7, 2021 · 5 revisions

Linking A repl

What is a repl

A repl as we mean it is code hosted on repl.it. A repl has an IDE, a shell, and file system, a lot like github. The difference is that you can run the code on repl.it. In a new release, not too long ago, around a year or two, they introduced multiplayer. Multiplayer allowed multiple coders to work on the same code, once again, a lot like github. There are two ways to invite people into your repl. One, with a link, and two, by inviting. We will be using the link.

Creating a Shareable link

Look to the top of the repl interface. There should be a run button. Look to the right, what you see will change depending on your account. E.G, if your on explorer mode, a red bug will be there. If you have hacker plan, there won't be the "upgrade" button. But there will always be a "+" button and a "share button".

Multiplayer

click on the "share". The following popup should appear:

Share Popup

note that the share link in the image will not work. You can create a new one by clicking "generate new link", which I did

Copy and paste the link link into the text box, like so:

Copy and past the link into the textbox.

Then, fill out the rest of the information, and click post. The repl links are securely stored via firebase, and only managed on the servers, never on the client, so you don't need to worry about them getting leaked. When someone clicks "join" you will get a request in you dashboard. Hit accept, and the will get a notification on their dashboards. They then click "join" once more, and it routs them to the repl specified in the link. This way, they will be able to help you. Later on their will be bios and comments, so you can make sure someone is who they say they are.

Possible Security Issues

When linking a repl, you always risk that that some people with malicious intent will offer their help, and when you accept it, they will delete your code, or mess around with it.

Solution:

  1. Back up your code a. This is very easy with a thing like repl.it. As a matter of fact, you can create a repo right from replit, and commit your code with a single click.
  2. In your description ask people to comment when they want to join a. This will allow you to talk to them and see if you * really * want them working on your project.
  3. Create a "landing repl", where you ask for some more information. here is an example

More reading: