{"id":20312748,"url":"https://github.com/wwbn/avideo-storage","last_synced_at":"2025-10-12T21:07:21.624Z","repository":{"id":51714132,"uuid":"197576181","full_name":"WWBN/AVideo-Storage","owner":"WWBN","description":"Storage Server for AVideo Platform Open-Source","archived":false,"fork":false,"pushed_at":"2024-11-20T13:25:38.000Z","size":5806,"stargazers_count":27,"open_issues_count":15,"forks_count":38,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-03T01:11:20.634Z","etag":null,"topics":["aavideo-storage-server","avideo-storage","media-storage","storage","storage-container","storage-engine","storage-server","video-storage"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/WWBN.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}},"created_at":"2019-07-18T11:43:21.000Z","updated_at":"2024-12-04T16:49:53.000Z","dependencies_parsed_at":"2025-02-25T08:21:44.802Z","dependency_job_id":null,"html_url":"https://github.com/WWBN/AVideo-Storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWBN%2FAVideo-Storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWBN%2FAVideo-Storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWBN%2FAVideo-Storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWBN%2FAVideo-Storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WWBN","download_url":"https://codeload.github.com/WWBN/AVideo-Storage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161266,"owners_count":21057554,"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","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":["aavideo-storage-server","avideo-storage","media-storage","storage","storage-container","storage-engine","storage-server","video-storage"],"created_at":"2024-11-14T18:07:24.694Z","updated_at":"2025-10-12T21:07:16.576Z","avatar_url":"https://github.com/WWBN.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://avideo.tube/website/assets/151/images/avideo_storage.png\"/\u003e\n\n# AVideo-Storage\n\n## AVideo Simple Storage is a Storage Service for the AVideo Platform Instances. \n\n### It is designed to make web-scaleble storage. \n\nie with this service you will have unlimited storage capacity and low cost.\n\nFor example when one of your storage is full, just plug in one more storage and your videos will continue to be saved to the new storage.\n\nThis service is designed to replace our current S3, BackBlaze B2 and FTP plugins, but with much more integration with our services, \nbesides you will have no restriction on the amount of storages used.\n\nYou can install as many storage nodes as you want, without any geographical restrictions.\n\n## Benefits\n* Storage scales as needed\n* Minimal start up investment and cost\n* Uses the bandwidth of the storage\n* Facilitates your server load balancing on the amount of the used bandwidth \n* Can speed up delivery based on location of each video\n\nPlease check this scenario to try to make the propose of this project clear: \n\n\u003ca href=\"https://github.com/WWBN/AVideo-Storage/wiki/AVideo-Platform-Storage-Scenario-Description\"\u003ehttps://github.com/WWBN/AVideo-Storage/wiki/AVideo-Platform-Storage-Scenario-Description\u003c/a\u003e\n\n## Installation \n\nYou will need the folowing prerequisites.\n\nWe made a video [Installing YPTStorage and configuring the YPTStorage plugin](https://tutorials.avideo.com/video/86/installing-yptstorage-and-configuring-the-yptstorage-plugin)\n\n### What we use for that:\n1. PHP 7+\n1. Apache XSendFile\n1. YPTStorage Plugin\n1. AVideo 7.3+\n\n### What will you need\n1. Root Access to the server\n1. Admin user for AVideo\n\n### Copy and Paste\n\n#### Ubuntu 16.04\n    sudo apt-get update -y \u0026\u0026 sudo apt-get upgrade -y \u0026\u0026 sudo apt-get install nano curl apache2 php7.0 libapache2-mod-php7.0 php7.0-curl php7.0-gd php7.0-intl php-zip php-xml php-mbstring git -y \u0026\u0026 a2enmod headers \u0026\u0026 service apache2 restart \u0026\u0026 cd /var/www/html \u0026\u0026 git clone https://github.com/WWBN/AVideo-Storage.git \u0026\u0026 sudo a2enmod rewrite \u0026\u0026 sudo mkdir /var/www/html/AVideo-Storage/videos \u0026\u0026 sudo chown www-data:www-data /var/www/html/AVideo-Storage/videos\n    \n#### Ubuntu 18.04\n    sudo apt-get update -y \u0026\u0026 sudo apt-get upgrade -y \u0026\u0026 sudo apt-get install nano curl apache2 php7.2 libapache2-mod-php7.2 php7.2-curl php7.2-gd php7.2-intl php-xml php-mbstring git -y \u0026\u0026 a2enmod headers \u0026\u0026 service apache2 restart \u0026\u0026 cd /var/www/html \u0026\u0026 sudo git clone https://github.com/WWBN/AVideo-Storage.git \u0026\u0026 sudo a2enmod rewrite \u0026\u0026 sudo mkdir /var/www/html/AVideo-Storage/videos \u0026\u0026 sudo chown www-data:www-data /var/www/html/AVideo-Storage/videos\n       \n#### Ubuntu 20.04\n    sudo apt-get update -y \u0026\u0026 sudo apt-get upgrade -y \u0026\u0026 sudo apt-get install nano curl apache2 php7.4 libapache2-mod-php7.4 php7.4-curl php7.4-gd php7.4-intl php-xml php-mbstring git -y \u0026\u0026 a2enmod headers \u0026\u0026 service apache2 restart \u0026\u0026 cd /var/www/html \u0026\u0026 sudo git clone https://github.com/WWBN/AVideo-Storage.git \u0026\u0026 sudo a2enmod rewrite \u0026\u0026 sudo mkdir /var/www/html/AVideo-Storage/videos \u0026\u0026 sudo chown www-data:www-data /var/www/html/AVideo-Storage/videos\n\n### Install apache xsendfile\n\n    sudo apt-get install libapache2-mod-xsendfile \u0026\u0026 sudo a2enmod xsendfile\n\n### Configure your apache XSendFile\n\n    sudo nano /etc/apache2/apache2.conf\n\n    \u003cDirectory /var/www/html/AVideo-Storage/\u003e\n        Options Indexes FollowSymLinks\n        XSendFile on\n        XSendFilePath /var/www/html/AVideo-Storage/\n        AllowOverride All\n        Require all granted\n        Order Allow,Deny\n        Allow from All\n    \u003c/Directory\u003e\n\n### Enable YPTStorage Plugin\n\nMake sure you enable it before your installation, this is necessary because the Storage installation will check your plugin during the configuration assistant\n\nIf you do not have the plugin yet, get it [here](https://plugins.avideo.com/)\n\n### Access your storage server\n\nOn the first access you will be requested for your streamer address. the installation script will try to create your videos directory and your configuration.php file. If any of those fail you will need to create it manually.\n\nThe script will create a Storage site for you on your streamer site, but this site will be inactive, you will need to activate it (On the YPTStorage plugin) before proceed.\n\n## Demonstration\n\nWe currently have this feature enabled on the [demo](https://demo.avideo.com) site\n\nWe have the following storages:\n\n* https://storage1.avideo.com/\n* https://storage2.avideo.com/\n* https://storage3.avideo.com/\n\nYou can switch the storages from the videos on the videos manager. You will find a move storage button, when you click on it. It will popup a window with the options to move your video to the local storage or one of the 3 storages above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwbn%2Favideo-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwbn%2Favideo-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwbn%2Favideo-storage/lists"}