# Skali documentation

URL: https://skali.dppst.com/docs/

> How Skali works. A 100% Cloudflare video platform paired with a pure-Rust desktop and CLI publisher.

Skali is a free, open-source (MIT) video hosting platform that runs entirely on **your own Cloudflare account**, paired with a lightweight native desktop and CLI app for Windows, macOS, and Linux.

## Two halves, zero servers to maintain

1. **The Skali Web Platform (`apps/web`)** runs as a single Cloudflare Worker with Static Assets, one **D1** SQLite database (with FTS5 full-text search), and one private **R2** bucket. It serves your video catalog, cinema-first HLS player, access controls, embeds, and `/admin` dashboard from Cloudflare's global edge.
2. **The Skali App (`apps/desktop`)** is a native pure-Rust application (GUI + `skali` CLI, no Electron and no Node.js required). It acts as your single control center to:
   - **Deploy** new Skali instances to Cloudflare in one click,
   - **Encode** videos locally into adaptive HLS fMP4 using your GPU (or CPU),
   - **Upload** directly to your private R2 bucket in parallel with automatic resume,
   - **Update, roll back, or delete** your Cloudflare deployment cleanly.

## Why this architecture?

- **Zero egress fees**: Cloudflare R2 includes 10 GB of free storage and charges **$0 for bandwidth**, no matter how many people watch your videos.
- **No cloud transcoding bills**: encoding happens once on your own machine before upload.
- **Zero D1 hits per video segment**: private streams use stateless HMAC-SHA256 media tokens; public videos and embeds leverage Cloudflare's shared edge cache.
- **Privacy by design**: zero ads, zero third-party trackers, zero cookie banners.
- **Multilingual**: both the web interface and the desktop app ship in **English and French** in v1.0. More languages will be added based on community demand: [request your language on GitHub](https://github.com/toorop/skali/issues).

## Where to start

- New to Skali? Start with [Download & install](https://skali.dppst.com/docs/install/), then follow the [1-click Cloudflare deploy guide](https://skali.dppst.com/docs/one-click-deploy/).
- Prefer Wrangler, Git, or CI/CD? Jump to [Manual deploy & CLI](https://skali.dppst.com/docs/manual-deploy/).
