Skip to content

uukelele-scratch/web2app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web2app

PyPI package for converting a website into an app.

Installation

Download from pip:

pip install web2app

Usage

You can turn your website into an app as easy as this:

from web2app import Web2Exe

exe = Web2Exe("https://www.google.com/")

exe.create(output_dir="output")

This infers the application icon and name from the <title> of the website, and the favicon from the site.

You can also specify a custom favicon and app name:

exe = Web2Exe(
  name="Google",
  url="https://www.google.com/",
  icon="assets/logo512.png",
)

You can specify the icon object as a path to an icon, a PIL.Image object, or a BytesIO containing valid image data.

About

PyPI package for converting a website into an app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages