Download a transcript with timestamps as a subtitle file

Aperta
#33 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
76/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
html, javascript
Ambito
frontend

Direzione di ricerca

Read AGENTS.md and docs/developer-guide.md, then inspect mountTranscribeSkill in index.html and follow the existing download button pattern. Use lastTranscript.segments to build a WebVTT download, handling missing or invalid times clearly; document the new download in the Field Kit guide. Check the stated made-up transcript cases and confirm the existing text download still works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue help wanted

Effort: Low
Priority: Low

What happens now

The transcription tool keeps small sections of recognized speech with their start and end times. It displays those times on the page, but only offers a plain-text download.

A timestamped download would help people review the transcript alongside a recording.

Suggested change

Add a "Download subtitles (.vtt)" button using WebVTT, a text format for timed subtitles. Start with this one format to keep the task small.

Build the file from the transcript sections already available. Do not run transcription again, add a model, or send the recording anywhere.

Keep the existing text download. If a section has missing or unusable times, handle it clearly instead of writing invalid timestamps or guessing a time.

Where to start

See mountTranscribeSkill in index.html. The lastTranscript.segments list contains the text, start time, and end time for each section. See its existing download button for the filename and download pattern.

Use a separate time-formatting helper for subtitle files, because the on-screen time display uses a different format.

How to check the change

  • A small made-up transcript produces a valid WebVTT file.
  • Test times across minute and hour boundaries, including fractions of a second.
  • Quotes, line breaks, and non-English characters remain readable.
  • Missing or invalid times do not produce a broken download.
  • The original text download still works.
  • Document the new download in the Field Kit guide.

Before changing code, read AGENTS.md and the developer guide. Use made-up data for all examples and tests.

Contributions welcome!

Lingua principale
HTML
Stelle
1
Fork
0
Merge medio
2h 34m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DepressionCenter/FieldStationAI

Tutte le issue di DepressionCenter/FieldStationAI

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.