pip install html-to-exe
html-to-exe
html_to_exe
Version Release Natifier
- Compile Web to exe Simple Ez
Version Realese Running
- 1.3.6
html-to-exe - 1.3.5
html-to-exe - 1.3.4
html-to-exe - 1.3.3
html_to_exe - 1.2.2
html_to_exe - 1.2.1
html_to_exe - 1.0.0
html-to-exe
Vitur Realisasi
- add Icon icon.ico
- add Icon icon.icns
Aplikasi Konversi Proyek Web ke Desktop dengan Electron
Open Project PYPI Python Licensi
📋 Daftar Isi
- Deskripsi Proyek
- Fitur Utama
- Algoritma & Arsitektur
- Persyaratan Sistem
- Panduan Instalasi Lengkap
- Cara Penggunaan
- Troubleshooting
- Kontribusi
- Lisensi
📌 Deskripsi Proyek
Aplikasi HTML to EXE Converter memungkinkan pengguna mengubah proyek web (HTML, CSS, JavaScript) menjadi aplikasi desktop berbasis Electron yang dapat dijalankan di Windows, macOS, dan Linux.
🔹 Mengapa menggunakan aplikasi ini?
✔ Mudah digunakan dengan antarmuka GUI (Graphical User Interface)
✔ Mendukung berbagai konfigurasi window (ukuran, fullscreen, frameless, dll.)
✔ Preview langsung sebelum konversi
✔ Dapat menambahkan ikon aplikasi khusus
✨ Fitur Utama
✅ Konversi ke EXE
- Mendukung Windows (.exe), macOS (.app), Linux (binary)
- Opsi pengemasan dengan ASAR (enkripsi file sumber)
✅ Konfigurasi Window
- Ukuran (width, height, min/max dimensions)
- Mode Fullscreen & Kiosk
- Warna latar belakang dan transparansi
- Frame window (borders, title bar)
✅ Web Preferences
- Node.js Integration (akses filesystem dari JavaScript)
- Context Isolation (keamanan tambahan)
- WebGL & Sandbox Mode
✅ Preview Mode
- Server lokal untuk melihat hasil sebelum konversi
- Buka di browser atau Electron window
✅ Logging & Error Handling
- Output log detail selama proses konversi
- Pengecekan otomatis Node.js & Electron
⚙ Algoritma & Arsitektur
📂 Alur Kerja Utama
graph TD
A[Start] --> B[Pilih Folder HTML]
B --> C[Konfigurasi Aplikasi]
C --> D[Generate main.js & package.json]
D --> E[NPM Install Dependencies]
E --> F[Electron-Packager Build]
F --> G[Output EXE]
G --> H[Selesai]
🔧 Proses Konversi
-
Input:
- Folder HTML (
index.htmlharus ada) - Nama aplikasi, output directory, ikon (opsional)
- Folder HTML (
-
Generate Project Electron:
- Buat
package.jsondengan konfigurasi dasar - Generate
main.jsberdasarkan pengaturan GUI
- Buat
-
Proses Build:
- Jalankan
npm installuntuk menginstal Electron - Gunakan
electron-packageruntuk membuat executable
- Jalankan
-
Output:
- File aplikasi siap pakai di folder
dist/
- File aplikasi siap pakai di folder
🖥 Persyaratan Sistem
| Komponen | Versi Minimal | Catatan |
|---|---|---|
| OS | Windows 10 / macOS 10.12+ / Linux (x64) | - |
| Python | 3.6+ | Untuk menjalankan GUI |
| Node.js | 14.x+ | Wajib untuk Electron |
| npm | 6.x+ | Package manager Node.js |
| RAM | 2GB+ | Lebih baik 4GB untuk build besar |
📥 Panduan Instalasi Terminal
pip install html-to-exe
html-to-exe
📥 Panduan Instalasi Lengkap
1️⃣ Instal Python & PIP
- Download Python dari python.org
- Pastikan "Add Python to PATH" dicentang saat instalasi
- Verifikasi instalasi:
python --version pip --version
2️⃣ Instal Node.js & npm
- Download dari nodejs.org (pilih LTS version)
- Verifikasi instalasi:
node --version npm --version
3️⃣ Clone/Download Proyek
git clone https://github.com/username/html-to-exe-converter.git
cd html-to-exe
4️⃣ Instal Dependencies Python
pip install tk pillow
5️⃣ Jalankan Aplikasi
python gui.py
Atau buat EXE untuk GUI ini sendiri:
pyinstaller --onefile --windowed --icon=icon.ico gui.py
🖱 Cara Penggunaan
1️⃣ Tab Settings
- HTML Folder: Pilih folder yang berisi
index.html - App Name: Nama aplikasi output
- Output Folder: Lokasi penyimpanan hasil konversi
- Icon (Opsional):
.ico(Windows),.icns(macOS),.png(Linux) - Platform: Pilih OS target
2️⃣ Tab Electron Options
- Window Settings: Ukuran, resizable, fullscreen
- Web Preferences: Node.js integration, sandbox mode
3️⃣ Tab Preview
- Start Preview: Jalankan pratinjau di Electron
- Open in Browser: Buka di browser default
4️⃣ Konversi ke EXE
- Klik "Convert to EXE"
- Proses akan berjalan, lihat log di Output Console
⚠ Troubleshooting
| Masalah | Solusi |
|---|---|
| Node.js tidak terdeteksi | Pastikan Node.js terinstall dan PATH benar |
| Error saat konversi | Periksa log, pastikan index.html ada |
| Preview tidak muncul | Tutup aplikasi lain yang menggunakan port yang sama |
| Build gagal | Coba npm install electron --global |
🤝 Kontribusi
- Laporkan bug di Issues
- Ajukan fitur baru via Pull Request
📜 Lisensi
MIT License - Bebas digunakan untuk proyek komersial & open source.
🎉 Selamat Mencoba! 🚀
Metadata
Release files for html-to-exe 1.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| html_to_exe-1.4.6.tar.gz | 18.5 kB | Without provenance | Details for html_to_exe-1.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| html_to_exe-1.4.6-py3-none-any.whl | Python 3 | none | any | Details for html_to_exe-1.4.6-py3-none-any.whl |
Total release size: 567.8 kB
Release files / html_to_exe-1.4.6.tar.gz
| Download URL | html_to_exe-1.4.6.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5113be603eeebd1bad889ca7a9ffffd9411dc06d5527cc99bec23b3ae9946a0f
|
|
BLAKE2b-256 checksum How to use checksums |
f3250b02b9f17ef4a70c663ea819d7327b92c84efe158aef3077b786b2e18b86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / html_to_exe-1.4.6-py3-none-any.whl
| Download URL | html_to_exe-1.4.6-py3-none-any.whl |
|---|---|
| Size | 549.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc4fadd10f9870b85b601d749992129be101cb93e6a3db657974b206130fe619
|
|
BLAKE2b-256 checksum How to use checksums |
e9ea5bbfecc236170ba47adaed385d1557651a881322bd393da9e202ae99b254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Security for html-to-exe 1.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.