Skip to content

A way to get totally free exposed website accessible anywhere using ssh tunneling

License

Notifications You must be signed in to change notification settings

CrafterKolyan/free-exposed-website

Repository files navigation

Free Exposed Website

Docker image of free exposed website which can be hosted on any device supported by Python 3 and Node.js or Docker. Website will be automatically available to the internet at https://free-exposed.loca.lt/ (subdomain can be changed in start.sh) if it's currently not occupied.

The website would also be available to hosting machine at http://localhost:5000/ (note the http protocol here).

Requirements

  • Docker

OR

  • Python 3
  • Node.js

Usage

Docker

Building Docker image

docker build -t free-exposed-website .

Running Docker container

docker run --rm -p 5000:5000 -it free-exposed-website

Python 3 and Node.js

Installing required packages

pip3 install -r requirements.txt
npm install -g localtunnel

Running

lt --port 5000 --subdomain=free-exposed &
python3 -m flask run --host=0.0.0.0 --port=5000

Screenshots

Result of

docker image build -t free-exposed-website . && docker container run -it -p 5000:5000 --rm free-exposed-website

Docker build and run

Website design:

Website design

Technologies

  • Flask (Python 3)
  • localtunnel (Node.js)
  • Docker