How do i prevent people from seeing my code?
I really don't want people to see my code, just run it.
How do I do that? Do I need a "hacker" account? I just can't figure this out....
thank you! :)
On replit, you'll need the hacker plan (here) to have private repls where no one can see the code except you and people in multipliyer repls.
You can also put secrets (like a bot token) by creating a .env file and placing it there. However, that can't be used anymore; you'll have to add it by clicking the lock icon in the sidebar.
Good luck! :D
Use a local ide, problem solved. Other solution, overly complicate your code so no one can understand it. Last solution, don’t run production programs on replit, it’s designed to be something like a mix of collaboration and GitHub.
I just thought this might work to avoid the complexities of setting up web hosting for such a trivial little thing.
I appreciate your input.
you can't make your code hidden. But with hacker you can make private repls, the only downside to those are that no one can see them (only you) so no one can run them either (unless you invite them to join your repl)
Appsoption. You can see many people share their thing that they made. And you will sometimes see people posting about joining a team. And also, as long as you don't share your Repl to anyone, no one is gonna randomly enter your Repl unless they have some kind of superpower.
See what I mean? I mean I see that you can make private global variables, which is a start, but doesn't go far enough in this case...unless maybe those global variables can contain runnable code, which I guess I could look into, it being Python after all..