# r0x0r/pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS

Repository: https://github.com/r0x0r/pywebview
Canonical: https://ross.abutalabs.com/products/pywebview
Homepage: https://pywebview.flowrl.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: python, webkit, gtk, linux, windows, gui, osx, cocoa, html, javascript, qt, cef
Last push: 2026-08-11T08:58:10+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 67, longevity 100
- inputs: {"age_days": 4304, "days_push": 22, "days_rel": 140, "gap_med": 74, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5993, forks 635 (observed 2026-08-28T04:09:34.061798+00:00)

## What it is
pywebview is a lightweight Python library that wraps native webview components to build desktop GUIs with HTML, JavaScript, and CSS. It provides two-way JavaScript-Python communication, a built-in HTTP server, DOM manipulation from Python, and window management across Windows, macOS, Linux, and Android.

## Use cases
- build a desktop gui for a python app using html and javascript
- create a cross-platform desktop application with web technologies
- wrap a web frontend in a native window without bundling a browser
- communicate between javascript frontend and python backend without rest
- make a lightweight alternative to electron for python
- package a python web ui into a distributable desktop executable

## When to choose
- you know web technologies and want a native-feeling python desktop app
- you want small executables instead of bundling electron or a heavy gui toolkit
- you need cross-platform support including linux gtk/qt and android
- you want direct js-python bridging without an http api

## When to avoid
- you need deep native widget sets beyond menus and dialogs - use Qt or native toolkits
- you need a full embedded browser with extensions or multi-tab browsing
- your app is purely web-deployed and doesn't need a desktop shell
- you require pixel-perfect identical rendering across platforms - web engines differ per OS

## Facets
- artifact type: library
- maturity: stable
- function: gui, desktop-framework, http-server, websocket
- domain: desktop-applications, web-development, cross-platform, developer-tools
- platform: python, windows, cross-platform
- tags: webview, html-gui, javascript-python-bridge, pyinstaller-friendly, gtk, qt, cocoa, winforms, cef, macos, linux, android, desktop

## Member repositories
- r0x0r/pywebview (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.061798+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:51.040689+00:00, confidence not recorded.
  - readme: https://github.com/r0x0r/pywebview (fetched 2026-08-28T04:09:34.061798+00:00, sha f21cbf481d2e)
  - homepage: https://pywebview.flowrl.com (fetched 2026-08-29T08:45:56.788314+00:00, sha 143c10b8e7f0)
  - site_page: https://pywebview.flowrl.com/guide/installation (fetched 2026-08-29T08:45:56.798776+00:00, sha 29f514860992)
  - site_page: https://pywebview.flowrl.com/guide (fetched 2026-08-29T08:45:56.800374+00:00, sha e6ab1c531890)
  - registry_pypi: https://pypi.org/pypi/pywebview/json (fetched 2026-08-29T08:45:56.801920+00:00, sha 28a92dc0f5e5)
  - site_page: https://pywebview.flowrl.com/changelog (fetched 2026-08-29T08:45:56.795708+00:00, sha e9fa10645814)
- Data as of 2026-08-30T08:39:29.467469+00:00.
