GithubHelp home page GithubHelp logo

dongs-of-a-say's Introduction

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 !

dongs-of-a-say's People

Contributors

alexisadupuis avatar sloth-wizard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.