Sharing your code

Sorry for this silly question, but could anyone teach me on how do I share a code with someone that doesnt code.

Thanks!

1 Like

Welcome to the community! You can send them the link to your Repl (the same one you use to code yourself), and they will be able to view your code without edit access. If you would like to give them edit access, they will need a Replit account and an invite to your Repl.

2 Likes

But I can share the link and the person will need to have replit right? Because, I would like to make it run on the computer of my friends, on their browser, you know. So, how do I make it?

1 Like

They will not need a Replit account to simply run the Repl. You can view a Repl when logged out of Replit. Do note though that if you have used SECRETS and/or ReplDB, these will not work for them (unless your Repl is a website).

2 Likes

It is a website. Sorry. And I am not understanding it very well, I just need to get the link?

1 Like

Yes. You can send them either the link to your Repl or the link to the website. The link to your Repl will be https://replit.com/@[username]/[Repl name] (same thing you use to code it) and the website link will be https://[Repl name].[username].repl.co. The website link should suffice if this person does not code. You can also find it in the webview tab of your Repl, and copy the URL from there.
image
Simply click on the URL and then copy that either by mouse or using Ctrl + C. Or type the URL manually, but that could result in 404 because it can be case sensitive.

3 Likes

Thank you a lot. That means a lot for me.

2 Likes

You’re welcome! We are here to help!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.