kino
Getting started

Running kino on your own machine

The stack in Docker, the first account, and the one setting without which nothing exports.

What you do here: put kino to run on a machine you control — your notebook, a home server or a VPS. It takes a Docker install and two commands.

The short path

Install Docker with the Compose plugin. Everything else kino needs (Postgres, the storage, the API, the web app) runs in containers.

Clone the repository and create the env file:

cp .env.local.example .env

Open the .env and fill AUTH_SECRET with a new secret — openssl rand -base64 32 gives you one. The file already carries working defaults for everything else.

Bring the stack up:

docker compose up -d --build

The first build is the slow one (it compiles the apps and downloads the browser the render uses). After that, starting is seconds.

Open the app. The stack publishes fixed ports on the loopback only, and the day-to-day access is by name:

NameAddressDirect address
Web (the app)https://kino.lvh.mehttp://localhost:47001
APIhttps://api.kino.lvh.mehttp://localhost:47000
Landing (marketing + docs)https://landing.kino.lvh.mehttp://localhost:47002

The names need portless (npm i -g portless && portless service install --tld lvh.me), which ./deploy/install.sh registers for you. Without it, use the direct addresses and adjust the URLs in the .env.

Create your account. Sign-up is email and password, and the email is not verified — there is no mail server involved. Google login appears when GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are filled.

Configure the storage in Settings › Storage, with the bucket that came up with the stack: endpoint http://localhost:47007, region us-east-1, bucket kino, keys kino_minio and kino_minio_dev_pass. Without this, upload and export refuse — with a clear message, but they refuse.

Record your first video. The tutorial takes it from here.

Leave it running with the machine

./deploy/install.sh installs the stack as a systemd service: it creates the .env if it does not exist (with a fresh AUTH_SECRET), builds, brings it up, and enables it on boot. From then on:

systemctl status kino
journalctl -u kino -f

The other way: development mode

If you are going to change the code, run the apps from the repository and let Docker take care of only the infrastructure:

docker compose up -d postgres minio minio-init

pnpm install
pnpm --filter @package/db push              # schema in the database + Prisma client
pnpm --filter @apps/server db:bootstrap     # the workflow world's tables

pnpm dev                                    # api :3000 · web :3001 · landing :3002

What is worth knowing

  • Storage is not an environment variable. Endpoint, bucket and credential belong to the organization and live in the database — there is one bucket per organization, and it is configured on the screen, not in the .env.
  • Google login is optional and needs two clients if you run kino for real: a development one and a production one, each with its own redirect. See Deploy for the details.
  • The render is the heavy part. The API image carries a browser and an encoder; a small host wants RENDER_CONCURRENCY=1 and about 4 GB of RAM. See The render.
  • Nothing here is required for the product to be useful on one machine: with Postgres and the storage up, the editor, captions and narration all work.

On this page