Commit Graph
4 Commits
Author SHA1 Message Date
Shaun KrugerandCopilot 8f1748390f Add FastAPI web service for video transcoding management
Implements a complete video transcoding web service with:
- FastAPI framework for REST API
- SQLAlchemy ORM with SQLite database
- API key authentication using SHA256 hashing
- Per-user resource isolation for all assets and jobs
- S3-compatible file upload/download/delete/list interface
- YAML-based API for transcode job requests
- Transcode profile management (stored and inline)
- Database models for Users, APIKeys, Assets, Jobs, and Profiles
- CLI entry point for database initialization and server startup
- Comprehensive integration tests with 100% pass rate
- Deployment documentation with examples

New files:
- privatestudio/web/: Web service package
- privatestudio/web/models.py: SQLAlchemy ORM models
- privatestudio/web/auth.py: API key authentication
- privatestudio/web/database.py: Database configuration
- privatestudio/web/app.py: FastAPI application
- privatestudio/web/s3_interface.py: File storage backend
- privatestudio/web/cli.py: CLI commands
- privatestudio/web/routes/: API endpoint handlers
- tests/test_web.py: Integration tests
- DEPLOYMENT.md: Deployment guide

Updated files:
- pyproject.toml: Added dependencies and CLI entry point

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-25 18:39:45 -06:00
Shaun Kruger 72b4fcc107 Add pyproject.toml and make transcode.py a command 2026-10-25 18:12:07 -06:00
Shaun Kruger f637e34ea1 CPU transcoding works, quicksync needs help 2026-09-21 22:46:10 -06:00
Shaun Kruger 77a5a64a56 Initial checkin 2026-09-19 23:20:14 -06:00