Skip to content

This is a mirror of https://gitlab.devau.co/theo/simple-video-cms. A back and front architecture video content management system with FFmpeg and SQLite.

License

Notifications You must be signed in to change notification settings

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.

All third party files are available offline.

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):

./scripts/build.sh

This will generates server binaries in front/server and back/server.

Servers can be run using VS Code or with both scripts ./scripts/start_front.sh and ./scripts/start_back.sh.

Environment

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

  • Super administrator (cannot be deleted):
    • SUPER_ADMIN_USERNAME (default admin)
    • SUPER_ADMIN_PASSWORD (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