Skip to content

Scripts for uploading content to our PeerTube (and backup storage)

Notifications You must be signed in to change notification settings

arthacknz/tube-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tube-tools

install

git clone git@github.com:arthacknz/tube-tools
cd tube-tools
npm install

config

.env

PEERTUBE_URL="https://tube.arthack.nz"
PEERTUBE_USERNAME="arthack"
PEERTUBE_PASSWORD="xxxx"
PEERTUBE_CHANNEL="arthacknz"

S3_ENDPOINT="xxxx"
S3_KEY="xxxx"
S3_SECRET="xxxx"
S3_BUCKET="xxxx"

usage

./tube-tools
Usage: tube-tools [options] [command]

Command-line tools to manage tube.arthack.nz

Options:
  -h, --help                                   display help for command

Commands:
  upload [options] <path>                      Upload a video to PeerTube and our backup storage
  upload-peertube [options] <path>             Upload a video to PeerTube
  upload-original [options] <path>             Upload an original video to our backup storage
  upload-dir <path>                            Upload a directory of videos to PeerTube
  metadata <path>                              Read metadata in a video file
  hash <path>                                  Get hash of initial 1 MB of file
  get-videos-missing-from-s3-originals-bucket  Get list of videos missing from s3 originals bucket
  help [command]                               display help for command

About

Scripts for uploading content to our PeerTube (and backup storage)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published