Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SoraWeb/sora-next-web

Open more actions menu

Repository files navigation

Sora Next Web

Sora Next Web

Live Demo

https://web.getsoraapp.com

preview

Quick Start

  1. clone project
git clone https://github.com/SoraWeb/sora-next-web
  1. install dependencies
cd sora-next-web
yarn
  1. set environmental values

rename .env.template to .env.local under root dir, and add the env vars

NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_FOLDER=<Your cloudinary folder contains video files>

Sign up your free Cloudinary account to get your Cloudinary details

Also change the next.config.js file, to allow accessing files from cloudinary

remotePatterns: [
      {
        protocol: "https",
        hostname: "res.cloudinary.com",
        pathname: "/<NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME>/**",
      },
    ],
```

4. videos folder structure

You will need to put videos in the following structure in the Cloudinary:

<CLOUDINARYFOLDER>//nhdp.mp4 <CLOUDINARYFOLDER>//nhdp.webm <CLOUDINARYFOLDER>//hd1080p.mp4 <CLOUDINARYFOLDER>//hd1080p.webm


![cloudinary](./public/cloudinary.png)

Where video file starts `nhdp_` for preview and `hd1080p_` for details view.

If you prefer different logic of reading files, change the logic in `organizeVideos.ts`

5. local development

```shell
yarn dev

open http://localhost:3000 for preview

Credit to

Subscribe to the coming Sora App

you can subscribe our mailing list at Get Sora App

Sora Prompt Helper

try our Sora Prompt Helper here

Support

Buy Me A Coffee

About

Sora AI Video Generator by Get Sora App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.