├── .env.example ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── apps ├── api │ ├── .gitignore │ ├── .taprc │ ├── README.md │ ├── package.json │ ├── prisma │ │ ├── migrations │ │ │ ├── 20231206185330_init │ │ │ │ └── migration.sql │ │ │ ├── 20231207150345_new │ │ │ │ └── migration.sql │ │ │ ├── 20231207180245_platform │ │ │ │ └── migration.sql │ │ │ ├── 20231207181701_type │ │ │ │ └── migration.sql │ │ │ ├── 20231207182507_transcript │ │ │ │ └── migration.sql │ │ │ ├── 20231209091624_reset │ │ │ │ └── migration.sql │ │ │ ├── 20231209095447_reset │ │ │ │ └── migration.sql │ │ │ └── migration_lock.toml │ │ └── schema.prisma │ ├── src │ │ ├── app.ts │ │ ├── handlers │ │ │ ├── file │ │ │ │ └── get.handler.ts │ │ │ └── generate │ │ │ │ ├── get.handler.ts │ │ │ │ ├── post.handler.ts │ │ │ │ └── schema.ts │ │ ├── plugins │ │ │ ├── README.md │ │ │ ├── bull.ts │ │ │ ├── prisma.ts │ │ │ ├── sensible.ts │ │ │ └── support.ts │ │ ├── queue │ │ │ ├── index.ts │ │ │ └── worker.ts │ │ ├── routes │ │ │ └── api │ │ │ │ └── v1 │ │ │ │ ├── file │ │ │ │ └── index.ts │ │ │ │ └── generate │ │ │ │ └── index.ts │ │ └── utils │ │ │ ├── ai.ts │ │ │ ├── audio-to-text-api.ts │ │ │ ├── audio-to-text.ts │ │ │ ├── duration.ts │ │ │ ├── ffmpeg.ts │ │ │ ├── html.ts │ │ │ ├── supabase.ts │ │ │ ├── video.ts │ │ │ └── voice.ts │ ├── test │ │ ├── helper.ts │ │ ├── plugins │ │ │ └── support.test.ts │ │ ├── routes │ │ │ ├── example.test.ts │ │ │ └── root.test.ts │ │ └── tsconfig.json │ └── tsconfig.json └── ui │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── postcss.config.cjs │ ├── public │ └── vite.svg │ ├── src │ ├── App.module.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ ├── VideoDone.module.css │ │ ├── VideoDone.tsx │ │ ├── VideoError.tsx │ │ ├── VideoForm.module.css │ │ ├── VideoForm.tsx │ │ └── VideoProcessing.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── docker-compose.yml ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── remotion ├── .eslintrc ├── .github └── workflows │ └── render-video.yml ├── .gitignore ├── .prettierrc ├── .vscode └── settings.json ├── README.md ├── bundle.js ├── package-lock.json ├── package.json ├── remotion.config.ts ├── src ├── Composition.tsx ├── Root.tsx └── index.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/README.md -------------------------------------------------------------------------------- /apps/api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/.gitignore -------------------------------------------------------------------------------- /apps/api/.taprc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/.taprc -------------------------------------------------------------------------------- /apps/api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/README.md -------------------------------------------------------------------------------- /apps/api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/package.json -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231206185330_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231206185330_init/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231207150345_new/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231207150345_new/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231207180245_platform/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231207180245_platform/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231207181701_type/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231207181701_type/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231207182507_transcript/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231207182507_transcript/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231209091624_reset/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231209091624_reset/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20231209095447_reset/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/20231209095447_reset/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /apps/api/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/prisma/schema.prisma -------------------------------------------------------------------------------- /apps/api/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/app.ts -------------------------------------------------------------------------------- /apps/api/src/handlers/file/get.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/handlers/file/get.handler.ts -------------------------------------------------------------------------------- /apps/api/src/handlers/generate/get.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/handlers/generate/get.handler.ts -------------------------------------------------------------------------------- /apps/api/src/handlers/generate/post.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/handlers/generate/post.handler.ts -------------------------------------------------------------------------------- /apps/api/src/handlers/generate/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/handlers/generate/schema.ts -------------------------------------------------------------------------------- /apps/api/src/plugins/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/plugins/README.md -------------------------------------------------------------------------------- /apps/api/src/plugins/bull.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/plugins/bull.ts -------------------------------------------------------------------------------- /apps/api/src/plugins/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/plugins/prisma.ts -------------------------------------------------------------------------------- /apps/api/src/plugins/sensible.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/plugins/sensible.ts -------------------------------------------------------------------------------- /apps/api/src/plugins/support.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/plugins/support.ts -------------------------------------------------------------------------------- /apps/api/src/queue/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/queue/index.ts -------------------------------------------------------------------------------- /apps/api/src/queue/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/queue/worker.ts -------------------------------------------------------------------------------- /apps/api/src/routes/api/v1/file/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/routes/api/v1/file/index.ts -------------------------------------------------------------------------------- /apps/api/src/routes/api/v1/generate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/routes/api/v1/generate/index.ts -------------------------------------------------------------------------------- /apps/api/src/utils/ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/ai.ts -------------------------------------------------------------------------------- /apps/api/src/utils/audio-to-text-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/audio-to-text-api.ts -------------------------------------------------------------------------------- /apps/api/src/utils/audio-to-text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/audio-to-text.ts -------------------------------------------------------------------------------- /apps/api/src/utils/duration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/duration.ts -------------------------------------------------------------------------------- /apps/api/src/utils/ffmpeg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/ffmpeg.ts -------------------------------------------------------------------------------- /apps/api/src/utils/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/html.ts -------------------------------------------------------------------------------- /apps/api/src/utils/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/supabase.ts -------------------------------------------------------------------------------- /apps/api/src/utils/video.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/video.ts -------------------------------------------------------------------------------- /apps/api/src/utils/voice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/src/utils/voice.ts -------------------------------------------------------------------------------- /apps/api/test/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/test/helper.ts -------------------------------------------------------------------------------- /apps/api/test/plugins/support.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/test/plugins/support.test.ts -------------------------------------------------------------------------------- /apps/api/test/routes/example.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/test/routes/example.test.ts -------------------------------------------------------------------------------- /apps/api/test/routes/root.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/test/routes/root.test.ts -------------------------------------------------------------------------------- /apps/api/test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/test/tsconfig.json -------------------------------------------------------------------------------- /apps/api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/api/tsconfig.json -------------------------------------------------------------------------------- /apps/ui/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/.eslintrc.cjs -------------------------------------------------------------------------------- /apps/ui/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/.gitignore -------------------------------------------------------------------------------- /apps/ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/README.md -------------------------------------------------------------------------------- /apps/ui/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/index.html -------------------------------------------------------------------------------- /apps/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/package.json -------------------------------------------------------------------------------- /apps/ui/postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/postcss.config.cjs -------------------------------------------------------------------------------- /apps/ui/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/public/vite.svg -------------------------------------------------------------------------------- /apps/ui/src/App.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/App.module.css -------------------------------------------------------------------------------- /apps/ui/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/App.tsx -------------------------------------------------------------------------------- /apps/ui/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/assets/react.svg -------------------------------------------------------------------------------- /apps/ui/src/components/VideoDone.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoDone.module.css -------------------------------------------------------------------------------- /apps/ui/src/components/VideoDone.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoDone.tsx -------------------------------------------------------------------------------- /apps/ui/src/components/VideoError.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoError.tsx -------------------------------------------------------------------------------- /apps/ui/src/components/VideoForm.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoForm.module.css -------------------------------------------------------------------------------- /apps/ui/src/components/VideoForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoForm.tsx -------------------------------------------------------------------------------- /apps/ui/src/components/VideoProcessing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/components/VideoProcessing.tsx -------------------------------------------------------------------------------- /apps/ui/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/index.css -------------------------------------------------------------------------------- /apps/ui/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/src/main.tsx -------------------------------------------------------------------------------- /apps/ui/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/tsconfig.json -------------------------------------------------------------------------------- /apps/ui/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/tsconfig.node.json -------------------------------------------------------------------------------- /apps/ui/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/apps/ui/vite.config.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /remotion/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@remotion" 3 | } 4 | -------------------------------------------------------------------------------- /remotion/.github/workflows/render-video.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/.github/workflows/render-video.yml -------------------------------------------------------------------------------- /remotion/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/.gitignore -------------------------------------------------------------------------------- /remotion/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/.prettierrc -------------------------------------------------------------------------------- /remotion/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/.vscode/settings.json -------------------------------------------------------------------------------- /remotion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/README.md -------------------------------------------------------------------------------- /remotion/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/bundle.js -------------------------------------------------------------------------------- /remotion/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/package-lock.json -------------------------------------------------------------------------------- /remotion/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/package.json -------------------------------------------------------------------------------- /remotion/remotion.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/remotion.config.ts -------------------------------------------------------------------------------- /remotion/src/Composition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/src/Composition.tsx -------------------------------------------------------------------------------- /remotion/src/Root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/src/Root.tsx -------------------------------------------------------------------------------- /remotion/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/src/index.ts -------------------------------------------------------------------------------- /remotion/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n4ze3m/shotty-fun/HEAD/remotion/tsconfig.json --------------------------------------------------------------------------------