|
|
@@ -18,11 +18,13 @@ A modern, full-stack video processing system built with Turborepo. Automatically
|
|
|
This monorepo contains:
|
|
|
|
|
|
### Apps
|
|
|
+
|
|
|
- **`apps/web`**: Next.js 14 web interface with real-time updates
|
|
|
- **`apps/service`**: NestJS API server with WebSocket support
|
|
|
- **`apps/cli`**: Node.js command-line interface
|
|
|
|
|
|
### Packages
|
|
|
+
|
|
|
- **`packages/eslint-config`**: Shared ESLint configurations
|
|
|
- **`packages/typescript-config`**: Shared TypeScript configurations
|
|
|
- **`packages/ui`**: Shared React components (stub)
|
|
|
@@ -45,17 +47,20 @@ pnpm run cli # Interactive CLI
|
|
|
## Development
|
|
|
|
|
|
### Prerequisites
|
|
|
+
|
|
|
- Node.js 20+
|
|
|
- pnpm package manager
|
|
|
- HandBrake CLI (installed automatically in Docker)
|
|
|
|
|
|
### Available Scripts
|
|
|
+
|
|
|
- `pnpm run dev` - Start all services with hot reload
|
|
|
- `pnpm run build` - Build all apps
|
|
|
- `pnpm run lint` - Run ESLint
|
|
|
- `pnpm run test` - Run tests
|
|
|
|
|
|
### Docker Support
|
|
|
+
|
|
|
```bash
|
|
|
docker build .
|
|
|
docker-compose up
|
|
|
@@ -64,6 +69,7 @@ docker-compose up
|
|
|
## Configuration
|
|
|
|
|
|
Dataset configurations are stored in the SQLite database. Each dataset defines:
|
|
|
+
|
|
|
- Watch directories
|
|
|
- Output destinations
|
|
|
- File extensions to process
|
|
|
@@ -93,6 +99,7 @@ pnpm run cli config:get datasets
|
|
|
## Database
|
|
|
|
|
|
SQLite database stored at `data/database.db` containing:
|
|
|
+
|
|
|
- **files**: Processed video metadata
|
|
|
- **tasks**: Processing queue
|
|
|
- **settings**: Configuration data
|