惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cisco Talos Blog
Cisco Talos Blog
T
Threat Research - Cisco Blogs
P
Privacy International News Feed
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
Scott Helme
Scott Helme
人人都是产品经理
人人都是产品经理
G
GRAHAM CLULEY
O
OpenAI News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
PCI Perspectives
PCI Perspectives
GbyAI
GbyAI
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
T
Troy Hunt's Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
腾讯CDC
C
Check Point Blog
Spread Privacy
Spread Privacy
L
LINUX DO - 最新话题
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
P
Palo Alto Networks Blog
Hacker News: Ask HN
Hacker News: Ask HN
M
MIT News - Artificial intelligence
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Hacker News
The Hacker News
H
Hacker News: Front Page
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
T
Tor Project blog
Martin Fowler
Martin Fowler
博客园 - 叶小钗
罗磊的独立博客
C
Cyber Attacks, Cyber Crime and Cyber Security
H
Heimdal Security Blog
V
Vulnerabilities – Threatpost
Simon Willison's Weblog
Simon Willison's Weblog
Latest news
Latest news
WordPress大学
WordPress大学
G
Google Developers Blog
N
Netflix TechBlog - Medium
S
Security Affairs
S
Secure Thoughts
Know Your Adversary
Know Your Adversary

The Astro Blog

Astro 6.4 Astro 6.3 Starlight 0.39 Astro 6.2 What's new in Astro - April 2026 What's new in Astro - March 2026 Astro 6.1 CloudCannon Joins Astro as an Official CMS Partner Astro 6.0 What's new in Astro - February 2026 What's new in Astro - January 2026 Astro 5.17 Supporting the future of Astro The Astro Technology Company joins Cloudflare Astro 6 Beta What's new in Astro - December 2025 What's new in Astro - November 2025 Astro 5.16 Stainless Sponsors Astro, Launches Astro-Powered Docs Platform What's new in Astro - October 2025 Astro 5.15 Spirit of Astro: meet the winning designs What's new in Astro - September 2025 Astro 5.14 Cloudflare Donates $150,000 to Support Astro's Open Source Mission Webflow Donates $150,000 to Support Astro's Open Source Mission Mux: Our Official Video Partner What's new in Astro - August 2025 Astro 5.13 What's new in Astro - July 2025 Astro 5.12 Starlight 0.35 Astro 5.11 What's new in Astro - June 2025 Live Content Collections: A Deep Dive Introducing… Astro Mart Astro Solstice Festival Astro 5.10 Astro 5.9 What's new in Astro - May 2025 Astro 5.8 What's new in Astro - April 2025 2025 Technical Steering Committee Starlight April Update Astro 5.7 Astro Agency Partner Program Astro 5.6 What's new in Astro - March 2025 Astro 5.5 What's new in Astro - February 2025 Astro 5.4 Starlight 0.32 Astro 5.3 What's new in Astro - January 2025 Astro 5.2 2024 year in review What's new in Astro - December 2024 Astro 5.1 Astro 5.0 Google IDX: Our Official Online Editor Partner What's new in Astro - November 2024 What's new in Astro - October 2024 Astro x Cloudinary SDK What's new in Astro - September 2024 Community Loaders for Astro Content Layer Astro x Hygraph: Content Loader Astro x Cloudinary: Content Loader Astro x Storyblok: Content Loader Content Layer: A Deep Dive Starlight 0.28 Astro 5.0 Beta Release The $100,000 Astro Ecosystem Fund Fall Update Goodbye Studio, Hello DB What's new in Astro - August 2024 Astro 4.15 Astro 4.14 Astro 4.13 What's new in Astro - July 2024 Astro 4.12: Server Islands Netlify: Our Official Deployment Partner What's new in Astro - June 2024 Astro 4.11 Astro Together 2024 Server Islands The Astro Content Layer Zero-JavaScript View Transitions Astro 4.10 Starlight turns one year old! What's new in Astro - May 2024 Astro 4.9 Astro 4.8 What's new in Astro - April 2024 Astro 4.7 Astro 4.6 What's new in Astro - March 2024 Migrating 500+ tests from Mocha to Node.js Astro DB: A Deep Dive The Astro Developer Portal Astro DB Astro 4.5
Unleashing creativity: How CodeTV built a video streaming platform with Astro and Mux | Astro
2025-09-09 · via The Astro Blog

Case Study •

CodeTV features video programming for developers ranging from live coding sessions to game shows. They needed a framework that could handle a complex data architecture and deliver a high performance streaming platform for subscribers.

