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

https://github.com/dev-fortitude/pywebview

A simple Python script that can build WebView's.
https://github.com/dev-fortitude/pywebview

free python python3 script webview

Last synced: about 2 months ago
JSON representation

A simple Python script that can build WebView's.

Awesome Lists containing this project

README

        

# WebView EXE Builder

![Python WebView Builder](https://img.shields.io/github/license/dev-fortitude/PyWebView?style=flat) ![GitHub stars](https://img.shields.io/github/stars/dev-fortitude/PyWebView?flat) ![GitHub forks](https://img.shields.io/github/forks/dev-fortitude/PyWebView?style=flat)

---

## 📌 Overview
PyWebView is a **GUI-based** Python tool that allows You to generate standalone Windows executables (`.exe`) that open a specified website inside a **WebView** window. The tool offers a **light and dark mode toggle**, error logging, and an intuitive interface for easy use.

---

## 🎯 Features
- **Generate WebView Scripts:** Convert any website URL into a Python WebView script.
- **Build Executables:** Use PyInstaller to compile the generated script into an `.exe` file.
- **Light & Dark Mode Toggle:** Switch between modern themes.
- **Advanced Debugging:** View logs in both the GUI and command prompt.
- **Easy-to-Use Interface:** Simple input fields and buttons for quick script creation.

---

## 🔧 How It Works
1. **Enter a Website URL** in the input field.
2. **Click "Generate WebView Script"** to create a Python script.
3. **Click "Complete Launcher"** to build a `.exe` file using PyInstaller.
4. The generated `.exe` will open the specified website in a standalone window.

---

## 📥 Installation
### Requirements
- Windows 10 or later
- Python 3.8+
- Required Python modules:
```sh
pip install pywebview pyinstaller
```

---

### Running the Script
1. Clone the repository:
```sh
git clone https://github.com/dev-fortitude/PyWebView.git
```
2. Navigate to the folder:
```sh
cd PyWebView
```
3. Run the script:
```sh
python Builder.py
```

---

## 🚀 Latest Version
**v1.2.0**

---

## ✅ To-Do List
- ✔️ Add dark mode support
- Add app icon support & customisation
- Add splash screen support & customisation
- Add title bar text support & customisation
- Add title bar icon support & customisation
- Add title bar colour support & customisation
- ✔️ Add debugging (GUI & console integration)
- Add EXE support (Python outputs in an executable binary)

---

## 📊 Analytics
![GitHub repo size](https://img.shields.io/github/repo-size/dev-fortitude/PyWebView?style=flat-square)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/dev-fortitude/PyWebView?style=flat-square)

---

## 🛠 Contributing
Feel free to **fork** this project and submit pull requests! Any improvements are welcome.

---

## 📜 License
This project is licensed under the **MIT License**.

---

⭐ **Star this repo** if You found it helpful!