# Creating the Castmagic AI-Powered Content Workflow Platform with Justin Tormey Page: https://stenobird.com/podcast/elixir-wizards/creating-the-castmagic-ai-powered-content-workflow-platform-with-justin-tormey Text version: https://stenobird.com/podcast/elixir-wizards/creating-the-castmagic-ai-powered-content-workflow-platform-with-justin-tormey.md Podcast: [Elixir Wizards](https://stenobird.com/podcast/elixir-wizards) Published: 2024-11-28T11:30:00+00:00 Episode link: https://smartlogic.fireside.fm/s13-e07-castmagic-ai-content-creation-workflows Audio file: https://aphid.fireside.fm/d/1437767933/03a50f66-dc5e-4da4-ab6e-31895b6d4c9e/b5986064-a9f7-40f9-9931-10db7af17e14.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/elixir-wizards/episodes/creating-the-castmagic-ai-powered-content-workflow-platform-with-justin-tormey Duration seconds: 2140 ## Resource Learn how Castmagic uses Elixir and Phoenix LiveView as a coordination layer to orchestrate complex AI workflows. The discussion covers integrating JavaScript rich-text editors with LiveSvelte and managing real-time collaboration using CRDTs. ## Highlights - Main idea: Elixir serves as a robust coordination layer for managing asynchronous AI processes and transcription services - Technical takeaway: Use LiveSvelte to bridge the gap between Phoenix LiveView and complex JavaScript libraries like ProseMirror and TipTap - Practical takeaway: Real-time collaborative editing can be achieved by integrating CRDTs and YDoc into the Elixir ecosystem - Failure mode: Avoid focusing solely on engineering excellence; even the best code fails without an established distribution channel - Entrepreneurial lesson: Bootstrapping success often relies on finding captive audiences and leveraging affiliate programs or marketplaces ## Topics Elixir, Phoenix LiveView, AI Workflows, LiveSvelte, CRDTs, LLM Integration, Software Entrepreneurship, Content Automation ## Chapters - 1:00 — Introduction to Justin Tormey: Justin shares his journey from Erlang to Elixir and his experience building fintech and blockchain applications. - 3:45 — The Origin of Castmagic: How the emergence of GPT-3 provided the opportunity to build an AI-powered content repurposing platform. - 6:30 — Frontend Architecture with LiveSvelte: Deep dive into using Phoenix LiveView for 90% of the UI while embedding JavaScript editors via LiveSvelte. - 9:15 — Real-time Collaboration and CRDTs: Implementing collaborative editing features using Conflict-free Replicated Data Types (CRDTs) and YDoc. - 14:40 — The AI Workflow Layer: How Castmagic adds value at the product layer by orchestrating off-the-shelf LLMs into a cohesive user experience. - 22:15 — Engineering vs. Distribution: The importance of building for existing distribution channels and the challenges of integrating with third-party social platforms. - 32:50 — Growth and Marketing Strategies: Exploring effective growth levers like affiliate programs, software marketplaces, and influencer marketing. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/elixir-wizards/episodes/creating-the-castmagic-ai-powered-content-workflow-platform-with-justin-tormey/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/elixir-wizards/creating-the-castmagic-ai-powered-content-workflow-platform-with-justin-tormey.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.