Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nobonobo/ytuploader

Watch folder and upload video files to YouTube Utility
https://github.com/nobonobo/ytuploader

Last synced: 22 days ago
JSON representation

Watch folder and upload video files to YouTube Utility

Awesome Lists containing this project

README

        

# ytuploader

## usage

1. access google cloud console and enable YouTuveDataAPIv3.
2. generate oauth client secret for web application and save "client_secrets.json" to local folder.
3. go get github.com/porjo/youtubeuploader
4. go run github.com/porjo/youtubeuploader -filename=sample.mp4
5. automaticaly open browser and authorize your YouTube account.
6. make
7. scp {youtubeuploader,ytuploader,client_secrets.json,request.token} [email protected]:/home/pi/

## on RaspberryPi

```
sudo apt install samba
```

create "/etc/systemd/system/ytuploader.service"
```
[Unit]
Description=YouTube Auto Uploader

[Service]
WorkingDirectory=/home/pi
ExecStart=/home/pi/ytuploader -src=/home/samba
Restart=always

[Install]
WantedBy=multi-user.target
```

```
sudo systemctl daemon-reload
sudo systemctl start ytuploader
sudo systemctl enable ytuploader
```