Open-source monorepo for a simple and scalable file intelligence platform powered by Magika.
apps/web: Next.js + Tailwind CSS + next-intl + Auth.jsapps/api: FastAPI + Magika- Auth-ready for: Discord, Google, Microsoft
- API protection with: JWT and API keys
apps/
web/
api/
docs/
cp apps/web/.env.example apps/web/.env.local
cp apps/api/.env.example apps/api/.env
npm install
npm run dev:webIn another terminal:
cd apps/api
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
npm run devGET /api/v1/healthGET /api/v1/versionPOST /api/v1/analyze/fileGET /api/v1/analyze/content-types
The web app currently supports:
esen
- Web users authenticate through OAuth providers in Auth.js
- Backend accepts:
Authorization: Bearer <jwt>x-api-key: <api-key>
docker compose up --build

