Little web server to share the song your are listening
Often at school we (students) are listening music. And friens ask what are we currently listening and what type of music we listen.
This project is to share what we currently listening and show friends what songs and music we listen.
This is a basic web music player.
Other users can come on the web page and listen what the hoster listen or they can listen others songs.
When the hoster start the server and go to the web page at the address
localhost:5596/hoster.
In the web page he can see all the songs he have in a choosen directory.
He must be logged in to change the sound (so no other users can change it).
Other users have to go at the address of the host.
<host_address>:5596/
They see what is in the music library of the hoster, what song he currently
listening and lister that one at the same time as the hoster.
- Clone or download this repository.
- Be sure you have docker installed otherwise install it (Docker install)
- Complete the
.env.tplfile and rename it to.env - Start the container by doing
docker-compose up - The project is started.
The project must be configured throught the .env file.
You have the .env.tpl file to help make your own configuration.
The authentification is absolutly insecure. It just pass the username and
password as querystring parameters (as username and password).
It get the username and password from the environment variable (named username
and password).
There variables can be set throught the .env file.