Skip to content

Repository files navigation

infra

Dependencies

ansible-galaxy install -r requirements.yml

Notes

  • A custom dnsmasq.d config file gives wildcard resolution for the fqdn of the main server.

ytdlp

yt-dlp in a loop, routed through a WireGuard sidecar. Syncthing supplies the inputs. Downloads go to {{ ytdlp_download_dir }}. The WG peer config lives at roles/containers/files/ytdlp/wg0.conf, which is gitignored. Keep it as a symlink to your local copy.

To refresh the cookies after YouTube blocks the downloads again:

  1. Open a private window in Firefox or Chromium. Sign in to YouTube. A throwaway account is fine.
  2. Export the cookies with the "Get cookies.txt LOCALLY" extension while a YouTube tab is open.
  3. Close the private window immediately. Do not browse elsewhere and do not log out. Both actions invalidate the cookies.
  4. Save the file as cookies.txt in the syncthing ytdlp dir. run.sh finds it.

If the cookies are not enough, read the PO Token Guide. The bgutil sidecar was removed. See the git history for the wiring if you must add it back. To pull a newer yt-dlp, rebuild: docker compose -f /fastboi/docker/ytdlp/docker-compose.yml up -d --build.

About

Home server stuff

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages