MCPcopy Index your code
hub / github.com/SoraWebui/SoraWebui

github.com/SoraWebui/SoraWebui @0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.3 ↗ · + Follow
69 symbols 200 edges 49 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SoraWebui

SoraWebui 是一个开源项目,允许用户使用 OpenAI 的 Sora 模型使用文本在线生成视频,从而简化视频创建,并具有轻松的一键网站部署功能。 👉 SoraWebui

English | 简体中文 | 日本語

项目计划

您可以在 👉 main 或 👉 version-0.1 中体验该功能

  • ✅ 使用谷歌登录:

您可以在 👉 login 或 👉 version-0.2 中体验该功能

  • ✅ Google 一键登录:

您可以在 👉 login 或 👉 version-0.3 中体验该功能

  • [ ] Stripe支付:

即将推出

  • [ ] 添加 OpenAI 的 Sora API:

等待 OpenAI 开放 Sora 的 API,随后我们就会推出该功能.

快速开始

在 Vercel 上部署

Deploy with Vercel

1. 克隆项目

git clone git@github.com:SoraWebui/SoraWebui.git

2. 安装依赖

cd SoraWebui && yarn
#or
cd SoraWebui && npm install
#or
cd SoraWebui && pnpm install

3. 复制 .env.example 并将其重命名为 .env.local

# website URL
NEXT_PUBLIC_SITE_URL=http://localhost

# openai config
OPENAI_API_KEY=sk-XXXXXX
OPENAI_API_BASE_URL=http://localhost:8081
OPENAI_API_MODEL=sora-1.0-turbo

# vercel postgres config
POSTGRES_URL=
POSTGRES_PRISMA_URL=
POSTGRES_URL_NO_SSL=
POSTGRES_URL_NON_POOLING=
POSTGRES_USER=
POSTGRES_HOST=
POSTGRES_PASSWORD=
POSTGRES_DATABASE=

# Google auth config
GOOGLE_CLIENT_ID=
GOOGLE_SECRET_ID=

# NEXTAUTH config
# create command: openssl rand -base64 32
NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost

4. 额外的配置

1) Google auth config 👉 Google-Auth-Help

2) vercel postgres config 👉 vercel-postgres-Help

5. 运行

yarn dev
#or
npm run dev
#or
pnpm dev

6. 在浏览器打开 http://localhost

success_deploy.jpg

重要事项

SoraWebui 需要 FakeSoraAPI 才能正常运行。

Star History

Star History Chart

Extension points exported contracts — how you extend this code

IntlMessages (Interface)
(no doc)
global.d.ts

Core symbols most depended-on inside this repo

useCommonContext
called by 13
src/context/common-context.tsx
getIndexLanguageText
called by 6
src/configs/languageText.ts
getAuthLanguageText
called by 6
src/configs/languageText.ts
randomVideo
called by 2
src/data/openaiVideo.ts
checkAndSaveUser
called by 2
src/servers/user.ts
getQuestionLanguageText
called by 1
src/configs/languageText.ts
getWorksPageLanguageText
called by 1
src/configs/languageText.ts
getVideosPageLanguageText
called by 1
src/configs/languageText.ts

Shape

Function 68
Interface 1

Languages

TypeScript100%

Modules by API surface

src/configs/languageText.ts8 symbols
src/context/common-context.tsx6 symbols
src/app/[locale]/PageComponent.tsx4 symbols
src/servers/user.ts3 symbols
src/components/LoginButton.tsx3 symbols
src/app/[locale]/videos/PageComponent.tsx3 symbols
src/servers/work.ts2 symbols
src/components/LogoutModal.tsx2 symbols
src/components/Header.tsx2 symbols
src/app/[locale]/works/PageComponent.tsx2 symbols
src/app/[locale]/playground/PageComponent.tsx2 symbols
src/app/[locale]/layout.tsx2 symbols

For agents

$ claude mcp add SoraWebui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact