Ask coding questions

← Back to all posts
How can I allow people to view and use my code but not edit it
Maxbdragotoba (0)

I want to share this repl on the internet but I am worried that people will edit it. How can I let people view it but not be allowed to edit it?

Comments
hotnewtop
CosmicBear (56)

People are only able to edit your code if you specifically invite them to your repl. If you share the repl url, people will be able to view the code and run it but not edit the original repl.

Coder100 (18915)

That's what happens by default. When they try to edit your code, replit forks the project for them so they can edit their own copy.