mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #22506] feat: allow sharing chats publicly #26731
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/22506
Author: @grische
Created: 3/9/2026
Status: 🔄 Open
Base:
dev← Head:public-sharing📝 Commits (1)
c8453e9feat: allow sharing chats publicly📊 Changes
69 files changed (+506 additions, -75 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+3 -0)➕
backend/open_webui/migrations/versions/c3d4e5f6a7b8_add_public_column_to_chat.py(+29 -0)📝
backend/open_webui/models/chats.py(+20 -3)📝
backend/open_webui/routers/auths.py(+4 -0)📝
backend/open_webui/routers/chats.py(+47 -2)📝
src/lib/apis/chats/index.ts(+34 -2)📝
src/lib/components/admin/Settings/General.svelte(+8 -0)📝
src/lib/components/chat/ShareChatModal.svelte(+53 -37)📝
src/lib/i18n/locales/ar-BH/translation.json(+4 -0)📝
src/lib/i18n/locales/ar/translation.json(+4 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+4 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+4 -0)📝
src/lib/i18n/locales/bo-TB/translation.json(+4 -0)📝
src/lib/i18n/locales/bs-BA/translation.json(+4 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+4 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+4 -0)📝
src/lib/i18n/locales/cs-CZ/translation.json(+4 -0)📝
src/lib/i18n/locales/da-DK/translation.json(+4 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+4 -0)...and 49 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
This PR adds a new button for public sharing chats. This allows sharing existing chats without the need for a user to sign up on.
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
When sharing a chat for the first time:

When updating an existing link:

A new "clone" button when for public chats when the user is not signed in:

Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.