Maktaba for developers العربية

Contributing to Maktaba

Maktaba (مكتبة, "library") is a self-hosted media platform: it turns a folder tree of video files into a streamable library where every spoken word is searchable, with first-party apps for web, phones, desktops and TVs. Arabic is first-class throughout.

These guides are for people working on Maktaba itself: the services, the apps, the tests and CI. The source lives at github.com/Hamza-Labs-Core/Maktaba.

Guides

The short version

git clone https://github.com/Hamza-Labs-Core/Maktaba.git
cd Maktaba
cp .env.example .env
make prereqs      # tells you which tools are missing
make dev          # live-reload stack
make test         # unit tier: no network, no sudo

CI runs the same make targets you run locally, so a green make lint and make test on your machine means the lint and unit gates will be green too.

Reporting a security problem

Never open a public issue for a vulnerability. Email security@maktaba.dev and see the reporting policy.

View the source of this page on GitHub