What files are hidden?

I know .env is hidden in public repls, what else is? Is there a directory I can put a SQLite database in so it’s private even if the repl is public?

1 Like

.env doesn’t exist on replit sadly. There is no file you can put that is not visible

3 Likes

That’s unfortunate… alright, thank you

2 Likes

your welcome, yeah I was also saddend by the change

Welcome to ask! People can still see your repl’s hidden files. You could maybe try using secrets!

Before and after of someones repl with hidden files toggled


3 Likes

if you read, he wants a hidden file as in cannot be accessed at all afaik you can press show hidden files to show those

3 Likes

Ye that’s what I was saying. I just fixed it to make it more clear.

2 Likes

As others have stated, this sadly is not possible. There are only two ways to make stuff private on Replit: either use a SECRET (probably not going to help in this case) or make a private Repl (paid plan, and then people won’t see the cover page, but they could visit the website if the Repl hosted one).

3 Likes