Skip to content

Dockerizing a Next.js Application and Hosting it via Tor Hidden Network

Notifications You must be signed in to change notification settings

stevan06v/portable-hidden-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

1.1. About

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.

1.2. Getting Started

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

1.2.1. Use it in your project

  • 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 be build: ./example

About

Dockerizing a Next.js Application and Hosting it via Tor Hidden Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published