Upload script to put a single video into Peertube

I am wondering if there is a simple script available to upload a single video file, possibly a very long one into Peertube. I am routinely copying my videos and photos from my mobile to a Linux account with Syncthing, which means that I could upload a video file from the Linux account by running a script more easily than using the browser upload from my mobile phone.

I assume that the API can do that, but I wonder if there is a ready script in Python or Node available somewhere already.

Hi,

You can try CLI tools guide | PeerTube documentation

1 Like

thank you, that works great.

Am I correct in assuming that this uses a normal password and does not have MFA support?

Yes you’re right