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.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ytsync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e002fe710c4b915b8fbf82be9922ac1fb4a8b482cb443af09b32e891f3a175de
MD5 325462e1cb54a56a061ef4f66bd12d93
BLAKE2b-256 0bae1e023b7cd5bd407a336b93dd3d5cafeb673bd1bdfacdbb7c1b561d3887a4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.0

1 file

0.0.2

1 file

This release

0.0.1 This release

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