Skip to content

rudy2steiner/jsonhome

Repository files navigation

JSON Home

JSON Home is an open-source project that simplifies video creation by allowing users to generate videos online with OpenAI's Sora model using text, featuring easy one-click website deployment. 👉 SoraWebui

English | 简体中文 | 日本語

Project Plan

  • ✅ Generate video by words(Use FakeSoraAPI):

    You can see this feature in 👉 main or 👉 version-0.1

  • ✅ Login with Google:

    You can see this feature in 👉 login or 👉 version-0.2

  • ✅ Google One Tap Login:

    You can see this feature in 👉 login or 👉 version-0.3

  • Stripe payment:

    Coming soon

  • Add OpenAI’s Sora API:

    Waiting for OpenAI launch Sora's API, then we will launch this feature.

Quick Started

Deploy on Vercel

Deploy with Vercel

1. Clone project

git clone git@github.com:rudy2steiner/jsonhome.git

2. Install dependencies

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

3. copy .env.example and rename it to .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

4. Run it

yarn dev
#or
npm run dev
#or
pnpm dev

Monaco editor

https://www.npmjs.com/package/@monaco-editor/react
loader.config({ paths: { vs: 'https://cdn.jsdelivr.net/npm/monaco-editor@0.21.1/min/vs' } })
loader.config({ paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.43.0/min/vs' } });

timestamp


i18n

IN
US
BR
UK
VN
DE

add lang

  • translate messages
  • config.ts
  • middleware

5. Open http://localhost with your browser to see it.

success_deploy.jpg

Important

SoraWebui requires FakeSoraAPI to function properly.

Star History

Star History Chart