From e9b8a0bc159842d020520dd3694ced41e644c4df Mon Sep 17 00:00:00 2001 From: Armin Date: Tue, 7 Jul 2026 00:38:06 +0200 Subject: [PATCH] add noiz.py --- README.md | 8 ++++++++ noiz.py | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 noiz.py diff --git a/README.md b/README.md index 02c9d05..df19f77 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,11 @@ There is a live demo available at [bsd.pm/noiz](https://bsd.pm/noiz/). ## Usage Open `index.html` in any modern browser. Click **+Folder**, **+Files**, or drag audio files onto the window. + +## Native App (noiz.py) + +`noiz.py` is a fully fledged local native application wrapper that runs `noiz://` in its own desktop window using [pywebview](https://pywebview.flowrl.com/). It launches the noiz:// app as a standalone application with native window via Python's webview, rather than running inside a browser tab. noiz.py is (as of now) 8 lines long. + +```bash +pip install pywebview && python noiz.py +``` diff --git a/noiz.py b/noiz.py new file mode 100755 index 0000000..03afb92 --- /dev/null +++ b/noiz.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 +import webview +webview.create_window( +"noiz://", +"https://bsd.pm/noiz/" +) +webview.start() +