📦 build: Fresh build

legacy-sd-webui-1.5
canisminor1990 2023-08-24 10:52:41 +08:00
parent b56bc1b2f5
commit e8ba039ff2
9 changed files with 154 additions and 116 deletions

View File

@ -54,7 +54,7 @@
- [x] 🎛️ Высоконастраиваемая боковая панель, с боковой панелью быстрых настроек слева и боковой панелью моделей справа
- [x] 🖼️ Регулируемое соотношение холста, благодаря чему генерируемые изображения всегда отображаются сверху
- [x] 📱 Mobile-friendly, с частичной оптимизацией под мобильные экраны
- [x] 🌍 Поддержка i18n(Поддержка разных языков) и приветствуются [PR](https://github.com/canisminor1990/sd-webui-lobe-theme/tree/main/locales)
- [x] 🌍 Поддержка i18n(Поддержка разных языков) и приветствуются [PR](https://github.com/lobehub/sd-webui-lobe-theme/tree/main/locales)
- [x] 📝 Подсветка синтаксиса в поле ввода промта
- [x] 📦 Поддержка [PWA](https://support.google.com/chrome/answer/9658361)
@ -77,7 +77,7 @@
В качестве расширения (рекомендуется) клонировать репозиторий в папку расширений:
```shell
git clone "https://github.com/canisminor1990/sd-webui-lobe-theme" extensions/lobe-theme
git clone "https://github.com/lobehub/sd-webui-lobe-theme" extensions/lobe-theme
```
> 👉 Примечание: Минимальные требования gradio-3.23.0 & sd-webui [4c1ad74](https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/4c1ad743e3baf1246db0711aa0107debf036a12b)
@ -266,7 +266,7 @@ photorealistic photo of a handsome male, (wizard:1.2), short beard, white wizard
В качестве альтернативы можно клонировать его для локальной разработки. Для включения режима горячей загрузки необходимо предварительно запустить Stable-Diffusion на порту `7860`.
```bash
$ git clone https://github.com/canisminor1990/sd-webui-lobe-theme.git
$ git clone https://github.com/lobehub/sd-webui-lobe-theme.git
$ cd sd-webui-lobe-theme
$ pnpm install
$ pnpm start
@ -358,7 +358,7 @@ This project is [AGPL3](./LICENSE) licensed.
[feat-thememode]: https://gw.alipayobjects.com/zos/kitchen/nSFtJidWUR/feat_thememode.webp
[feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/az49akOKJT/feat_pwa.webp
[profile-url]: https://github.com/canisminor1990
[gitpod-url]: https://gitpod.io/#https://github.com/canisminor1990/sd-webui-lobe-theme
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/sd-webui-lobe-theme
<!-- SHIELD LINK GROUP -->
@ -366,40 +366,40 @@ This project is [AGPL3](./LICENSE) licensed.
<!-- release -->
[release-shield]: https://img.shields.io/github/v/release/canisminor1990/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-shield]: https://img.shields.io/github/v/release/lobehub/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- releaseDate -->
[release-date-shield]: https://img.shields.io/github/release-date/canisminor1990/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- ciTest -->
[ci-test-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/test.yml
[ci-test-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/test.yml
<!-- ciRelease -->
[ci-release-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/release.yml
[ci-release-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/release.yml
<!-- contributors -->
[contributors-shield]: https://img.shields.io/github/contributors/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/graphs/contributors
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/lobehub/sd-webui-lobe-theme/graphs/contributors
<!-- forks -->
[forks-shield]: https://img.shields.io/github/forks/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/network/members
[forks-shield]: https://img.shields.io/github/forks/lobehub/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/lobehub/sd-webui-lobe-theme/network/members
<!-- stargazers -->
[stargazers-shield]: https://img.shields.io/github/stars/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/stargazers
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/lobehub/sd-webui-lobe-theme/stargazers
<!-- issues -->
[issues-shield]: https://img.shields.io/github/issues/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/issues/new/choose
[issues-shield]: https://img.shields.io/github/issues/lobehub/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/lobehub/sd-webui-lobe-theme/issues/new/choose

View File

@ -56,7 +56,7 @@
- [x] 🎛️ 高定制侧边栏,左侧为快捷设置侧边栏,右侧为模型侧边栏
- [x] 🖼️ 可调节画板比例,使生成图像始终置顶
- [x] 📱 移动端友好,针对手机屏幕完成部分优化
- [x] 🌍 支持 i18n 并欢迎提交 [PR](https://github.com/canisminor1990/sd-webui-lobe-theme/tree/main/locales) 贡献
- [x] 🌍 支持 i18n 并欢迎提交 [PR](https://github.com/lobehub/sd-webui-lobe-theme/tree/main/locales) 贡献
- [x] 📝 语法高亮的 Prompt 输入框
- [x] 📦 支持 [PWA](https://support.google.com/chrome/answer/9658361?hl=zh-Hans) 渐进式 Web 应用
@ -79,7 +79,7 @@
作为扩展(推荐) 将存储库克隆到您的扩展文件夹中:
```shell
git clone "https://github.com/canisminor1990/sd-webui-lobe-theme" extensions/lobe-theme
git clone "https://github.com/lobehub/sd-webui-lobe-theme" extensions/lobe-theme
```
> 👉 提示:最低要求 gradio-3.23.0 & sd-webui [4c1ad74](https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/4c1ad743e3baf1246db0711aa0107debf036a12b)
@ -268,7 +268,7 @@ photorealistic photo of a handsome male, (wizard:1.2), short beard, white wizard
或者克隆到本地开发, 热更新开发模式需要将 stable diffuison 提前启动到 `7860` 端口:
```bash
$ git clone https://github.com/canisminor1990/sd-webui-lobe-theme.git
$ git clone https://github.com/lobehub/sd-webui-lobe-theme.git
$ cd sd-webui-lobe-theme
$ pnpm install
$ pnpm start
@ -360,7 +360,7 @@ This project is [AGPL3](./LICENSE) licensed.
[feat-thememode]: https://gw.alipayobjects.com/zos/kitchen/nSFtJidWUR/feat_thememode.webp
[feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/az49akOKJT/feat_pwa.webp
[profile-url]: https://github.com/canisminor1990
[gitpod-url]: https://gitpod.io/#https://github.com/canisminor1990/sd-webui-lobe-theme
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/sd-webui-lobe-theme
<!-- SHIELD LINK GROUP -->
@ -368,40 +368,40 @@ This project is [AGPL3](./LICENSE) licensed.
<!-- release -->
[release-shield]: https://img.shields.io/github/v/release/canisminor1990/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-shield]: https://img.shields.io/github/v/release/lobehub/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- releaseDate -->
[release-date-shield]: https://img.shields.io/github/release-date/canisminor1990/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- ciTest -->
[ci-test-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/test.yml
[ci-test-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/test.yml
<!-- ciRelease -->
[ci-release-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/release.yml
[ci-release-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/release.yml
<!-- contributors -->
[contributors-shield]: https://img.shields.io/github/contributors/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/graphs/contributors
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/lobehub/sd-webui-lobe-theme/graphs/contributors
<!-- forks -->
[forks-shield]: https://img.shields.io/github/forks/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/network/members
[forks-shield]: https://img.shields.io/github/forks/lobehub/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/lobehub/sd-webui-lobe-theme/network/members
<!-- stargazers -->
[stargazers-shield]: https://img.shields.io/github/stars/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/stargazers
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/lobehub/sd-webui-lobe-theme/stargazers
<!-- issues -->
[issues-shield]: https://img.shields.io/github/issues/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/issues/new/choose
[issues-shield]: https://img.shields.io/github/issues/lobehub/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/lobehub/sd-webui-lobe-theme/issues/new/choose

View File

@ -54,7 +54,7 @@ English · [Russian ](./README-ru_RU.md)· [简体中文](./README-zh_CN.md) ·
- [x] 🎛️ Highly customizable sidebar, with a quick settings sidebar on the left and a model sidebar on the right
- [x] 🖼️ Adjustable canvas ratio, ensuring that generated images are always displayed at the top
- [x] 📱 Mobile-friendly, with partial optimization for mobile screens
- [x] 🌍Support i18n and welcome [PR](https://github.com/canisminor1990/sd-webui-lobe-theme/tree/main/locales) contributions
- [x] 🌍Support i18n and welcome [PR](https://github.com/lobehub/sd-webui-lobe-theme/tree/main/locales) contributions
- [x] 📝 Syntax highlighting in the prompt input box
- [x] 📦 Support [PWA](https://support.google.com/chrome/answer/9658361) progressive web app
@ -77,7 +77,7 @@ Search for `Lobe Theme` or `Kitchen Theme` in the stable diffusion webui plugin
As an extension (recommended), clone the repository to your extension folder:
```shell
git clone "https://github.com/canisminor1990/sd-webui-lobe-theme" extensions/lobe-theme
git clone "https://github.com/lobehub/sd-webui-lobe-theme" extensions/lobe-theme
```
> 👉 Note: minimum requirements gradio-3.23.0 & sd-webui [4c1ad74](https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/4c1ad743e3baf1246db0711aa0107debf036a12b)
@ -266,7 +266,7 @@ You can use Gitpod for online development:
Alternatively, you can clone it for local development. To enable hot-reloading mode, you need to start stable diffuison on port `7860` in advance.
```bash
$ git clone https://github.com/canisminor1990/sd-webui-lobe-theme.git
$ git clone https://github.com/lobehub/sd-webui-lobe-theme.git
$ cd sd-webui-lobe-theme
$ pnpm install
$ pnpm start
@ -358,7 +358,7 @@ This project is [AGPL3](./LICENSE) licensed.
[feat-thememode]: https://gw.alipayobjects.com/zos/kitchen/nSFtJidWUR/feat_thememode.webp
[feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/az49akOKJT/feat_pwa.webp
[profile-url]: https://github.com/canisminor1990
[gitpod-url]: https://gitpod.io/#https://github.com/canisminor1990/sd-webui-lobe-theme
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/sd-webui-lobe-theme
<!-- SHIELD LINK GROUP -->
@ -366,40 +366,40 @@ This project is [AGPL3](./LICENSE) licensed.
<!-- release -->
[release-shield]: https://img.shields.io/github/v/release/canisminor1990/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-shield]: https://img.shields.io/github/v/release/lobehub/sd-webui-lobe-theme?style=flat&sort=semver&logo=github
[release-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- releaseDate -->
[release-date-shield]: https://img.shields.io/github/release-date/canisminor1990/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/releases
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/sd-webui-lobe-theme?style=flat
[release-date-url]: https://github.com/lobehub/sd-webui-lobe-theme/releases
<!-- ciTest -->
[ci-test-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/test.yml
[ci-test-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Test%20CI/badge.svg
[ci-test-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/test.yml
<!-- ciRelease -->
[ci-release-shield]: https://github.com/canisminor1990/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/actions/workflows/release.yml
[ci-release-shield]: https://github.com/lobehub/sd-webui-lobe-theme/workflows/Build%20and%20Release/badge.svg
[ci-release-url]: https://github.com/lobehub/sd-webui-lobe-theme/actions/workflows/release.yml
<!-- contributors -->
[contributors-shield]: https://img.shields.io/github/contributors/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/graphs/contributors
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/sd-webui-lobe-theme.svg?style=flat
[contributors-url]: https://github.com/lobehub/sd-webui-lobe-theme/graphs/contributors
<!-- forks -->
[forks-shield]: https://img.shields.io/github/forks/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/network/members
[forks-shield]: https://img.shields.io/github/forks/lobehub/sd-webui-lobe-theme.svg?style=flat
[forks-url]: https://github.com/lobehub/sd-webui-lobe-theme/network/members
<!-- stargazers -->
[stargazers-shield]: https://img.shields.io/github/stars/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/stargazers
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/sd-webui-lobe-theme.svg?style=flat
[stargazers-url]: https://github.com/lobehub/sd-webui-lobe-theme/stargazers
<!-- issues -->
[issues-shield]: https://img.shields.io/github/issues/canisminor1990/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/canisminor1990/sd-webui-lobe-theme/issues/new/choose
[issues-shield]: https://img.shields.io/github/issues/lobehub/sd-webui-lobe-theme.svg?style=flat
[issues-url]: https://github.com/lobehub/sd-webui-lobe-theme/issues/new/choose

File diff suppressed because one or more lines are too long

View File

@ -9,13 +9,13 @@
"kitchen-theme",
"extensions"
],
"homepage": "https://github.com/canisminor1990/sd-webui-lobe-theme",
"homepage": "https://github.com/lobehub/sd-webui-lobe-theme",
"bugs": {
"url": "https://github.com/canisminor1990/sd-webui-lobe-theme/issues/new"
"url": "https://github.com/lobehub/sd-webui-lobe-theme/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/canisminor1990/sd-webui-lobe-theme.git"
"url": "https://github.com/lobehub/sd-webui-lobe-theme.git"
},
"license": "AGPL3",
"author": "canisminor1990 <i@canisminor.cc>",

View File

@ -1,4 +1,3 @@
import { Meta } from '@lobehub/ui';
import { Suspense, memo, useEffect, useState } from 'react';
import { Helmet } from 'react-helmet';
import { shallow } from 'zustand/shallow';
@ -36,7 +35,37 @@ export const App = memo(() => {
return (
<Suspense fallback="loading...">
<Helmet>
<Meta title={'Stable Diffusion · LobeHub'} />
<link
href="https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/apple-touch-icon.png"
rel="apple-touch-icon"
sizes="180x180"
/>
<link
href="https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/favicon-32x32.png"
rel="icon"
sizes="32x32"
type="image/png"
/>
<link
href="https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/favicon-16x16.png"
rel="icon"
sizes="16x16"
type="image/png"
/>
<link
href="https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/site.webmanifest"
rel="manifest"
/>
<link
color="#000000"
href="https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/safari-pinned-tab.svg"
rel="mask-icon"
/>
<meta content="Stable Diffusion · LobeHub" name="apple-mobile-web-app-title" />
<meta content="Stable Diffusion · LobeHub" name="application-name" />
<meta content="#000000" name="msapplication-TileColor" />
<meta content="#000000" name="theme-color" />
<link href={manifest} rel="manifest" />
</Helmet>
<Layout>{storeLoading === false && loading === false ? <Index /> : <Loading />}</Layout>

View File

@ -1,4 +1,4 @@
import { ActionIcon, Giscus as G } from '@lobehub/ui';
import { ActionIcon, DiscordIcon, Giscus as G } from '@lobehub/ui';
import { Space } from 'antd';
import isEqual from 'fast-deep-equal';
import { Github } from 'lucide-react';
@ -26,6 +26,9 @@ const Giscus = memo<GiscusProps>(({ open, onCancel }) => {
open={open}
title={
<>
<a href={'https://discord.gg/AYFPHvv2jT'} rel="noreferrer" target="_blank">
<ActionIcon icon={DiscordIcon} title={'Discord'} />
</a>
<a href={homepage} rel="noreferrer" target="_blank">
<ActionIcon icon={Github} title={repoName} />
</a>

View File

@ -73,11 +73,17 @@ export const MoreProducts = [
title: '✂️ Cover Minifier',
url: 'https://github.com/canisminor1990/sd-webui-cover-minifier',
},
{
description: 'OpenAI Chat Bot',
openExternal: true,
title: '🤖 Lobe Chat',
url: 'https://chat.lobehub.com',
},
{
description: 'AIGC Components',
openExternal: true,
title: '🤯 Lobe UI',
url: 'https://github.com/lobehub/lobe-ui',
title: '🍭 Lobe UI',
url: 'https://ui.lobehub.com',
},
{
description: 'AI Commit CLI',

View File

@ -34,7 +34,7 @@ export type WebuiSettingKeys = keyof WebuiSetting;
export const DEFAULT_SETTING: WebuiSetting = {
enableExtraNetworkSidebar: true,
enableHighlight: true,
enableHighlight: false,
enableSidebar: true,
enableWebFont: true,
extraNetworkCardSize: 86,