Self-host Pinchflat with Levelrail

Automatically download and organize YouTube channels and playlists into your media library.

  • Authorkieraneglin
  • LicenceAGPL-3.0
  • Memory512 MiB
  • Services1

How to self-host Pinchflat

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/kieraneglin/pinchflat:latest
  2. Create the app

    One service starts in a single Compose app, with 2 named volume mounts for your data, on port 8945.

  3. Fill in the secrets

    You do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Pinchflat requirements

Memory
About 512 MiB
Architectures
amd64 image published, arm64 not available
Ports
8945
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
AGPL-3.0, network copyleft (agpl) license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 8945 on the host, so open them in the VPS firewall only if you want that.
  • Review. Image is not pinned to a version tag, so a redeploy can pull different code (ghcr.io/kieraneglin/pinchflat:latest).

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Pinchflat. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Pinchflat docs page.

Deploy Pinchflat your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Pinchflat from the CLI

levelrail-cli templates deploy pinchflat --name my-pinchflat

Deploy Pinchflat with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/pinchflat/deploy

Pinchflat configuration

Pinchflat services

ServiceImagePortsVolumes
pinchflat ghcr.io/kieraneglin/pinchflat:latest 8945 pinchflat_config -> /configpinchflat_downloads -> /downloads

Pinchflat environment variables

The catalog lists no environment variables for this template.

Ports and volumes

Ports
8945
Volumes
2 named mounts: pinchflat_config -> /config, pinchflat_downloads -> /downloads

Pinchflat FAQ

How much memory does Pinchflat need?

The catalog lists about 512 MiB of memory for Pinchflat.

Does Pinchflat run on arm64?

For Pinchflat, amd64 only, no arm64 image; amd64 is image published.

What licence is Pinchflat under?

Pinchflat is licensed under AGPL-3.0, which is network copyleft, so source sharing also applies when it is offered as a hosted service.

Does Pinchflat need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Pinchflat use?

Pinchflat listens on port 8945 inside the stack.

Where does Pinchflat keep its data?

In named volumes: pinchflat_config mounted at /config and pinchflat_downloads mounted at /downloads.

Can I deploy Pinchflat on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id pinchflat for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/kieraneglin/pinchflat:latest is what you deploy there.

levelrail-cli templates deploy pinchflat --name my-pinchflat