๐ŸŒ WebsiteBuilder

WebsiteBuilder is a powerful yet simple Python-based application that lets you create, edit, and manage your websites dynamically. Built for flexibility and speed, it's perfect for developers looking for a lightweight, customizable development environment using Python.


WebsiteBuilder is out now! Check out This Site to download it!

๐Ÿš€ Features


๐Ÿ“‹ Requirements

Install the required packages with:

pip install --upgrade pip && pip install -r requirements.txt

๐Ÿณ Docker Support

You can run WebsiteBuilder inside a Docker container for simplified deployment and consistent environments.

๐Ÿ“ฆ Build the Docker Image

docker build -t websitebuilder .

๐Ÿš€ Run the Container

docker run -d --env-file .env websitebuilder
๐Ÿ’ก Make sure your .env file is in the same directory as your Dockerfile.

๐Ÿ› ๏ธ Getting Started

1. Clone the repository

git clone https://github.com/DeltaStudios01/WebsiteBuilder.git
cd WebsiteBuilder

2. Install dependencies

pip install -r requirements.txt

3. Run the application

python -m app.dashboard

4. Access the dashboard

Open your browser and visit: http://127.0.0.1:5000

๐Ÿ’ก Tip: You can change the dashboard address by modifying the PORT and HOST values in the configuration.

โš™๏ธ Configuration

You can customize the server by creating a .env file in the root directory. Example:

DEBUG=True
PORT=5000
HOST=127.0.0.1
โœ… The application will read this file automatically on startup to configure itself.

๐Ÿงช Development Mode

To enable debug mode and auto-reload, set DEBUG=True in your .env file.

This is recommended during development to see changes without restarting the app manually.

๐ŸŒ Exposing Your Local Port

If you're developing a local server and want to make it accessible from the internet, you can use a tunneling service like Cloudflare Tunnel.

โœ… How It Works

A tunneling tool such as cloudflared creates a secure connection between your local machine and a public endpoint.

โš™๏ธ Getting Started with cloudflared

Install on Windows:

winget install --id Cloudflare.cloudflared

Start a tunnel:

cloudflared tunnel --url http://localhost:5000
Replace http://localhost:5000 with the local URL and port your server is running on.

After running the command, you'll get a public URL like:

https://your-subdomain.trycloudflare.com

Anyone with this link can access your local application โ€” securely and instantly.


๐Ÿ“š Documentation

For more advanced usage, configuration options, or troubleshooting, visit the official Cloudflare Tunnel documentation:

๐Ÿ”— Cloudflare Tunnel Docs


โš ๏ธ Important Note:
Running a server on localhost means it's only accessible from your own device by default.
Without a tunnel or special network configuration, localhost cannot be accessed from other devices โ€” even if they're connected to the same Wi-Fi network.

๐Ÿ“ Project Structure

WebsiteBuilder/
โ”œโ”€โ”€ .env                # Environment configuration file
โ”œโ”€โ”€ Dockerfile          # Docker container configuration
โ”œโ”€โ”€ README.md           # Project documentation
โ”œโ”€โ”€ requirements.txt    # Python dependencies
โ”œโ”€โ”€ run.bat             # Windows launcher script
โ”‚
โ”œโ”€โ”€ app/                # Core backend application
โ”‚   โ”œโ”€โ”€ dashboard.py    # Dashboard controller (main UI logic)
โ”‚   โ””โ”€โ”€ server.py       # Dynamic route/server handler
โ”‚
โ”œโ”€โ”€ logs/               # Folder for application logs
โ”œโ”€โ”€ servers/            # Folder for server's data
โ”‚
โ”œโ”€โ”€ static/             # Static assets for frontend
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ”œโ”€โ”€ edit.css
โ”‚   โ”‚   โ””โ”€โ”€ index.css
โ”‚   โ”œโ”€โ”€ img/
โ”‚   โ”‚   โ”œโ”€โ”€ favicon.ico
โ”‚   โ”‚   โ””โ”€โ”€ webbuilder.png
โ”‚   โ””โ”€โ”€ js/
โ”‚       โ”œโ”€โ”€ edit.js
โ”‚       โ””โ”€โ”€ index.js
โ”‚
โ””โ”€โ”€ templates/
    โ”œโ”€โ”€ edit.html
    โ””โ”€โ”€ index.html

๐Ÿ“„ License

This project is licensed under the MIT License.

See the LICENSE file for full license information.


ยฉ 2025 Delta Studios โ€” All rights reserved.