{"id":23804107,"url":"https://github.com/francoism90/hub","last_synced_at":"2025-10-09T17:35:30.797Z","repository":{"id":189535427,"uuid":"680826066","full_name":"francoism90/hub","owner":"francoism90","description":"A video on demand (VOD) media distribution system","archived":false,"fork":false,"pushed_at":"2025-10-09T00:11:47.000Z","size":4619,"stargazers_count":6,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-09T17:35:30.043Z","etag":null,"topics":["caddy","dash","hls","laravel","netflix","nginx","nginx-vod-module","podman","podman-quadlet","streaming","video","video-streaming","vod"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/francoism90.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":null,"dco":null,"cla":null}},"created_at":"2023-08-20T14:30:30.000Z","updated_at":"2025-08-31T19:06:03.000Z","dependencies_parsed_at":"2024-03-16T14:36:26.511Z","dependency_job_id":"c2455588-8fe7-49ed-b3db-eee3c889bd91","html_url":"https://github.com/francoism90/hub","commit_stats":null,"previous_names":["francoism90/hub-api"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/francoism90/hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoism90%2Fhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoism90%2Fhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoism90%2Fhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoism90%2Fhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francoism90","download_url":"https://codeload.github.com/francoism90/hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoism90%2Fhub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001869,"owners_count":26083197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["caddy","dash","hls","laravel","netflix","nginx","nginx-vod-module","podman","podman-quadlet","streaming","video","video-streaming","vod"],"created_at":"2025-01-01T22:39:00.436Z","updated_at":"2025-10-09T17:35:30.790Z","avatar_url":"https://github.com/francoism90.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hub\n\n\u003e **NOTICE**: My focus is currently on [stry](https://github.com/francoism90/stry). This project will likely no longer receive updates.\n\n## Introduction\n\nHub is a video on demand (VOD) media distribution system that allows users to access to videos, television shows and films.\n\n## Details\n\nHub uses the following stack:\n\n- [nginx-vod-module](https://github.com/diogoazevedos/nginx-vod-module)\n- [Laravel 12.x](https://laravel.com/)\n- [Livewire 3.x](https://livewire.laravel.com/)\n- [PostgreSQL 17.x](https://www.postgresql.org/)\n- [Podman 5.x](https://podman.io/)\n- [Meilisearch 1.x](https://www.meilisearch.com/)\n\nThis is the preferred stack, please submit a PR if you would like to support other solutions.\n\n## Prerequisites\n\n- Any modern hardware (AArch64 is untested).\n- Linux (Debian, Ubuntu, SUSE, CentOS, Arch, ..). - WSLv2 is untested.\n- [Podman 5.3 or higher](https://podman.io/) with Quadlet (systemd) and SELinux or AppArmor support.\n\n\u003e **NOTE:** Docker is unsupported, but should work with a `docker-compose.yml` file. PRs are welcome.\n\n## Installation\n\n### Clone repository\n\n1. Clone the repository, for example to `~/projects`:\n\n```bash\ncd ~/projects\ngit https://github.com/francoism90/hub.git\n```\n\n1. Configure Hub with your favorite editor:\n\n```bash\ncd ~/projects/hub\ncp .env.example .env\nvi .env\n```\n\n1. See [Podman guide](docs/podman.md) to configure Podman Quadlet.\n\n1. See [MinIO guide](docs/minio.md) to configure MinIO.\n\n## Usage\n\nThe Hub instance should be available at \u003chttps://hub.test\u003e, after running:\n\n```bash\nsystemctl --user start proxy hub\nsystemctl --user status hub\n```\n\n\u003e **NOTE**: Make sure MinIO is configured first.\n\nEnter the `systemd-hub` container, and execute the followings commands:\n\n```bash\n$ podman exec -it systemd-hub /bin/bash # or hub shell\ncomposer install\nphp artisan key:generate\nphp artisan storage:link\npnpm install \u0026\u0026 pnpm build\nphp artisan app:install\n```\n\nThe following services are only accessible when being a super-admin (see `database/seeders/UserSeeder.php` for example):\n\n- \u003chttps://hub.test/horizon\u003e - Laravel Horizon\n- \u003chttps://hub.test/telescope\u003e - Laravel Telescope (disabled by default)\n\nTo seed an example super-admin user:\n\n```bash\nphp artisan db:seed --class=UserSeeder:class\n```\n\n### Manage application\n\n\u003e **TIP**: Run `hub a` and `hub help` for all available commands.\n\nTo import videos:\n\n```bash\nchcon -Rv system_u:object_r:container_file_t:s0 /path/to/import/* # if running SELinux\nhub a videos:import\n```\n\nTo create a tag:\n\n```bash\nhub a tag:create\n```\n\nTo create an user:\n\n```bash\nhub a user:create\n```\n\nTo force the removal of deleted videos:\n\n\u003e **WARNING**: This will remove any soft-deleted videos!\n\n```bash\nhub a videos:clean\n```\n\nTo force (re-)indexing of all models:\n\n```bash\nhub a scout:sync\n```\n\n## Upgrading\n\nSee [UPGRADING.md](UPGRADING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoism90%2Fhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancoism90%2Fhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoism90%2Fhub/lists"}