Skip to content
/ music Public

online music folder player without server side script

Notifications You must be signed in to change notification settings

soruly/music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 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