webapp-maker 1.0.0: turn websites into desktop apps with their own icon and app window - #530
Open
UmedjonBA wants to merge 2 commits into
Open
webapp-maker 1.0.0: turn websites into desktop apps with their own icon and app window#530UmedjonBA wants to merge 2 commits into
UmedjonBA wants to merge 2 commits into
Conversation
New plugin: a floating panel that creates web-app launchers - name, URL, optional chromium flags and icon override. Fetches the site's own icon, writes an escaped .desktop entry, and opens the site in a dedicated browser app window (no tabs, no URL bar) via a bundled launch script copied into the plugin data dir, so launchers survive plugin updates. The panel also lists every web app it created, with one-click removal that can never touch a regular application's launcher. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin
umedbazarov/webapp-makerplugin.toml)What it does
Turns websites into desktop applications. A floating panel with a small form — name, URL, optional chromium launch flags (e.g. a per-site
--proxy-server=…), optional icon override — and Create produces a real launcher entry: the site's own icon is fetched (apple-touch-icon → well-known path → favicon service), an escaped.desktopfile is written to~/.local/share/applications/, and the app opens in a dedicated browser app window (no tabs, no URL bar) via--app. The same panel lists every web app it created, with one-click removal that can only ever touch launchers created by this mechanism.Nothing in the catalog does this today:
web-launcheropens sites in the regular browser from the launcher; this one produces standalone app windows with system-wide launcher entries and per-site launch flags.All logic lives in three small bundled shell scripts under
scripts/(readable, ~200 lines total); the panel only assembles commands. The launch script is copied into the plugin's data directory and.desktopentries reference that stable copy, so created apps keep working across plugin updates — and even after uninstalling the plugin.External dependencies
Declared in
dependencies:bash,chmod,cp,curl(fetching the site page and icon — the only network access),file(verifying the icon download is an image),grep,head,mkdir,rm,sed,setsid,tr,xdg-settings(resolving the default browser). Optional and guarded withcommand -v, documented in the README:gtk-update-icon-cache,update-desktop-database,notify-send. A chromium-family browser is required for the app windows (documented; the launch script falls back from the default browser to the first installed one and reports clearly when none exists).Testing
Exercised live: web apps created through the panel (with and without flags, e.g.
--proxy-server), icons fetched from real sites, launcher entries verified in the app launcher, app windows opened via the created.desktopentries (correctchrome-<domain>app ids for compositor window rules), the Installed list and its removal button, the freedesktop escaping paths, theenv_filesetting, and failure cases (icon download refused for a site with no icon, name with/rejected).noctalia plugins lintclean.Screenshots / Videos
Checklist
Ready-for-review requirement: Every box in this section must be checked. If any statement is not true, keep the
pull request as Draft. An explanation does not replace a required check.
idafter the/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows theREADME template, documents
every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
thumbnail.webpwith the thumbnail generator.versionfollows semver and is bumped in this PR;plugin_apiis the oldest API level this plugin requires.understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
catalog.toml; CI generates it.Code review attestation
Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:
Ready-for-review requirement: Every attestation below must be checked.
licensedeclared inplugin.toml.