Vocamusic is an open-source web application (built in @Laravel) for streaming Vocaloid and Utaite Music. Some features can be detailed here:
- Using CDN From Fast.io to storage videos.
- The main host stream is Google Drive.
- Login/Register (Login With Oauth2/Facebook/Google)
- Sort by: Related, Top viewers and Alphabet.
- Pagination.
- Upload video vias Google Drive API.
- Top ranks uploaders.
This web application is accessible and completely open-source.
- By using upload method to server, we would process this temp file in server such as preview, id file, title,... and using Drive API to Upload.
- After all, we fetch to cdn by using Fast.io API and delete the temp file to reduce memory.
Coming Soon.
- Clone this git to Laravel project has just created.
git clone clone kobato-chan1912/vocaloid-streaming
- Using terminal and cd to your project.
- Install Composer Dependencies
composer install
- Create a copy of your .env file
cp .env.example .env
- Generate an app encryption key
php artisan key:generate
- Edit Appkey in .env file
APP_KEY={key has been generated}
- Open to MySQL Admin (PHPMyadmin, MySQL Workbench,...) and load the sql file.
SQL File (coming soon)
- Get the Drive Client ID, Client Secret and Refresh Token here
- Loading the database configuration and Google Drive API in .env file
// MYSQL Connection
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=8889
DB_DATABASE=vocaloid
DB_USERNAME=root
DB_PASSWORD=root
// Google Drive API Setting
GOOGLE_DRIVE_CLIENT_ID=XXX.apps.googleusercontent.com
GOOGLE_DRIVE_CLIENT_SECRET=XXX
GOOGLE_DRIVE_REFRESH_TOKEN=X
GOOGLE_DRIVE_FOLDER_ID=X
//If you upload to the main drive, set the folder id = null.
//If upload in a folder, set the id of that folder.
You can you this admin account to access /admin.
Format:
email
password
[email protected]
admin
Coming Soon.
Thank you for considering contributing to the VocaMusic! You can send your pull request everytime.
This app is based on Laravel framework - an open-sourced software licensed under the MIT license.