Skip to content

Sloth-Wizard/Dongs-of-a-say

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLS for 24h music

This is a 24h (86400 seconds) audio streamer using m3u8 manifests to play ts audio chunks of type text/vnd.trolltech.linguist

Before anything else

You must first install the needed dependencies

npm i

Then you need to chunk your mp3 files

To do so, put all your mp3 files in the /public/audio folder for example

Then move the chunker.sh file to your chosen audio folder and execute the script there

cd ./public/audio
./chunker.sh

This will put all your chunks into the chunks folder using the filename as foldername

Note that you will need to install ffmpeg to be able to use the script. To do so run sudo apt-get install ffmpeg on the system you use to make the chunks

For development

Run the following to start vite server

npm run dev

For production

Run the following to build

npm run build

You will find all your files into the ./dist folder

All you need to do is upload that folder to your server and you are done !

About

24h of music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published