Your all general configurations for the tor (Same as /etc/tor/torrc
in other linux platforms)
The Bash Script That Runs everything i.e. Tor Service and the Node.js server
The Folder That is the Container for the Hidden Service. (Same as /var/lib/tor/
in other linux platforms)
The Replit Config File. Configs things like the run
button etc.
The nix file that contains the packages to includes
Node.js
-v16.x.x
npm
-v8.x.x
tor
-v0.4.6.9
Tor Automatically generates a .onion
domain for you and it is a random 56
character long string. Though you can customize it but thats another story.
The Domain Name is stored in the tor/hidden-service/hostname
file. You can cat
it to get the domain.
Or just run the domian.sh
script. i.e.:
bash domain.sh
If there is no package.json
file then at first initialize the node project and install the dependicies
npm init -y
npm i express dotenv body-parser
and add the start script in the package.json
{
"start": "node index.js"
}