# 2swap/swaptube

youtube video renderer

Repository: https://github.com/2swap/swaptube
Canonical: https://ross.abutalabs.com/products/swaptube
Language: C++
License: Unlicense
License Family: permissive
Last push: 2026-08-26T10:22:05+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 84
- inputs: {"age_days": 1189, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1652, forks 77 (observed 2026-08-28T04:05:16.968130+00:00)

## What it is
SwapTube is a C++ framework for programmatically rendering YouTube videos, built on FFMPEG with custom graphics code above the encoding layer. It requires a CUDA or HIP-compatible GPU and supports in-video LaTeX rendering via MicroTeX.

## Use cases
- render animated youtube videos programmatically
- create math explainer videos with latex equations
- generate videos from code instead of a video editor
- render video frames with gpu acceleration
- build custom animation scenes for educational videos

## When to choose
- you want code-driven video generation on linux with an nvidia or amd gpu
- you need in-video latex equation rendering
- you want full low-level control over the render pipeline beyond ffmpeg

## When to avoid
- you need a supported build on macos or windows
- you lack a cuda or hip-compatible gpu
- you want a gui video editor rather than a code framework

## Facets
- artifact type: library
- maturity: active
- function: video-processing, graphics, animation, gpu-computing
- domain: graphics, media, developer-tools
- platform: cpp, cli
- tags: ffmpeg, cuda, hip, youtube-video-rendering, latex-rendering, programmatic-video, 3blue1brown-style, video, linux, gpu

## Member repositories
- 2swap/swaptube (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.968130+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:58.717779+00:00, confidence not recorded.
  - readme: https://github.com/2swap/swaptube (fetched 2026-08-28T04:05:16.968130+00:00, sha 08102015152f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
