# Pinchflat

Pinchflat is a self-hosted app for downloading YouTube content built using yt-dlp. It

<ServiceNotice hasMigrated={false} />

### References

<ReferenceLinks references={frontmatter.references} />

---

## Make directory

```sh wrap preserveIndent
mkdir -p {{DOCKER_PATH_VAR}}/pinchflat/config/extras/yt-dlp-configs \
&& mkdir -p {{DOCKER_PATH_VAR}}/pinchflat/downloads \
&& cd {{DOCKER_PATH_VAR}}/pinchflat
```

## compose.yml

```sh
nano compose.yml
```

```yml title="compose.yml"
yaml
```

## base-config.txt

```sh
nano ./config/extras/yt-dlp-configs/base-config.txt
```

```sh title="base-config.txt"
ytdlpBaseConfig
```

## Start container

```sh
docker compose up -d
```

## Open web ui

<OpenWebUI port="8945" />
