File size: 1,076 Bytes
9df6ae5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# OgA-Encoder

A video encoding web app (Encode, Trim, Merge, Move) built with React + Vite frontend and an Express backend that uses `ffmpeg` for video processing.

## Stack

- **Frontend**: React 19, TypeScript, Tailwind CSS 4, Vite 7 (built as a single-file HTML bundle via `vite-plugin-singlefile`)
- **Backend**: Node.js + Express 5, serving the built `dist/index.html` and handling ffmpeg jobs
- **System**: `ffmpeg` / `ffprobe` required (installed via Nix)

## How to run

The workflow `Start application` runs:
```

PORT=5000 node server/index.js

```

The server serves the pre-built `dist/index.html`. After any frontend changes, rebuild before restarting:
```

npm run build

```

## Key files

- `src/App.tsx` — main React UI
- `server/index.js` — Express API (file upload, encoding jobs, download, trim, merge)
- `vite.config.ts` — Vite config (single-file output)
- `Task.md` — pending feature requests (audio/video quality controls, output format selection)

## User preferences

<!-- Add any remembered preferences here -->