pocat-api
Pocat API is a backend solution for an AI-powered video clipping platform designed to transform long-form videos into engaging short clips similar to OpusClip or Vizard AI. Built with AdonisJS 6 and TypeScript, it provides a robust API for video content analysis, highlighting detection, and smart clipping based on engagement potential. The system integrates yt-dlp to handle YouTube video downloads across various quality settings from 144p to 4K. Key features include automatic speech-to-text transcription, subtitle generation, and support for multiple export formats. The architecture utilizes Turso, an edge-replicated SQLite-compatible database, ensuring scalable data management with a custom service layer for direct integration. Security is maintained through access token-based authentication and OAuth readiness. The software includes standard user management endpoints for creating, reading, updating, and deleting user records, alongside specialized endpoints for testing database connections and managing AI w