Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nobonobo/ytuploader
- Owner: nobonobo
- Created: 2022-02-02T13:06:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T01:09:52.000Z (almost 3 years ago)
- Last Synced: 2024-12-04T16:16:29.389Z (22 days ago)
- Language: Go
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```