Skip to content

Conversation

@tcely
Copy link
Contributor

@tcely tcely commented Dec 27, 2025

Using deno for node compatibility, we can run the POT web service inside the container.

This adds hundreds of megabytes (~240 MB) in extra storage, so I don't want to bundle it for everyone.

The end goal is, that anyone who wants this configuration, would only need to add one file to the user bundle.

$ touch "${HOME}/empty"

Add the following to your docker run arguments:

-v "${HOME}/empty:/etc/s6-overlay/s6-rc.d/user/contents.d/bgutil-ytdlp-pot-provider:ro"

This is likely a win in the common case where you only have one TubeSync container.

It also plays nicely for anyone who wants to modify the Dockerfile so that the extra files can live in the image once instead of the overlay of each container.

On the other hand, if you have a pool of bgutil-ytdlp-pot-provider containers that all your TubeSync containers access over HTTP, then it is wasted space in the image with no benefit.

Screenshot_20251227-132420

@tcely tcely moved this to In Progress in Status Dec 27, 2025
- `tubesync-init` changed the permissions of `node` before us
- `npm` really likes to write to "${HOME}"
- use the correct way to run `typescript/tsc`
@tcely tcely marked this pull request as ready for review December 27, 2025 13:16
@tcely tcely moved this from In Progress to Ready in Status Dec 27, 2025
@tcely tcely force-pushed the tcely-bgutil-ytdlp-pot-provider branch 2 times, most recently from a5f783c to ef312be Compare December 27, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

1 participant