Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

The New Syntax Site × Ingest, Stack, AI and more

In this episode of Syntax, Wes and Scott talk through the work in progress on the new Syntax website, how to tackle all the moving parts, what stack they picked, AI, and more. Show Notes 00:10 Welcome 00:56 Leaky roofs 02:18 How we divided the workload for the new Syntax site Issues of Syntax v2 V2

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: The episode is a behind-the-scenes walkthrough of rebuilding the Syntax website, covering the chosen stack, open-source/project-management approach, auth via GitHub OAuth, transcript generation, AI-assisted show notes, a theming engine, markdown-based ingest, and embeddings for semantic search and recommendations. Wes and Scott emphasize automation, maintainability, and keeping markdown as the source of truth while experimenting with AI and database design.

Main Topics: Site architecture and stack choices: They explain why the new Syntax site is built with SvelteKit, Prisma, MySQL on PlanetScale, PostCSS, and SSR, prioritizing portability, typed workflows, and serverless compatibility. Working in public and project management: The site is open source and being built publicly, with GitHub issues, milestones, Discord updates, and a discussion of how much community feedback is useful during active development. GitHub OAuth authentication: Wes details a lightweight OAuth flow built without a heavyweight auth library, using a session token, GitHub redirect/callback, access token exchange, and secure HTTP-only cookies. Transcript generation and speaker detection: They describe the search for a reliable transcription API, settling on Deepgram for cost, speed, and developer experience, then solving speaker identification by appending custom audio markers for Scott and Wes. AI-powered show notes and content condensation: They discuss using OpenAI to condense transcript chunks without losing timestamps, then generate structured show notes, categories, tweet drafts, and links from the transcript output in JSON/YAML. Theme engine and no-flash theming: Scott explains a database-backed theming system that avoids flash of unthemed content by rendering the theme server-side, while enabling community-submitted CSS themes via PRs. Markdown ingest and embeddings: The ingest pipeline treats markdown files as the source of truth, hashes content to detect changes, syncs guests/shows into the database, and sets up embeddings for semantic search and recommendations.

Key Arguments: Markdown should remain the single source of truth so the database can be regenerated or 'self-healed' at any time without breaking the site. A lightweight custom OAuth flow is preferable to heavyweight auth packages when the required use case is simple GitHub login. Prisma plus MySQL/PlanetScale provides typed schema validation and workable migrations without sacrificing portability. Deepgram won out over other transcription providers because it was inexpensive, fast to onboard, and had an excellent TypeScript-friendly SDK. Speaker identification is essential for podcasts, so a transcript service must support diarization and reliable host/guest differentiation. AI should be used to condense and structure transcript data, not hallucinate missing content; prompts must explicitly forbid fabrication. Themes should be server-rendered to avoid flash of unthemed content, and a CSS-based theme system allows community creativity beyond simple variable overrides. Embeddings will unlock semantic search, episode recommendations, and question-answer experiences based on the actual meaning of podcast content.

Data Points: Deepgram transcription cost: 0.4 cents per minute - Wes cites Deepgram as extremely cheap for podcast transcription, making an hour-long episode cost only pennies. Deepgram onboarding time: About 3 minutes - He says he was able to sign up and get a demo/transcription working in roughly three minutes. OpenAI token limit discussed: 8,000 tokens - Used as the working context limit for generating AI show notes from transcript chunks. Earlier GPT-3.5 limit discussed: 3,000-4,000 tokens - Referenced when describing an earlier attempt that performed poorly because the context window was too small. Episode transcript size: ~16,000 tokens for an hour-long show - Used to explain why transcript chunking/condensing was necessary before sending to OpenAI. Condensing target: 40%-60% smaller (sometimes 72%) - The transcript chunks are reduced before being passed into show-notes generation to preserve enough room for output. Transcript generation credits: $200 - Deepgram’s signup credit was enough to process the Syntax archive during experimentation. Theming wrapper viewport coverage: Minimum width of 100vh - Scott describes wrapping the whole app in a theme container to support server-rendered themes and full-page backgrounds. Transcript speaker labels: Scott, Wes, guest, growler - They describe custom labeling logic to distinguish the two hosts, the intro voice, and guests. Production timing issue: ~4 minutes - Wes notes some OpenAI processing jobs take four minutes, which affects hosting/serverless decisions.

Pivotal Quotes: "building an aspect of this site has like really opened my eyes to using light mode for things" — Scott: Scott describes how working on the theme engine led him to revisit light mode and system-based theme switching. "I want to be able to automate this thing start to finish, right? I don't want to have to like tell somebody, all right, copy-paste this, export." — Wes: Wes explains why he prefers fully automated transcript and show-note workflows over manual human steps. "The premise is that it will just rebuild itself." — Scott: Scott emphasizes that markdown files are the source of truth and the database can be wiped and regenerated safely.

Implications: The new Syntax site is being built as an automation-heavy, open, and extensible platform. Listeners can expect better search, richer episode metadata, community themes, and more robust AI-assisted discovery as the archive becomes machine-readable and self-healing.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats