Metadata-Version: 2.4
Name: webtoapklib
Version: 2.4
Summary: A powerful Python library to convert websites into Android APKs with auto-signing.
Author: Shaik Janu
Author-email: Shaik Janu <shaiksadikjanu@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/shaiksadikjanu-cmd/Web-To-Apk-Builder
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: Pillow
Dynamic: author

# WebToApkLib 

**WebToApkLib** is a powerful Python library that converts any website URL into a fully functional, signed Android APK file. 

It handles the complex work of decompiling, modifying manifest files, updating resources, rebuilding, and signing the APK automatically.

## Features
* **One-Line Conversion:** Convert a URL to an APK with a single function call.
* **Auto-Signing:** Comes with a bundled debug keystore, so generated APKs are installable immediately.
* **Custom Keystore Support:** Use your own `.jks` file for Play Store production builds.
* **Smart Manifest Handling:** Automatically avoids package conflicts.
* **Splash Screen Support:** Easily add your own splash screen and icon.

## Prerequisites
* **Python 3.7+**
* **Java (JDK 8 or newer):** Must be installed and added to your system PATH (required for apktool and signing).

## 📦 Installation

```bash
pip install webtoapklib

## Usage Example
1. Basic Usage (Auto-Signed)
This is perfect for testing. It uses the bundled debug key, so you don't need to configure anything.

from webtoapklib import APKConverter 

converter = APKConverter()

converter.convert(
    url="https://www.google.com",
    app_name="MyAwesomeAPP",
    icon_path="app_logo.png",       
    splash_logo_path="splash_screen.png", 
    splash_bg_path="splash_bg.png",    
    output_dir="output",
    splash_time_sec=3
)


Production Usage (Custom Keystore)
Use this when you are ready to publish to the Google Play Store.

Python

apk_path = converter.convert(
    url="[https://your-website.com](https://your-website.com)",
    app_name="My Production App",
    icon_path="icon.png",
    splash_logo_path="logo.png",
    splash_bg_path="bg.png",
    output_dir="dist",
    
    # Custom Signing Credentials
    keystore_path="my-release-key.jks",
    keystore_pass="mypassword",
    key_alias="mykey"
)
