https://github.com/hantsaniala/hstream
A simple HLS VOD server made with Go.
https://github.com/hantsaniala/hstream
cobra docker docker-compose go hacktoberfest hls viper
Last synced: 8 months ago
JSON representation
A simple HLS VOD server made with Go.
- Host: GitHub
- URL: https://github.com/hantsaniala/hstream
- Owner: hantsaniala
- License: mit
- Created: 2023-07-25T07:16:24.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-24T08:11:12.000Z (over 1 year ago)
- Last Synced: 2024-10-30T08:26:05.622Z (over 1 year ago)
- Topics: cobra, docker, docker-compose, go, hacktoberfest, hls, viper
- Language: Go
- Homepage:
- Size: 313 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# hStream
[](https://pkg.go.dev/github.com/hantsaniala/hStream)
A simple VOD server made with Go.
## Requirements
- Go >= 1.19
- Redis
- PostgreSQL
- Docker
- docker-compose
## Install
First clone the project with:
```sh
git clone git@github.com:hantsaniala/hStream.git
```
Create you own .env file from given .env.example with:
```sh
cp .env.example .env
```
Then edit it to match your existing credentials.
## Run
You can run the project using docker compose:
```sh
docker compose up -d --build
```
It will build necessary dependencies and run your app under http://localhost:5480
## Generating key
Before generating key, don't forget to change master key folder name. You can use random key from [here](https://randomkeygen.com/).
To generate key necessary for the project, run:
```sh
# To generate video encryption key
./hStream gen key
# To generate keypair
./hStream gen keypair
```
## TODO
- [ ] Add gRPC support
- [ ] Add plugin type struct for microservice
- [ ] Add a CRUD page dashboard with vue
- [ ] Add support for other video format
- [ ] Add support for audio format
## Author
[Hantsaniala Eléo](https://t.me/hantsaniala3) 2023