hls-restream.js
is a TypeScript-based application designed for HLS (HTTP Live Streaming) restreaming. It is containerized with Docker for easy deployment.
- Written in TypeScript
- Supports HLS restreaming
- Containerized using Docker
- Docker installed on your machine
-
Clone the repository:
git clone https://github.com/a840817a/hls-restream.js.git cd hls-restream.js
-
Install dependencies:
yarn install
-
Build the project:
yarn build
To run the application using Docker, use the following command:
docker container run --name hls-restream -p 80:5000 -v output:/usr/src/hls-restream/output/ a840817a/hls-restream.js
his will start the application and map port 5000 inside the container to port 80 on your host machine. The output will be stored in the output directory.
build
: Compiles the TypeScript code using Gulp.start
: Runs the compiled JavaScript code.start:build
: Builds the project and then starts it.dev
: Runs the project in development mode with Nodemon, watching for changes in TypeScript files.
src/
: Source files for the application.dist/
: Compiled JavaScript files.
This project is licensed under the MIT License.
If you have any questions or need further assistance, feel free to reach out.