mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #17633] [CLOSED] feat: PWA share_target implementation (android only) #24500
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/17633
Author: @gjveld
Created: 9/21/2025
Status: ❌ Closed
Base:
dev← Head:feature/android-share📝 Commits (2)
6bc5d33doc: readme29136a3Added PWA share_target support📊 Changes
3 files changed (+47 additions, -8 deletions)
View changed files
➕
LICENSE_NOTICE(+11 -0)📝
README.md(+1 -1)📝
backend/open_webui/main.py(+35 -7)📄 Description
Changelog Entry
Description
Added
The share_target manifest member allows installed Progressive Web Apps to be registered as a share target in the system's share dialog.
PWA share_target is an experimental feature and currently only supported in: Chrome (desktop and android), Edge and Opera. See: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/share_target
Once registered and installed, a PWA that uses the Web Share Target API acts as a content sharing target, along with typical system share targets like email, messengers, and other native apps that can receive shared content.
With the implemention in the openwebui PWA you can share i.e. a youtube video or a webpage with the open webui.
To realise this I implemented some extra handling in the openwebui /watch endpoint and a redirect to the standared webapp endpoint for loading a webpage, youtube video or as query text (/?youtube, /?load-url, /?q).
Additional Information & screen shots
See: https://github.com/open-webui/open-webui/discussions/17125
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.