Skip to content

feat(setup): add media tools (FFmpeg, yt-dlp, Deno) and video-class preset - #3

Merged
seungwonme merged 2 commits into
mainfrom
feat/media-tools
Nov 15, 2026
Merged

seungwonme merged 2 commits into
mainfrom
feat/media-tools

Conversation

@seungwonme

@seungwonme seungwonme commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Media group: FFmpeg, Deno, yt-dlp (yt-dlp depends on Deno). Windows via winget --scope user (Gyan.FFmpeg.Essentials, DenoLand.Deno, yt-dlp.yt-dlp with --skip-dependencies); macOS via Homebrew.
  • Windows output only includes helper functions the selected tools call (no unused irm | iex installers).
  • video-class preset: ChatGPT desktop app + FFmpeg + yt-dlp + Deno (no WSL2/Git/Node).
  • Project folder item (Windows + macOS): zip URL + folder name + optional SHA-256. HTTPS only (redirects must stay HTTPS), SHA-256 verified when given, zip extracted with a per-entry path check (no zip-slip), extracts to Documents/<name>; an existing folder is never overwritten (<name>-YYYYMMDD, or skip with a message). No downloaded file is executed. Folder names: letters, digits, ., _, -.
  • Verify final step whenever a media tool is selected: per-tool Korean summary (installed + version / failed + what to do), ffmpeg -filters must contain drawtext, and "ChatGPT 앱을 완전히 종료한 뒤 다시 열어 주세요" at the end. The .bat stays ASCII-only: Korean is emitted as \uXXXX escapes decoded by PowerShell (KR), so re-saving or mailing the file cannot corrupt it. macOS .command uses plain UTF-8 Korean.
  • UI: preset buttons (기본 개발 환경 / AI 에이전트 개발 / 영상 수업), project fields, URL ?preset=...&project=<zip>&name=<folder>[&sha256=]; the copy-link button emits the short preset form when the selection matches a preset.
  • Item codex-app keeps its id. Windows label: "ChatGPT desktop app (includes Codex)" / "ChatGPT 데스크톱 앱 (Codex 포함)" (Store 9PLM9XGG6VKS is the ChatGPT app). macOS UI keeps "Codex App" because the macOS download is the Codex app.

Notes

  • Windows uses [Environment]::GetFolderPath('MyDocuments') (falls back to %USERPROFILE%\Documents), so OneDrive-redirected Documents works.
  • Not verified on real Windows (PowerShell functions were exercised on PowerShell 7 / macOS with a stubbed download; winget calls, Store install, console rendering of Korean were not run).
  • Do not merge without approval: merge deploys the public site.

Verification

pnpm test, pnpm build, pnpm test:e2e (10 tests) pass.

@seungwonme
seungwonme merged commit fe439de into main Nov 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant