Modalbum includes everything you need to lunch a Video Streaming, Live Streaming and Image Sharing platform. Its based on laravel 10 PHP framework.
Enjoy advanced application features which include but not limited to:
- Video transcoding and compression
- Video and Image embedding
- Advanced Live streams sharing
- Media albums
- Media expiry
- Auto deletion when expiry date reaches
- User authentication and authorization
- Email activation
- Static Urls
- Google ReCaptcha
- Webtorrent powered video-streaming
- PHP 5.6.4+ (7+ preferred)
- PHP Extensions: openssl, mcrypt, mbstring, phpredis and php-zip
- Database server: MySQL or MariaDB
- Redis Server
- Composer
- Node.js with npm
- FFMpeg
- mediainfo
- transmission
- Install some packages
sudo apt-get install ffmpeg mediainfo transmission-cli
- clone the repository:
git clone https://github.com/davymaish/modalbum.git
- create a database
- create configuration env file
.env
refer to.env.example
- install:
composer install --no-dev
- setup database tables:
php artisan migrate
There are 3 locations you can configure using APP_STORAGE option in the .env file
APP_STORAGE=local
: store image only in your local storageAPP_STORAGE=localcloud
: store image in the cloud and keep a local cacheAPP_STORAGE=cloud
: store image only in the cloud
php artisan tinker
DB::table('users')->where('id', 2)->update(['email'=>'myemail@example.com']);
Click on forgot password link on the login page and reset password for your admin user.
crontab -e -u www-data
* * * * * php /home/web/modalbum/artisan schedule:run >/dev/null 2>&1
*/5 * * * * php /home/web/modalbum/artisan auth:clear-resets >/dev/null 2>&1
nano /etc/supervisor/conf.d/modalbum.conf
[program:modalbum-queue]
process_name=%(program_name)s_%(process_num)02d
command=php /home/web/modalbum/artisan queue:work --sleep=3 --tries=3
autostart=true
autorestart=true
user=www-data
numprocs=2
Visit https://www.google.com/recaptcha/admin and register your site
Get Site key and Secret key, add them in your .env file
...
## Site Key
GOOGLE_RECAPTCHA_SITE=''
## Secret Key
GOOGLE_RECAPTCHA_SECRET=''
...
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
If you discover a security vulnerability within this project, please send an e-mail to me via davymaish6@gmail.com. All security vulnerabilities will be promptly addressed.
This project is licensed under the MIT License.
For any inquiries or feedback, feel free to contact me via:
- Website: davymaish.github.io
- Email: davymaish6@gmail.com