Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: added video changelog

kapishdima2ad2b71f9131
diff --git a/CLAUDE.md b/CLAUDE.md
index 91b3cff3..b86c88a4 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -40,7 +40,7 @@ Solo builders и маленькие команды (1-2 чел), фронтен
Любая ветка, которая добавляет или заметно меняет компоненты registry, обязана содержать запись ченджлога — в том же PR, что и сама фича.
- Одна запись = один файл `content/changelog/<YYYY-MM-DD>-<slug>.mdx`. Дата в имени файла — дата мержа
-- Frontmatter: `title` и `date` (без кавычек, без `: ` внутри значений). `date` парсится в JS `Date`
+- Frontmatter: `title`, `date`, плюс опциональные `video` и `videoPoster` (без кавычек, без `: ` внутри значений). `date` парсится в JS `Date`; `video`/`videoPoster` — полные URL на внешний видео-хостинг (`https://` не ломает YAML, там нет `: `)
- Запись = веха, а не PR и не календарный день
- Заголовки: `h1` и `h2` принадлежат странице (`h2` рендерится из `title`). Внутри тела — только `h3` для групп `New components` / `Improvements` / `Fixes`
- Живое превью: `<ChangelogPreview name="component-name" />`, где `name` — ключ из `registry/__index__.tsx`. Опционально
@@ -48,6 +48,12 @@ Solo builders и маленькие команды (1-2 чел), фронтен
- Весь текст — на английском
- Опубликованные записи не переименовываются: имя файла — это якорь (`/changelog#2026-07-08-transitions-revamp`), которым делятся
+Два вида просмотра — `/changelog` (текст) и `/changelog/video` (лента роликов), обе строятся из одной коллекции.
+
+- В ленту попадают только записи с полем `video`. Нет поля — записи в видео-ленте просто нет, сборка не падает
+- Видео — готовый веб-файл mp4 по внешнему URL. Хранение, компрессия и постеры — на стороне видео-сервиса, сайт их не делает
+- Плеер: `muted` + `playsInline` + `loop`, автоплей только у самого видимого ролика, остальные с `preload="none"`. При `prefers-reduced-motion` автоплей глушится
+
## Бизнес-модель
Open core. Free примитивы и базовые compositions (MIT). В будущем — premium блоки и video builder.
diff --git a/app/(home)/changelog/page.tsx b/app/(home)/changelog/page.tsx
index 76411fcc..e85b5219 100644
--- a/app/(home)/changelog/page.tsx
+++ b/app/(home)/changelog/page.tsx
@@ -1,7 +1,14 @@
import type { Metadata } from "next";
+import Link from "next/link";
import type { ComponentProps } from "react";
import { changelog } from "@/.source/server";
+import { ChangelogHero } from "@/components/changelog/changelog-hero";
import { ChangelogPreview } from "@/components/changelog/changelog-preview";
+import {
+ changelogDateFormatter,
+ changelogSlug,
+ sortByDateDesc,
+} from "@/lib/changelog";
import { getMDXComponents } from "@/mdx-components";
export const metadata: Metadata = {
@@ -15,13 +22,6 @@ export const metadata: Metadata = {
},
};
-const dateFormatter = new Intl.DateTimeFormat("en-US", {
- timeZone: "UTC",
- year: "numeric",
- month: "long",
- day: "numeric",
-});
-
const entryComponents = {
...getMDXComponents(),
ChangelogPreview,
@@ -30,27 +30,16 @@ const entryComponents = {
};
export default function ChangelogPage() {
- const entries = [...changelog].sort(
- (a, b) => b.date.getTime() - a.date.getTime(),
- );
+ const entries = sortByDateDesc(changelog);
return (
<>
- <section className="pt-24 pb-10 sm:pt-28">
- <div className="section">
- <h1 className="text-4xl font-semibold leading-[1.05] tracking-tight text-foreground sm:text-5xl">
- Changelog
- </h1>
- <p className="mt-4 max-w-2xl text-balance text-base leading-relaxed text-muted-foreground sm:text-lg">
- New components, transitions, shaders, and icons as they ship.
- </p>
- </div>
- </section>
+ <ChangelogHero active="text" />
<section className="pb-24">
<div className="section flex flex-col gap-16">
{entries.map((entry) => {
- const slug = entry.info.path.replace(/\.mdx$/, "");
+ const slug = changelogSlug(entry);
const iso = entry.date.toISOString().slice(0, 10);
const MDX = entry.body;
@@ -65,16 +54,26 @@ export default function ChangelogPage() {
dateTime={iso}
className="font-mono text-xs font-medium text-muted-foreground"
>
- {dateFormatter.format(entry.date)}
+ {changelogDateFormatter.format(entry.date)}
</time>
</div>
<div className="mt-4 min-w-0 md:mt-0">
- <h2 className="text-2xl font-semibold tracking-tight text-foreground sm:text-3xl">
- <a href={`#${slug}`} className="hover:underline">
- {entry.title}
- </a>
- </h2>
+ <div className="flex items-baseline justify-between gap-4">
+ <h2 className="text-2xl font-semibold tracking-tight text-foreground sm:text-3xl">
+ <a href={`#${slug}`} className="hover:underline">
+ {entry.title}
+ </a>
+ </h2>
+ {entry.video ? (
+ <Link
+ href={`/changelog/video#${slug}`}
+ className="shrink-0 text-sm font-medium text-muted-foreground hover:text-foreground"
+ >
+ Watch
+ </Link>
+ ) : null}
+ </div>
<div className="typeset typeset-docs mt-6">
<MDX components={entryComponents} />
</div>
diff --git a/app/(home)/changelog/video/page.tsx b/app/(home)/changelog/video/page.tsx
new file mode 100644
index 00000000..30f1c2e3
--- /dev/null
+++ b/app/(home)/changelog/video/page.tsx
@@ -0,0 +1,46 @@
+import type { Metadata } from "next";
+import { changelog } from "@/.source/server";
+import { ChangelogHero } from "@/components/changelog/changelog-hero";
+import { ChangelogVideoFeed } from "@/components/changelog/changelog-video-feed";
+import {
+ changelogDateFormatter,
+ changelogSlug,
+ sortByDateDesc,
+} from "@/lib/changelog";
+
+export const metadata: Metadata = {
+ title: "Changelog in video",
+ description:
+ "Every remocn release as a short video — new components, transitions, shaders, and icons, newest first.",
+ openGraph: {
+ title: "Changelog in video · remocn",
+ description:
+ "Every remocn release as a short video — new components, transitions, shaders, and icons, newest first.",
+ },
+};
+
+export default function ChangelogVideoPage() {
+ const entries = sortByDateDesc(changelog).flatMap((entry) =>
+ entry.video
+ ? [
+ {
+ slug: changelogSlug(entry),
+ title: entry.title,
+ iso: entry.date.toISOString().slice(0, 10),
+ formattedDate: changelogDateFormatter.format(entry.date),
+ video: entry.video,
+ videoPoster: entry.videoPoster,
+ },
+ ]
+ : [],
+ );
+
+ return (
+ <>
+ <ChangelogHero active="video" />
+ <section className="pb-24">
+ <ChangelogVideoFeed entries={entries} />
+ </section>
+ </>
+ );
+}
diff --git a/app/sitemap.ts b/app/sitemap.ts
index 20a8f0ac..4487979f 100644
--- a/app/sitemap.ts
+++ b/app/sitemap.ts
@@ -25,6 +25,12 @@ export default function sitemap(): MetadataRoute.Sitemap {
changeFrequency: "weekly",
priority: 0.6,
},
+ {
+ url: `${SITE_URL}/changelog/video`,
+ lastModified: now,
+ changeFrequency: "weekly",
+ priority: 0.5,
+ },
];
const docRoutes: MetadataRoute.Sitemap = source.getPages().map((page) => ({
diff --git a/components/changelog/changelog-hero.tsx b/components/changelog/changelog-hero.tsx
new file mode 100644
index 00000000..ee3ed716
--- /dev/null
+++ b/components/changelog/changelog-hero.tsx
@@ -0,0 +1,45 @@
+import Link from "next/link";
+import { cn } from "@/lib/utils";
+
+const VIEWS = [
+ { href: "/changelog", label: "Text" },
+ { href: "/changelog/video", label: "Video" },
+] as const;
+
+export function ChangelogHero({ active }: { active: "text" | "video" }) {
+ const activeHref = active === "text" ? "/changelog" : "/changelog/video";
+
+ return (
+ <section className="pt-24 pb-10 sm:pt-28">
+ <div className="section">
+ <h1 className="text-4xl font-semibold leading-[1.05] tracking-tight text-foreground sm:text-5xl">
+ Changelog
+ </h1>
+ <p className="mt-4 max-w-2xl text-balance text-base leading-relaxed text-muted-foreground sm:text-lg">
+ New components, transitions, shaders, and icons as they ship.
+ </p>
+
+ <nav aria-label="Changelog view" className="mt-8 flex items-center gap-1">
+ {VIEWS.map((view) => {
+ const isActive = view.href === activeHref;
+ return (
+ <Link
+ key={view.href}
+ href={view.href}
+ aria-current={isActive ? "page" : undefined}
+ className={cn(
+ "rounded-full px-3.5 py-1.5 text-sm font-medium transition-colors",
+ isActive
+ ? "bg-muted text-foreground"
+ : "text-muted-foreground hover:text-foreground",
+ )}
+ >
+ {view.label}
+ </Link>
+ );
+ })}
+ </nav>
+ </div>
+ </section>
+ );
+}
diff --git a/components/changelog/changelog-video-feed.tsx b/components/changelog/changelog-video-feed.tsx
new file mode 100644
index 00000000..ec11de97
--- /dev/null
+++ b/components/changelog/changelog-video-feed.tsx
@@ -0,0 +1,164 @@
+"use client";
+
+import Link from "next/link";
+import { useEffect, useRef, useState } from "react";
+import { usePrefersReducedMotion } from "@/lib/use-prefers-reduced-motion";
+
+export interface ChangelogVideoEntry {
+ slug: string;
+ title: string;
+ iso: string;
+ formattedDate: string;
+ video: string;
+ videoPoster?: string;
+}
+
+const ACTIVE_THRESHOLD = 0.5;
+
+export function ChangelogVideoFeed({
+ entries,
+}: {
+ entries: ChangelogVideoEntry[];
+}) {
+ const containerRef = useRef<HTMLDivElement>(null);
+ const [activeSlug, setActiveSlug] = useState<string | null>(null);
+ const [nearSlugs, setNearSlugs] = useState<ReadonlySet<string>>(new Set());
+
+ useEffect(() => {
+ const root = containerRef.current;
+ if (!root || typeof IntersectionObserver === "undefined") return;
+ const frames = root.querySelectorAll<HTMLElement>("[data-video-slug]");
+
+ const ratios = new Map<string, number>();
+ const dominant = new IntersectionObserver(
+ (records) => {
+ for (const record of records) {
+ const slug = record.target.getAttribute("data-video-slug");
+ if (slug) ratios.set(slug, record.intersectionRatio);
+ }
+ let best: string | null = null;
+ let bestRatio = ACTIVE_THRESHOLD;
+ for (const [slug, ratio] of ratios) {
+ if (ratio > bestRatio) {
+ bestRatio = ratio;
+ best = slug;
+ }
+ }
+ setActiveSlug(best);
+ },
+ { threshold: [0, 0.25, 0.5, 0.75, 1] },
+ );
+
+ const approaching = new IntersectionObserver(
+ (records) => {
+ const arrived = records
+ .filter((record) => record.isIntersecting)
+ .map((record) => record.target.getAttribute("data-video-slug"))
+ .filter((slug): slug is string => slug !== null);
+ if (arrived.length === 0) return;
+ setNearSlugs((prev) => {
+ const next = new Set(prev);
+ for (const slug of arrived) next.add(slug);
+ return next;
+ });
+ },
+ { rootMargin: "300px 0px" },
+ );
+
+ for (const frame of frames) {
+ dominant.observe(frame);
+ approaching.observe(frame);
+ }
+ return () => {
+ dominant.disconnect();
+ approaching.disconnect();
+ };
+ }, [entries]);
+
+ return (
+ <div ref={containerRef} className="section flex flex-col gap-16">
+ {entries.map((entry) => (
+ <ChangelogVideoCard
+ key={entry.slug}
+ entry={entry}
+ active={entry.slug === activeSlug}
+ near={nearSlugs.has(entry.slug)}
+ />
+ ))}
+ </div>
+ );
+}
+
+function ChangelogVideoCard({
+ entry,
+ active,
+ near,
+}: {
+ entry: ChangelogVideoEntry;
+ active: boolean;
+ near: boolean;
+}) {
+ const videoRef = useRef<HTMLVideoElement>(null);
+ const reducedMotion = usePrefersReducedMotion();
+ const [hovered, setHovered] = useState(false);
+
+ useEffect(() => {
+ const video = videoRef.current;
+ if (!video) return;
+ if (active && !reducedMotion) {
+ void video.play().catch(() => {});
+ } else {
+ video.pause();
+ }
+ }, [active, reducedMotion]);
+
+ return (
+ <article
+ id={entry.slug}
+ className="scroll-mt-24 border-t border-border pt-8 md:grid md:grid-cols-[10rem_1fr] md:gap-8"
+ >
+ <div className="md:sticky md:top-24 md:self-start">
+ <time
+ dateTime={entry.iso}
+ className="font-mono text-xs font-medium text-muted-foreground"
+ >
+ {entry.formattedDate}
+ </time>
+ </div>
+
+ <div className="mt-4 min-w-0 md:mt-0">
+ <h2 className="text-2xl font-semibold tracking-tight text-foreground sm:text-3xl">
+ <a href={`#${entry.slug}`} className="hover:underline">
+ {entry.title}
+ </a>
+ </h2>
+
+ <div
+ data-video-slug={entry.slug}
+ className="surface-card mt-6 aspect-video w-full overflow-hidden rounded-2xl"
+ >
+ <video
+ ref={videoRef}
+ src={entry.video}
+ poster={near ? entry.videoPoster : undefined}
+ controls={hovered || reducedMotion}
+ onPointerEnter={() => setHovered(true)}
+ onPointerLeave={() => setHovered(false)}
+ muted
+ loop
+ playsInline
+ preload="none"
+ className="size-full object-cover"
+ />
+ </div>
+
+ <Link
+ href={`/changelog#${entry.slug}`}
+ className="mt-4 inline-block text-sm font-medium text-muted-foreground hover:text-foreground"
+ >
+ Read the full entry
+ </Link>
+ </div>
+ </article>
+ );
+}
diff --git a/content/changelog/2026-04-08-launch.mdx b/content/changelog/2026-04-08-launch.mdx
index 35717a56..16f13ae7 100644
--- a/content/changelog/2026-04-08-launch.mdx
+++ b/content/changelog/2026-04-08-launch.mdx
@@ -1,6 +1,8 @@
---
title: remocn launches
date: 2026-04-08
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
A shadcn registry for Remotion. You already know the workflow — run `npx shadcn@latest add`, the files land in your project, and they are yours to edit. remocn applies it to video.
diff --git a/content/changelog/2026-06-12-remocn-ui.mdx b/content/changelog/2026-06-12-remocn-ui.mdx
index 78c3648c..9e864ab4 100644
--- a/content/changelog/2026-06-12-remocn-ui.mdx
+++ b/content/changelog/2026-06-12-remocn-ui.mdx
@@ -1,6 +1,8 @@
---
title: remocn/ui arrives
date: 2026-06-12
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Every product demo eventually has to show the product — a dialog opening, a command menu filtering, a form being filled. Doing that with real shadcn components inside Remotion does not work, because they animate against wall-clock time and a video has no clock, only a frame number.
diff --git a/content/changelog/2026-06-17-ai-and-social.mdx b/content/changelog/2026-06-17-ai-and-social.mdx
index 50de6684..7aba8147 100644
--- a/content/changelog/2026-06-17-ai-and-social.mdx
+++ b/content/changelog/2026-06-17-ai-and-social.mdx
@@ -1,6 +1,8 @@
---
title: AI chat simulators and social cards
date: 2026-06-17
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Two shots that show up in almost every launch video — someone prompting an AI, and a follower count going up.
diff --git a/content/changelog/2026-06-23-typography-wave.mdx b/content/changelog/2026-06-23-typography-wave.mdx
index 63eec1c4..eb3a33be 100644
--- a/content/changelog/2026-06-23-typography-wave.mdx
+++ b/content/changelog/2026-06-23-typography-wave.mdx
@@ -1,6 +1,8 @@
---
title: 18 new text animations
date: 2026-06-23
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Text is most of what a demo video says, so the typography tier got the most attention. Eighteen entrances and swaps, each built on Remotion's `interpolate` and `spring` rather than a CSS keyframe library — they seek correctly, and frame 40 looks the same on every render.
diff --git a/content/changelog/2026-06-25-agent-skill.mdx b/content/changelog/2026-06-25-agent-skill.mdx
index 13a65680..271e502d 100644
--- a/content/changelog/2026-06-25-agent-skill.mdx
+++ b/content/changelog/2026-06-25-agent-skill.mdx
@@ -1,6 +1,8 @@
---
title: The remocn agent skill
date: 2026-06-25
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
If you build videos with an AI agent, it now knows the catalog. The remocn skill teaches Claude Code and friends which components exist, what each one is for, and how to compose them — so "make me an intro scene" stops being a guessing game.
diff --git a/content/changelog/2026-06-27-chat-primitives.mdx b/content/changelog/2026-06-27-chat-primitives.mdx
index b4a4f1e0..d6099a35 100644
--- a/content/changelog/2026-06-27-chat-primitives.mdx
+++ b/content/changelog/2026-06-27-chat-primitives.mdx
@@ -1,6 +1,8 @@
---
title: Chat and messaging primitives
date: 2026-06-27
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Demo videos keep needing the same shot — a conversation typing itself out. Rather than ship one rigid chat component, this adds the pieces and lets you assemble the flow.
diff --git a/content/changelog/2026-07-01-shader-backgrounds.mdx b/content/changelog/2026-07-01-shader-backgrounds.mdx
index d7320302..552a19f4 100644
--- a/content/changelog/2026-07-01-shader-backgrounds.mdx
+++ b/content/changelog/2026-07-01-shader-backgrounds.mdx
@@ -1,6 +1,8 @@
---
title: 18 shader backgrounds
date: 2026-07-01
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Gradient backdrops read as a slide deck. These read as a product. Eighteen GPU shaders wrapped as Remotion components, each driven by the frame rather than by wall-clock time — so they render deterministically and a re-render produces the same file.
diff --git a/content/changelog/2026-07-02-transitions-revamp.mdx b/content/changelog/2026-07-02-transitions-revamp.mdx
index e16a805b..0afcb567 100644
--- a/content/changelog/2026-07-02-transitions-revamp.mdx
+++ b/content/changelog/2026-07-02-transitions-revamp.mdx
@@ -1,6 +1,8 @@
---
title: Transitions revamp
date: 2026-07-02
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
remocn had backgrounds and text animations but almost nothing for the cut between two scenes. This closes that hole with eleven transitions — eight driven by shaders, three by camera motion. All of them are Remotion transition presentations, so they drop straight into a `TransitionSeries.Transition` and take their character from the timing function you pass.
diff --git a/content/changelog/2026-07-06-llms-txt.mdx b/content/changelog/2026-07-06-llms-txt.mdx
index 49acfedb..4b9a319c 100644
--- a/content/changelog/2026-07-06-llms-txt.mdx
+++ b/content/changelog/2026-07-06-llms-txt.mdx
@@ -1,6 +1,8 @@
---
title: llms.txt for AI agents
date: 2026-07-06
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Agents were reading remocn docs by scraping the rendered site, which is a bad way to learn an API. Now the docs are available as plain text at the addresses agents already look for.
diff --git a/content/changelog/2026-07-07-performance-and-guards.mdx b/content/changelog/2026-07-07-performance-and-guards.mdx
index 4cb2fed1..71809a20 100644
--- a/content/changelog/2026-07-07-performance-and-guards.mdx
+++ b/content/changelog/2026-07-07-performance-and-guards.mdx
@@ -1,6 +1,8 @@
---
title: Faster site, stronger guards
date: 2026-07-07
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
An unglamorous week aimed entirely at the things that quietly rot — page weight, type safety, and the gap between what the registry says it ships and what it actually ships.
diff --git a/content/changelog/2026-07-08-new-logo-and-hero.mdx b/content/changelog/2026-07-08-new-logo-and-hero.mdx
index f5a3e553..47abd419 100644
--- a/content/changelog/2026-07-08-new-logo-and-hero.mdx
+++ b/content/changelog/2026-07-08-new-logo-and-hero.mdx
@@ -1,6 +1,8 @@
---
title: New logo, new hero
date: 2026-07-08
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
remocn got a proper mark, and the landing page finally leads with motion instead of describing it.
diff --git a/content/changelog/2026-07-08-zoom-blur-and-drift.mdx b/content/changelog/2026-07-08-zoom-blur-and-drift.mdx
index 5db152f8..0504c57a 100644
--- a/content/changelog/2026-07-08-zoom-blur-and-drift.mdx
+++ b/content/changelog/2026-07-08-zoom-blur-and-drift.mdx
@@ -1,6 +1,8 @@
---
title: Zoom blur, drift, and two ways to swap text
date: 2026-07-08
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
A depth punch between scenes, a slow camera drift for anything that needs to breathe, and two components for the specific problem of replacing one word with another without a hard cut.
diff --git a/content/changelog/2026-07-10-animated-icons.mdx b/content/changelog/2026-07-10-animated-icons.mdx
index e2fd515d..a6134508 100644
--- a/content/changelog/2026-07-10-animated-icons.mdx
+++ b/content/changelog/2026-07-10-animated-icons.mdx
@@ -1,6 +1,8 @@
---
title: 100 animated icons
date: 2026-07-10
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Lucide icons, re-authored for video. Every icon draws itself in and then performs one action that belongs to it — the bell rings, the heart beats, the trash lid lifts. The geometry is Lucide's, so they sit next to the icons already in your product; the motion is new.
diff --git a/content/changelog/2026-07-11-docs-typography.mdx b/content/changelog/2026-07-11-docs-typography.mdx
index 30e42e80..7fb7fac9 100644
--- a/content/changelog/2026-07-11-docs-typography.mdx
+++ b/content/changelog/2026-07-11-docs-typography.mdx
@@ -1,6 +1,8 @@
---
title: Docs typography rebuilt on typeset
date: 2026-07-11
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
Docs prose had accumulated a decade of one-off overrides — a margin here, a font size there — and headings drifted between pages. That is all gone. Typography now derives from shadcn typeset, so vertical rhythm, headings, links, and tables come from one system instead of from whichever page you happened to land on.
diff --git a/content/changelog/2026-07-14-stars-generator-retired.mdx b/content/changelog/2026-07-14-stars-generator-retired.mdx
index 761473fd..7ae5d5ab 100644
--- a/content/changelog/2026-07-14-stars-generator-retired.mdx
+++ b/content/changelog/2026-07-14-stars-generator-retired.mdx
@@ -1,6 +1,8 @@
---
title: The stars generator is retired
date: 2026-07-14
+video: https://remocn.dev/introducing-remocn.mp4
+videoPoster: https://remocn.dev/introducing-remocn-poster.jpg
---
The GitHub stars video generator at `/stars` is no longer accepting new renders. It was a fun experiment and a good stress test of the render pipeline, but keeping a public render queue healthy is a different project from maintaining a component registry, and the registry is where the value is.
diff --git a/lib/changelog.ts b/lib/changelog.ts
new file mode 100644
index 00000000..565b19f6
--- /dev/null
+++ b/lib/changelog.ts
@@ -0,0 +1,16 @@
+export const changelogDateFormatter = new Intl.DateTimeFormat("en-US", {
+ timeZone: "UTC",
+ year: "numeric",
+ month: "long",
+ day: "numeric",
+});
+
+export function sortByDateDesc<T extends { date: Date }>(
+ entries: readonly T[],
+): T[] {
+ return [...entries].sort((a, b) => b.date.getTime() - a.date.getTime());
+}
+
+export function changelogSlug(entry: { info: { path: string } }): string {
+ return entry.info.path.replace(/\.mdx$/, "");
+}
diff --git a/source.config.ts b/source.config.ts
index 92b71564..9a4ab486 100644
--- a/source.config.ts
+++ b/source.config.ts
@@ -27,6 +27,8 @@ export const changelog = defineCollections({
schema: z.object({
title: z.string(),
date: z.date(),
+ video: z.url().optional(),
+ videoPoster: z.url().optional(),
}),
});