Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from soruly/music

online music folder player without server side script

han911976/music

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 

Repository files navigation

A super simple web music library with just nginx and one index.html file. No server side script, no javascript dependencies.

System Requirements

  • Nginx >= 1.7.9

Installation

Put index.html in /var/www/music, and configure Nginx like this

server {
        listen 443 ssl http2;
        server_name music.your.domain;

        location / {
            root /var/www/music;
            try_files $uri /index.html;
        }

        location /api {
            autoindex on;
            autoindex_format json;
            alias "/mnt/data/music";
        }

        location /file {
            alias "/mnt/data/music";
        }
}

Music Folder Structure

Your must convert all your music files to browser playable format.
Each album should be stored in one folder.
The album cover should be named cover.jpg and put in the same folder.

About

online music folder player without server side script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%