How 1c7/crash-course-computer-science-chinese works
This repository primarily publishes Chinese-English subtitles for a 40-episode Crash Course Computer Science series, in a combined file and as per-episode files. Readers use the subtitle archive as the product; the README describes a curriculum moving from computing foundations through programming and systems to networks, security, and AI. Separate Node.js utilities parse ASS subtitle files to produce plain text or episode summaries, using shared cleanup helpers. The README documents the archive and topics; the sampled scripts show the extraction calls. The screenshot script is peripheral to the published subtitle workflow.
Main entry points: (字幕)全40集中英字幕文本 Episode subtitles · 3. extract_ass_to_txt.js Text extractor · 2. extract_head.js Summary extractor · common.js Text cleanup helpers
Components 13
Course subtitles
- Combined subtitles
content/(字幕)全40集中英字幕文本.txt - Episode subtitles
content/(字幕)全40集中英字幕文本 - Computing foundations
content/(字幕)全40集中英字幕文本 - Programming and systems
content/(字幕)全40集中英字幕文本 - Interfaces and networks
content/(字幕)全40集中英字幕文本 - Security and AI
content/(字幕)全40集中英字幕文本
Subtitle extraction
- ASS subtitle files
- Text extractor
content/extract_from_ass_subtitle/3. extract_ass_to_txt.js - Summary extractor
content/extract_from_ass_subtitle/2. extract_head.js - Text cleanup helpers
content/extract_from_ass_subtitle/common.js - Plain text output
- Markdown summary
Other components
- Subtitle reader
Connections 12
- Subtitle reader → Combined subtitles: reads
README.md - Subtitle reader → Episode subtitles: reads
README.md - Episode subtitles → Computing foundations: covers episodes 1–9
README.md - Episode subtitles → Programming and systems: covers episodes 10–23
README.md - Episode subtitles → Interfaces and networks: covers episodes 24–30
README.md - Episode subtitles → Security and AI: covers episodes 31–40
README.md - ASS subtitle files → Text extractor: provides subtitles
content/extract_from_ass_subtitle/3. extract_ass_to_txt.js - ASS subtitle files → Summary extractor: provides subtitles
content/extract_from_ass_subtitle/2. extract_head.js - Text extractor → Text cleanup helpers: uses cleanup
content/extract_from_ass_subtitle/3. extract_ass_to_txt.js - Summary extractor → Text cleanup helpers: uses cleanup
content/extract_from_ass_subtitle/2. extract_head.js - Text extractor → Plain text output: writes text
content/extract_from_ass_subtitle/3. extract_ass_to_txt.js - Summary extractor → Markdown summary: writes summary
content/extract_from_ass_subtitle/2. extract_head.js