Skip to content

hantsaniala/hStream

Repository files navigation

hStream

Go Reference

A simple VOD server made with Go.

Requirements

  • Go >= 1.19
  • Redis
  • PostgreSQL
  • Docker
  • docker-compose

Install

First clone the project with:

git clone [email protected]:hantsaniala/hStream.git

Create you own .env file from given .env.example with:

cp .env.example .env

Then edit it to match your existing credentials.

Run

You can run the project using docker compose:

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.

To generate key necessary for the project, run:

# 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 2023