An open API service indexing awesome lists of open source software.

https://github.com/crafterkolyan/free-exposed-website

A way to get totally free exposed website accessible anywhere using ssh tunneling
https://github.com/crafterkolyan/free-exposed-website

application docker flask free localtunnel python webserver website

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
```bash
docker build -t free-exposed-website .
```

#### Running Docker container
```bash
docker run --rm -p 5000:5000 -it free-exposed-website
```

### Python 3 and Node.js

#### Installing required packages
```bash
pip3 install -r requirements.txt
npm install -g localtunnel
```

#### Running
```bash
lt --port 5000 --subdomain=free-exposed &
python3 -m flask run --host=0.0.0.0 --port=5000
```

## Screenshots
Result of
```bash
docker image build -t free-exposed-website . && docker container run -it -p 5000:5000 --rm free-exposed-website
```
![Docker build and run](readme-images/docker-build-and-run.png)

Website design:

![Website design](readme-images/website-design.png)

## Technologies
- Flask (Python 3)
- localtunnel (Node.js)
- Docker