Deploy nextjs-application via hidden-service to the tor-network
1. Next.js App on Tor Hidden Service
This repository contains a Next.js application that is deployed via a Tor hidden service to the dark web.
The Next.js app showcases the power and flexibility of the Next.js framework, providing a robust and performant web application. By utilizing a Tor hidden service, the app can be accessed anonymously through the dark web, offering enhanced privacy and security.
To run the Next.js app locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Stevan06v/nextjs-hidden-service.git
or just use this template repo.
-
Run the application:
-
In case you are working on a windows machine:
-
Run the docker-daemon and double click the start.cmd-file.
Open your tor-client and access the output hidden-service-url
-
In case you are working on a linux based machine:
bash start.sh
Open your tor-client and access the output hidden-service-url
-
COPY the DOCKERFILE out of
my-next-app
:
mv ./my-next-app/Dockerfile ./
-
Remove
/my-next-app/
-
Create a new project
-
COPY the DOCKERFILE into the new project
-
Rename
build: ./my-next-app/
in the docker-compose-file to your new project folder-
For the folder
/example
it would bebuild: ./example
-