WebAppify allows you to make desktop apps from websites.
Go to file
Raoul Snyman 1471b73403
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
Update WebAppify to the latest tech
- Migrate to Hatch
- Migrate to Woodpecker CI
- Migrate to only Python 3
- Add .editorconfig
- Expand .gitignore
2022-06-10 12:30:10 -07:00
webappify Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00
.editorconfig Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00
.flake8 Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00
.gitignore Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00
.woodpecker.yml Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00
CHANGELOG.rst Fix a couple bugs/niggles 2017-08-11 10:36:03 -07:00
README.rst Version 0.2: Add minimize to tray 2017-06-13 15:46:41 -07:00
pyproject.toml Update WebAppify to the latest tech 2022-06-10 12:30:10 -07:00

README.rst

WebAppify

WebAppify is a simple module to easily create your own desktop apps of websites. WebAppify uses PyQt5 and QtWebKit or QtWebEngine for displaying the web page, and works on Python 2.7 and Python 3.4 and up.

To create your own desktop web app, import and set up the WebApp class.

from webappify import WebApp

app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png')
app.run()

This will create a window with the website, using the icon provided.

Additional Options

Version 0.2 comes with the option of minimizing to the system tray. Simply pass canMinimizeToTray=True to the class and a tray icon will be installed with the necessary menu options.

app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png', canMinimizeToTray=True)

Clicking on the tray icon will show the window, while right-clicking will show the menu.

Note

If your site needs Flash Player, you'll need the appropriate Flash Player plugin installed system-wide. For QtWebKit you will need the NPAPI plugin, and for QtWebEngine you will need the PPAPI plugin.