Tired of every live-streamed event feeling the same, Jason Lengstorf set out to create engaging video content for developers. CodeTV’s shows focus on original concepts and high production value to provide a true TV-like alternative for those tired of watching yet another Zoom call posted to YouTube.

With Astro, Lengstorf had the tools to build an entire media platform that handled content and performance needs and “just worked,” keeping his primary focus on creating original programming.

Four TV screens featuring CodeTV shows: Web Dev Challenge, Leet Heat, Learn With Jason, and Unspoken Tech.
CodeTV’s offerings include multiple types of shows.

Challenges

When Jason Lengstorf found success with his web series “Learn with Jason,” he realized that he wanted to produce more, and varied, video content. He dreamed of expanding his educational content to include scripted shows with characters you invest in, and game shows where devs face off head-to-head.

But to move in this new direction, he needed a new kind of website. Lengstorf realized, “I’m making TV. What does TV look like?” He noticed that established media streaming platforms such as Netflix, Hulu, and Nebula all followed a consistent architecture with specific features: intuitive navigation through several series, tracking watched content, notifications for new content, as well as self-serve subscriber controls for payments and account info.

CodeTV needed to do a lot, and do it reliably, so that time was spent creating content and not troubleshooting its delivery platform.

Requirements

To be a full-fledged media platform, CodeTV needed a solution that was easy to integrate with a variety of services: a content management system (CMS), Mux video streaming, authentication, e-commerce, digital asset management, site search, as well as complex workflow automation connecting everything together.

With all of that going on, there was no room for bloat. CodeTV needed to be lightweight and performant. And, the code needed to be easy to organize and maintain. Astro’s “opt in to complexity” model was exactly what was needed.

If I want to add some client interactivity or if I want to add a server island, that’s all on the table. And it’s opt-in per component. That felt really good.

— Jason Lengstorf, CodeTV

CodeTV chose Mux to provide adaptive bit-rate streaming of subscriber-only video content. Astro’s native support for web components made integrating Mux’s lightweight video player a breeze. Next up would be integrating everything else needed for a full, subscription-based, video-on-demand streaming service provider.

Solution and implementation

Astro’s rendering strategies were key in keeping viewers tuned in. Even though CodeTV serves its users a dynamic and personalized experience, Astro’s static-by-default philosophy made it easy to prerender static HTML for almost every page, improving load times and reducing costs. Astro’s server islands allowed CodeTV to defer the loading of personalized dynamic content without blocking the rendering of content common to all users.

Rendering fast, performant pages and streaming video on demand was no problem with Astro. Even with complex content hierarchies including multiple shows, seasons, hosts, guests, and more, navigating CodeTV feels as quick as changing the channel.

Astro’s extensibility meant that adding the necessary integrations to CodeTV to build out the streaming platform went smoothly: Mux for streaming video, Clerk for authentication, Stripe for payment processing, Sanity for content management, Inngest for background tasks, and deployed to Netlify. Everything integrated well by enhancing prerendered pages with server islands. Subscription payments, a user dashboard, custom subscriber content… whatever they threw at Astro, it “just worked,” says Lengstorf.

I just keep adding more stuff to it, each time thinking, “Maybe this is the thing that will stop me.” But so far, I haven’t found the limits yet. And, I’m starting to doubt that they even exist.

— Jason Lengstorf, CodeTV

Astro’s flexible support for UI frameworks sped up migration time by enabling the reuse of existing React components in the new site. There was no need to rebuild a site search solution, because Astro was fully compatible with the React code from the original Learn With Jason site.

Results

Now, most of Lengstorf’s time is spent working on content, his original goal, because maintaining the CodeTV website can be almost an afterthought. But when it’s time to add new features, it is easy to jump back into Astro code. Astro’s mental model and code organization make sense, and there are no struggles optimizing API calls or database latency. Astro’s prerendering was the solution almost every time they wanted to improve performance.

The result is a content-heavy site that feels dynamic and responsive to viewers, scoring excellently across desktop and mobile devices in the Core Web Vitals metrics.

Real World Core Web Vitals (p75): 1.5s LCP, 45ms INP, 0.0 CLS.
Real-world Core Web Vital metrics collected from the CrUX Report. CodeTV has good performance on desktop and mobile in the key metrics: Largest Contentful Paint, Interaction to Next Paint, and Cumulative Layout Shift.

The original plan had been “make it work, then make it fast.” But with Astro it was fast right away, because as Lengstorf noted, “That’s just the nature of how you build on Astro.” As a complex, content-heavy, media streaming platform with several integrations and automated workflows, CodeTV proved that Astro’s limits might not exist.

I was like, “Let’s see how far we can push this thing before it breaks.” And I just never found the breaking point.

— Jason Lengstorf, CodeTV