Sharing code and Secrets

I wanted to share my code with another developer to figure out some bugs but he wants the Secrets (.env equivalent) to run the code. Is there a way I can do this?

Simple
Just invite that user to the your repl

1 Like

IMG_20230426_151547
IMG_20230426_151744

In the 2nd pic type the username or email and then click on invite button then wait for that user to join your repl


Hope it works
If works then please mark this as solution

1 Like

You mean you want to run the code from SECRETS? This is possible.
@bigminiboss helped me make a Repl to do this in Python: https://replit.com/@CoderElijah/Closed-Source-Free-Tier

If a user is a multiplayer in your Repl, they have the permissions to view its secrets. A multiplayer can simply open the Secrets pane and view/manage all of them.

https://docs.replit.com/programming-ide/workspace-features/storing-sensitive-information-environment-variables

1 Like

Thanks. This worked!

1 Like

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