{"id":51836264,"url":"https://github.com/fildon/home-stream","last_synced_at":"2026-07-22T22:03:51.842Z","repository":{"id":365923814,"uuid":"1274360705","full_name":"fildon/home-stream","owner":"fildon","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-30T11:29:40.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T13:19:18.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fildon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":null,"dco":null,"cla":null}},"created_at":"2026-06-19T12:38:32.000Z","updated_at":"2026-06-30T11:29:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fildon/home-stream","commit_stats":null,"previous_names":["fildon/home-stream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fildon/home-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fildon%2Fhome-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fildon%2Fhome-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fildon%2Fhome-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fildon%2Fhome-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fildon","download_url":"https://codeload.github.com/fildon/home-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fildon%2Fhome-stream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35778989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07-22T22:03:51.084Z","updated_at":"2026-07-22T22:03:51.838Z","avatar_url":"https://github.com/fildon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# home-stream\n\nA local-network media streaming server. Point it at a folder of videos and open the URL on any device on your network to browse and play them in the browser.\n\n## Features\n\n- Poster grid with artwork fetched from TMDB (optional)\n- Breadcrumb navigation into subdirectories\n- Native browser video player with subtitle support (VTT)\n- Single-file folders auto-play without an extra click\n- Path-traversal protection on all file routes\n\n## Requirements\n\n- Node.js 22+\n- (Optional) ffmpeg + ffprobe — only needed for the transcode script\n\n## Setup\n\n```bash\nnpm install\n```\n\nCreate a `.env` file:\n\n```\nLIBRARY_PATH=/path/to/your/media\nTMDB_API_KEY=your_tmdb_api_key   # optional — enables poster art\nPORT=8080                         # optional — defaults to 8080\n```\n\n## Usage\n\n```bash\nnpm run dev     # start server (no build step)\nnpm start       # build client bundle then start server\n```\n\nOpen the **Network** URL printed in the terminal on any device on the same network.\n\n## Library structure\n\nThe server serves `.mp4` and `.webm` files. Suggested layout:\n\n```\nmedia/\n  Movies/\n    The Matrix (1999)/\n      The.Matrix.1999.mp4\n      The.Matrix.1999.en.vtt   # subtitles (WebVTT)\n  TV Shows/\n    Breaking Bad/\n      Season 1/\n        S01E01.mp4\n```\n\nTop-level folder names containing `movie`/`film` are treated as movies for TMDB lookups; names containing `tv`/`show`/`series`/`anime` are treated as TV shows.\n\n## Transcode script\n\nConverts your library to browser-compatible H.264/AAC MP4 in-place, and extracts or converts embedded/external subtitles to WebVTT.\n\n```bash\nnpm run transcode -- /path/to/library\n```\n\nRequires `ffmpeg` and `ffprobe` (`brew install ffmpeg` on macOS). Files that are already H.264 + AAC in an MP4 container are skipped; others are remuxed or re-encoded as needed.\n\n## Scripts\n\n| Command | Description |\n|---|---|\n| `npm run dev` | Start the server with `tsx` |\n| `npm start` | Build the client bundle then start the server |\n| `npm run build` | Build `src/app.ts` → `public/app.js` only |\n| `npm run transcode -- \u003cpath\u003e` | Transcode a library directory to web-compatible MP4 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffildon%2Fhome-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffildon%2Fhome-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffildon%2Fhome-stream/lists"}