Skip to content

theo-dep/simple-video-cms

Repository files navigation

Simple Video CMS

A managed video sharing platform inspired by VideoHub. A back and front architecture video content management system with FFmpeg and SQLite.

Latest Release pipeline status

Third Parties

All third party files are available offline except for FFmpeg, zlib and libpng submodules.

Docker

Install Docker and Docker Compose then,

docker compose up -d

Local

For development purpose, files can be compiled with gcc and g++ minimum version 14.2.

Install development requirements:

sudo apt install make gcc yasm g++

Then build (zlib, libpng, ffmpeg and servers):

./configure
make local-all

This will generates server binaries in bin/debug/front/server and bin/debug/back/server. Use DEBUG=0 to make release binaries.

Servers can be run using VS Code or with both commands make local-start-front and make local-start-back.

Environment

To personalize front and backends, there is few environment variables to know:

  • Super administrator (cannot be deleted):
    • SUPER_ADMIN_USERNAME (default admin)
  • Server addresses:
    • BACK_HOST (default 0.0.0.0)
    • BACK_PORT (default 5000)
    • FRONT_HOST (default 0.0.0.0)
    • FRONT_PORT (default 8080)
    • BACK_SERVER_URL (default localhost:5000)
  • Name of your hosted website:
    • WEBSITE_NAME (default Simple Video CMS)
  • Browser icon:
    • ICON_PATH (default /static/img/icon.svg), mount a volume with your custom icon and set this variable to the path

Screenshots

Normal user

Homepage

Homepage

Login / Signup Page

Login Page

Video Search Page

Search Page

Upload Page

Upload Page

Video Page

Video Page

Video Page Full Screen

Video Page Full Screen

Dashboard

Dashboard

Administrator

Flagged Video List

Flagged Page

Users List

Users page