Fork me on GitHub

Glasir by ajbogh

Glasir is an open source PHP/HTML5 media player for a personal music collection of unlimited size. For use with Chrome, Firefox, and Android phones.

Visit the Github page for the source or to report issues.


Linux-based web server


Install mpg321 and oggenc

Step 1:

Copy '' to '' and configure the appropriate variables. Choose a database name that works for you, such as 'Glasir'.

Step 2:

Create a blank database with the name you chose, like 'Glasir' and assign appropriate permissions for the user account.

Step 3:

Run db.sql to create the database tables. Note, these tables may change as time goes on. See the next item for updates.

* For updates you may check out db_updates.sql (if it's available). This will record all changes that the database has gone through in order. It is based on the db_original.sql file and will include version numbers for all changes. Find the next highest version number to your system and run everything below the line to update your database.


User not logged in.

User logged in. Playlist shown.

Browser Compatibility


Copyright 2011 Allan Bogh

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Developer: Allan Bogh (
Designer: Chintan Parikh


Allan Bogh (


You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://