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).
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.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/17633
**Author:** [@gjveld](https://github.com/gjveld)
**Created:** 9/21/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `feature/android-share`
---
### 📝 Commits (2)
- [`6bc5d33`](https://github.com/open-webui/open-webui/commit/6bc5d331a27c5106f492213510a763effa316faf) doc: readme
- [`29136a3`](https://github.com/open-webui/open-webui/commit/29136a34ab3dcc2903d5c4a90e3cc7262d52b6d3) Added PWA share_target support
### 📊 Changes
**3 files changed** (+47 additions, -8 deletions)
<details>
<summary>View changed files</summary>
➕ `LICENSE_NOTICE` (+11 -0)
📝 `README.md` (+1 -1)
📝 `backend/open_webui/main.py` (+35 -7)
</details>
### 📄 Description
# Changelog Entry
### Description
### Added
- PWA share_target functionality to support OS shareto functionality
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)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.