Skip to content

all-in-aigc/sorafm

Repository files navigation

Sora.FM

Sora AI Video Generator

Sora text-to-video API is not available. All the videos display on Sora.FM are generated by OpenAI's red team.

中文说明

Live Demo

https://sorafm.trys.ai

preview

Deploy with Vercel

Deploy with Vercel

Deploy with docker

  • build image
sudo docker build -f deploy/Dockerfile -t sorafm:latest .
  • run server
sudo docker run -itd -p 127.0.0.1:8014:8080 --restart=always sorafm:latest
  • nginx conf
server {
    listen 80;

    location / {
        proxy_pass http://127.0.0.1:8014/;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    error_log /var/log/nginx/sorafm.error;
}

Local development

  1. clone project
git clone https://github.com/all-in-aigc/sorafm
  1. install dependencies
cd sorafm
pnpm install
  1. init database

create your database use local postgres or vercel-postgres or supabase

create tables from sql at data/install.sql

  1. set environmental values

put .env.local under root dir with values list below

POSTGRES_URL="postgres://USER:PASSWORD@HOST/DB"

WEB_BASE_URI="http://localhost:3000"
  1. local development
pnpm dev --port 3000

open http://localhost:3000 for preview

Credit to

Other Things

you can contact me at Twitter: https://twitter.com/idoubicc

if this project is helpful to you, buy be a coffee.

Buy Me A Coffee

Star History

Star History Chart