Skip to main content

Deployments

Python Pypi Publish Docker Publish

YTSync

YTSync is a lightweight API, equipped with Telegram Bot to download a playlist and asynchronously transfer it to a remote server via rsync (ssh)

Features

  • Supports both webhooks and long-polling
  • Built-in exponential back off for remote transfers
  • Sequential downloads (to prevent requests being throttled/blocked)
  • Optional flag to delete local files after transferring to remote server
  • Built-in support to check file presence on remote server before requesting download/file-transfer

SSH setup

Allow remote server connection without requiring a password [OR] private key during run-time

ssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519
ssh-copy-id user@receiver_ip
ssh user@receiver_ip

Docker

Mount the local ~/.ssh volume to allow reading known hosts

docker run \
  -v ~/.ssh/id_ed25519:/root/.ssh/id_ed25519:ro \
  -v ~/.ssh/known_hosts:/root/.ssh/known_hosts:ro \
  ytsync

License & copyright

© Vignesh Rao

Licensed under the MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytsync-0.0.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ytsync-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ytsync-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for ytsync-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 892623d07a19e64a276a7cf5bd4c5fb44070b9194436d98eb21a3a9ad999cda0
MD5 48d10f5cddbca17b44986f6e691908f8
BLAKE2b-256 7703f22c16ebe2232c45fa1c414b8f6028950272a5baea683fba3df5919bade9

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.0

1 file

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page