Skip to content

Modalbum includes everything you need to lunch a Live Streaming, Video Streaming and Image Sharing platform. Its based on laravel 10 PHP framework.

License

Notifications You must be signed in to change notification settings

davymaish/modalbum

Repository files navigation

Modalbum

Modalbum includes everything you need to lunch a Video Streaming, Live Streaming and Image Sharing platform. Its based on laravel 10 PHP framework.

Home Page Screenshot Application landing page.

Campaigns Screenshot Video Streaming.

Features:

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

Installation

Server Requirements

Instructions

  • 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

Configuration

Image Storage Location

There are 3 locations you can configure using APP_STORAGE option in the .env file

  • APP_STORAGE=local : store image only in your local storage
  • APP_STORAGE=localcloud : store image in the cloud and keep a local cache
  • APP_STORAGE=cloud : store image only in the cloud

Setup Admin Account

php artisan tinker
DB::table('users')->where('id', 2)->update(['email'=>'[email protected]']);

Click on forgot password link on the login page and reset password for your admin user.

Setup Cron Job

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

Setup Supervisor

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

Setup Google ReCaptcha

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=''
...

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to me via [email protected]. All security vulnerabilities will be promptly addressed.

License

This project is licensed under the MIT License.

Contact

For any inquiries or feedback, feel free to contact me via:

About

Modalbum includes everything you need to lunch a Live Streaming, Video Streaming and Image Sharing platform. Its based on laravel 10 PHP framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published