{"id":41759571,"url":"https://github.com/epicweb-dev/eprec","last_synced_at":"2026-01-29T19:02:47.271Z","repository":{"id":334186344,"uuid":"1140403264","full_name":"epicweb-dev/eprec","owner":"epicweb-dev","description":"Tools for processing Epic Web course recordings","archived":false,"fork":false,"pushed_at":"2026-01-28T18:42:02.000Z","size":1078,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T07:19:10.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epicweb-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-23T08:25:39.000Z","updated_at":"2026-01-28T18:41:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/epicweb-dev/eprec","commit_stats":null,"previous_names":["epicweb-dev/epic-recording","epicweb-dev/eprec"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/epicweb-dev/eprec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicweb-dev%2Feprec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicweb-dev%2Feprec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicweb-dev%2Feprec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicweb-dev%2Feprec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicweb-dev","download_url":"https://codeload.github.com/epicweb-dev/eprec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicweb-dev%2Feprec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-25T02:07:05.538Z","updated_at":"2026-01-29T19:02:47.265Z","avatar_url":"https://github.com/epicweb-dev.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eeprec\u003c/h1\u003e\n\n\u003cp\u003eTools for processing Epic Web course recordings\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n\u003c!-- prettier-ignore-start --\u003e\n[![Build Status][build-badge]][build]\n[![version][version-badge]][package]\n[![downloads][downloads-badge]][npmtrends]\n[![MIT License][license-badge]][license]\n\u003c!-- prettier-ignore-end --\u003e\n\n## Overview\n\nA Bun-based CLI that processes recorded course videos by splitting chapter\nmarkers into separate files, trimming silence at the start/end, and optionally\nremoving spoken \"Jarvis\" command windows via transcript timestamps refined with\naudio-based silence detection.\n\n## Requirements\n\n- **Bun** - runtime and package manager\n- **ffmpeg + ffprobe** - must be available on PATH\n- **whisper-cli** _(optional)_ - from\n  [whisper.cpp](https://github.com/ggerganov/whisper.cpp), required for\n  transcription\n  - Pass `--whisper-binary-path` if not on PATH\n  - Model file auto-downloads to `.cache/whispercpp/ggml-small.en.bin`\n- **Silero VAD model** - auto-downloads to `.cache/silero-vad.onnx` on first use\n\n## Installation\n\n```bash\nbun install\n```\n\n## Quick Start\n\n```bash\nbun src/process-course-video.ts \"/path/to/input.mp4\" \"/path/to/output\" \\\n  --enable-transcription \\\n  --keep-intermediates \\\n  --write-logs\n```\n\n## Web UI (experimental)\n\nStart the Remix-powered UI shell (watch mode enabled):\n\n```bash\nbun run app:start\n```\n\nTo preload a local video path for the UI:\n\n```bash\nbun run app:start -- --video-path \"/path/to/video.mp4\"\n```\n\nThen open `http://localhost:3000`. Use `-- --port`, `-- --host`, or\n`-- --video-path` to override the defaults.\n\n## CLI Options\n\n| Option                   | Alias | Description                             | Default     |\n| ------------------------ | ----- | --------------------------------------- | ----------- |\n| `input`                  |       | Input video file (mp4/mkv)              | _required_  |\n| `outputDir`              |       | Output directory                        | `output`    |\n| `--min-chapter-seconds`  | `-m`  | Skip chapters shorter than this         | `15`        |\n| `--dry-run`              | `-d`  | Don't write files or run ffmpeg         | `false`     |\n| `--keep-intermediates`   | `-k`  | Keep `.tmp` files for debugging         | `false`     |\n| `--write-logs`           | `-l`  | Write log files for skips/fallbacks     | `false`     |\n| `--enable-transcription` |       | Run whisper.cpp for command detection   | `false`     |\n| `--whisper-model-path`   |       | Path to whisper.cpp model file          | auto-cached |\n| `--whisper-language`     |       | Language for whisper                    | `en`        |\n| `--whisper-binary-path`  |       | Path to `whisper-cli` binary            | system PATH |\n| `--chapter`              | `-c`  | Filter to specific chapters (see below) | all         |\n\n## Chapter Selection\n\nThe `--chapter` flag supports flexible selection:\n\n- Single: `--chapter 4`\n- Range: `--chapter 4-6`\n- Open range: `--chapter 4-*` (chapter 4 to end)\n- Multiple: `--chapter 4,6,9-12`\n\nChapter numbers are 1-based by default.\n\n## Output Structure\n\nFinal files are written to the output directory with names like:\n\n```\nchapter-01-intro.mp4\nchapter-02-getting-started.mp4\nchapter-03-custom-title.mp4\n```\n\nWhen `--keep-intermediates` is enabled, intermediate files go to `output/.tmp/`:\n\n| File Pattern          | Description                                      |\n| --------------------- | ------------------------------------------------ |\n| `*-raw.mp4`           | Raw chapter clip with initial padding removed    |\n| `*-normalized.mp4`    | Audio normalized (highpass + denoise + loudnorm) |\n| `*-transcribe.wav`    | Audio extracted for whisper                      |\n| `*-transcribe.json`   | Whisper JSON output                              |\n| `*-transcribe.txt`    | Whisper text output                              |\n| `*-splice-*.mp4`      | Segments before/after command windows            |\n| `*-spliced.mp4`       | Concatenated output after command removal        |\n| `*.log`               | Per-chapter skip/fallback logs                   |\n| `process-summary.log` | Overall processing summary                       |\n\n## Voice Commands\n\nCommands are spoken in the format: `jarvis \u003ccommand\u003e ... thanks`\n\n| Command                                 | Effect                  |\n| --------------------------------------- | ----------------------- |\n| `jarvis bad take thanks`                | Skip the entire chapter |\n| `jarvis filename my-custom-name thanks` | Rename output file      |\n\nThe command window (from \"jarvis\" to \"thanks\") is removed from the final video.\n\n## More Details\n\nImplementation notes and pipeline details live in `docs/README.md`.\n\nThis project was created using `bun init` in bun v1.3.1. [Bun](https://bun.com)\nis a fast all-in-one JavaScript runtime.\n\n\u003c!-- prettier-ignore-start --\u003e\n[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/eprec/validate.yml?branch=main\u0026logo=github\u0026style=flat-square\n[build]: https://github.com/epicweb-dev/eprec/actions?query=workflow%3Avalidate\n[version-badge]: https://img.shields.io/npm/v/eprec.svg?style=flat-square\n[package]: https://www.npmjs.com/package/eprec\n[downloads-badge]: https://img.shields.io/npm/dm/eprec.svg?style=flat-square\n[npmtrends]: https://www.npmtrends.com/eprec\n[license-badge]: https://img.shields.io/npm/l/eprec.svg?style=flat-square\n[license]: https://github.com/epicweb-dev/eprec/blob/main/LICENSE\n\u003c!-- prettier-ignore-end --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicweb-dev%2Feprec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicweb-dev%2Feprec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicweb-dev%2Feprec/lists"}