# xtyxtyx/sorry

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/xtyxtyx-sorry).**

6,436 stars · 772 forks · CSS · MIT

## Links

- GitHub: https://github.com/xtyxtyx/sorry
- Homepage: https://sorry.xuty.cc/
- awesome-repositories: https://awesome-repositories.com/repository/xtyxtyx-sorry.md

## Description

This project is a web-based animation tool and GIF meme generator that overlays custom text onto video templates. It functions as a backend system utilizing an ASS subtitle rendering engine and FFmpeg to produce animated GIF files from user inputs.

The system is distinguished by its use of Advanced Substation Alpha files to handle the precise timing, positioning, and visual styling of text overlays. It features a directory-based template registry that automatically discovers available video and subtitle pairs by scanning the file system at startup.

The tool provides a RESTful API for triggering binary GIF generation and listing available templates. It includes a comprehensive template management workflow covering video uploads, visual previews, and remote storage for generated files.

## Tags

### Artificial Intelligence & ML

- [Animated](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-image-generation/meme-generation/animated.md) — Creates shareable animated GIF memes by overlaying custom text onto video templates.

### Part of an Awesome List

- [Video Template Definitions](https://awesome-repositories.com/f/awesome-lists/ai/video-and-animation/animation-timeline-templating/video-template-definitions.md) — Allows users to define new meme styles by pairing video files with dynamic subtitle templates. ([source](https://cdn.jsdelivr.net/gh/xtyxtyx/sorry@master/README.md))
- [Developer Tools](https://awesome-repositories.com/f/awesome-lists/devtools/developer-tools.md) — Generator for GIF memes.

### Content Management & Publishing

- [Burned-In Subtitle Rendering](https://awesome-repositories.com/f/content-management-publishing/media-management/subtitle-management-systems/timestamped-subtitle-generators/burned-in-subtitle-rendering.md) — Permanently overlays timed and styled text captions onto video frames using ASS files.

### Development Tools & Productivity

- [Template-Driven Workflows](https://awesome-repositories.com/f/development-tools-productivity/animation-production-workflows/template-driven-workflows.md) — Generates personalized animations via an API by processing video templates and user text.

### Graphics & Multimedia

- [Template-Based GIF Generation](https://awesome-repositories.com/f/graphics-multimedia/animated-gif-creators/template-based-gif-generation.md) — Produces shareable animated GIFs by selecting video templates and inserting custom text. ([source](https://sorry.xuty.cc/))
- [Custom Text Rendering](https://awesome-repositories.com/f/graphics-multimedia/custom-text-rendering.md) — Renders custom text onto video frames using precise timing and positioning via ASS files.
- [GIF Generation APIs](https://awesome-repositories.com/f/graphics-multimedia/gif-generation-apis.md) — Provides a RESTful API for creating personalized animated GIFs and listing available templates.
- [Overlay Rendering Engines](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/post-processing-pipelines/multi-pass-rendering-pipelines/real-time-rendering-engines/overlay-rendering-engines.md) — Implements a backend system to render synchronized text overlays on video frames.
- [Text Overlays](https://awesome-repositories.com/f/graphics-multimedia/text-overlays.md) — Renders custom user-provided text directly onto video frames to personalize animated memes.
- [FFmpeg Transcoders](https://awesome-repositories.com/f/graphics-multimedia/video-production/transcoding-engines/ffmpeg-transcoders.md) — Uses FFmpeg for palette generation and encoding to convert video sources into high-quality GIFs.
- [Video-to-GIF Converters](https://awesome-repositories.com/f/graphics-multimedia/video-to-gif-converters.md) — Exposes the GIF generation process through a set of HTTP endpoints.
- [Video-to-GIF Meme Tools](https://awesome-repositories.com/f/graphics-multimedia/video-to-gif-meme-tools.md) — Creates animated GIFs by overlaying custom text onto video templates using FFmpeg.
- [Web-Based Animation Editors](https://awesome-repositories.com/f/graphics-multimedia/web-based-animation-editors.md) — Provides a browser interface for selecting video templates and entering text for GIF generation.
- [Animation Template Storage](https://awesome-repositories.com/f/graphics-multimedia/animation-template-storage.md) — Organizes animation styles into dedicated folders containing source videos, subtitle templates, and previews.
- [Media Template Discovery](https://awesome-repositories.com/f/graphics-multimedia/media-template-discovery.md) — Automatically discovers video templates at startup by scanning the directory for matching MP4 and ASS file pairs.
- [Media Template Storage](https://awesome-repositories.com/f/graphics-multimedia/media-template-storage.md) — Organizes each video template in a dedicated folder containing the source video, subtitle overlay, and preview assets.
- [Subtitle Styling](https://awesome-repositories.com/f/graphics-multimedia/subtitle-styling.md) — Provides visual styling for captions including bolding, italics, font sizing, and fade durations. ([source](https://cdn.jsdelivr.net/gh/xtyxtyx/sorry@master/README.md))
- [Template Asset Registration](https://awesome-repositories.com/f/graphics-multimedia/video-frame-templates/template-asset-registration.md) — Registers new video sources by associating movie files, subtitle templates, and preview images. ([source](https://cdn.jsdelivr.net/gh/xtyxtyx/sorry@master/README.md))
- [Asset Pair Libraries](https://awesome-repositories.com/f/graphics-multimedia/video-frame-templates/video-project-templates/asset-pair-libraries.md) — Organizes a library of MP4 and ASS subtitle pairs to serve as base assets for memes.
- [Automated Asset Discovery](https://awesome-repositories.com/f/graphics-multimedia/video-frame-templates/video-project-templates/automated-asset-discovery.md) — Discovers available video templates by scanning for matching MP4 and ASS file pairs.

### Software Engineering & Architecture

- [RESTful Workflow APIs](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/api-design-management/api-integration-strategies/restful-workflow-apis.md) — Exposes GIF creation and template listing through a programmatic RESTful interface.
- [Directory-Based Plugin Discovery](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/plugin-architectures/registration-discovery-systems/directory-based-plugin-discovery.md) — Automatically discovers and registers video templates by scanning the file system at startup.

### Web Development

- [Server-Side Image Generators](https://awesome-repositories.com/f/web-development/server-side-image-generators.md) — Processes video and text inputs on the server to generate and return binary GIF files.
