The first time this runs, it’ll ask for details, but after that it should just upload your video.

The information it needs is dumped into a file, to be sourced later, so if you want to change a variable, you can just remove that line of the file (pt_info.txt), and it’ll ask for it again.

A few notes:

  • The name of the file becomes the title of the video.
  • You need a second argument, which is the video’s description.
  • You’ll need fuzzy-finder (fzy) so it can let you select things.
  • If you don’t have pass installed, it’ll store your password in plain text.
  • If you do have pass installed, it’ll remember what your passwords name is, and just use that.
  • It only takes 1 category (‘education’, ‘sports’, et c.), so all subsequent videos will have the same category unless you change that.
  • The default licence is CC0. (fuck copyright)

Example:

./ptup.sh myVideo.mp4 “This is my description of my video.”

It’s only been tested once, so I’d give it a 50/50 chance of working.

A free software to take back control of your videos

Peertube is an open, federated alternative to Youtube without advertising or tracking. On this site, you can find a good Peertube instance, with good rules, good moderation and most importantly a friendly community.

https://joinpeertube.org/

  • 0 users online
  • 2 users / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 8 subscribers
  • 74 Posts
  • 52 Comments
  • Modlog