Add the Transcript podcast template (`podcast-transcript`)

Aberta
#399 2 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@08abhinav já está trabalhando nisso.

Desde 7/11/2026.

  • #400 de @08abhinav — aberto

Avaliação

Esta issue ainda não foi avaliada.

Descrição

good first issue templates

Part of #5. For posts that share a short exchange from an episode, written out the way a transcript reads.

Idea
The show name at the top ("The Build Log"), the episode title below it ("Why we went back to a monolith"), then up to three transcript lines. Each line is its own row: a timestamp on the left in JetBrains Mono ("12:04"), the speaker's name in the accent color ("Maya"), and what they said ("We had more services than engineers."). The other two defaults are "12:09", "Leo", "So you merged them back?" and "12:11", "Maya", "One repo, one deploy. Nobody misses the old setup."

Template details

  • File: src/templates/podcast/transcript.ts, id podcast-transcript
  • Fields: commonFields.title, showName (text, optional, default "The Build Log"), time1 to time3 (text, optional, defaults above), speaker1 to speaker3 (text, optional, defaults above), line1 to line3 (text, optional, defaults above), commonFields.bgColor, commonFields.accentColor, commonFields.textColor

Where to look

  • Closest reference: src/templates/podcast/top-episodes.ts (rows with a fixed-width side column, blank items skipped after .trim(), muted colors that work on a light background), src/templates/podcast/audiogram.ts (a quote from the episode with its speaker)

Acceptance criteria

  • A line whose text is blank (or only spaces) is skipped with no gap, even if its time or speaker is filled; with all three blank the transcript area hides cleanly
  • A blank time or speaker only hides that part of the row, and the spoken text starts at the same x on every row so the lines stay aligned
  • A long title shrinks with autoFontSize() and then truncates, a long speaker name truncates inside its column, and a long line wraps to at most two lines and then truncates
  • The accent speaker names and muted timestamps stay readable on a light background
  • Re-exported in src/templates/podcast/index.ts and registered at the end of the podcast block in src/templates/registry.ts
  • Meets the shared template checklist in #5

One template per contributor at a time, so more people get a chance.


Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #NUM in the description.

Linguagem predominante
TypeScript
Estrelas
8
Forks
4
Merge médio
8h 41min
PRs com merge (30d)
157

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de codercops/ogcops

Todas as issues de codercops/ogcops

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.