Using this tool you can store your code in a .env file, which you can deploy to repl.it and have your code be hidden! This currently only works with one file.
Go to file
Julia Logan b29cee32cc „tool.js“ ändern 2021-10-16 11:07:49 +00:00
LICENSE Initial commit 2021-10-16 10:33:29 +00:00
README.md Initial Commit 2021-10-16 12:56:56 +02:00
example.js Initial Commit 2021-10-16 12:56:56 +02:00
repl.js Forgot to add Replit part 2021-10-16 12:58:08 +02:00
tool.js „tool.js“ ändern 2021-10-16 11:07:49 +00:00

README.md

NodeEnv

Using this tool you can store your code in a .env file, which you can deploy to repl.it and have your code be hidden! This currently only works with one file.

Notes

The code is very simple as this is currently just a "proof of concept".

Giving this "tool" a try

Run tool.js with the input file as the argument. Example: node tool.js example.js The tool should spit out a JSON string.

Go to Replit "Secrets", open the raw editor and paste it in.

Now copy the contents from replit.js, create a new file in the Replit, named index.js and paste the contents in.