Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dave/youtube
Tool to upload videos directly from Google Drive to YouTube
https://github.com/dave/youtube
Last synced: 3 months ago
JSON representation
Tool to upload videos directly from Google Drive to YouTube
- Host: GitHub
- URL: https://github.com/dave/youtube
- Owner: dave
- Created: 2019-12-11T19:40:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T14:03:56.000Z (about 4 years ago)
- Last Synced: 2024-06-19T15:04:35.995Z (7 months ago)
- Language: Go
- Homepage: https://www.youtube.com/wildernessprime/videos
- Size: 233 KB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Google sheet to Json
http://blog.pamelafox.org/2013/06/exporting-google-spreadsheet-as-json.html
(but use export_to_json.js as the script)
### Switch to project
```
gcloud config set project youtube-tool-260519
```### Reconnect
```
ssh 167.71.128.132
screen -d -r
```### Disconnect
```
Ctrl+a then d
```### Setup
```
# Add the Cloud SDK distribution URI as a package source
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list# Import the Google Cloud Platform public key
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -# Update the package list and install the Cloud SDK
sudo apt-get update && sudo apt-get install google-cloud-sdk# Initialise
gcloud init# Install Go
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go# Copy keys
mkdir ~/.credentials
pico ~/.credentials/drive_secret.json
pico ~/.credentials/youtube_secret.json# Initialise project
cd ~/go/src/youtube
go get
go run *.go# Initialise screen
screen -a```