Clipuploader is a tool utilazing node.js and the official google api to upload clips/videos from any set file path to YouTube.
- CLI Tool
- customizable via .env
- delete file after successfull upload
- set custom video description and title
- and more...
- Node.js v21.1.0 or higher
- NPM 10.9.0 or higher
- Install Node.js and npm (Tutorial)
- Download the repository and extract it somewhere
- Open the Commandline in the extracted folder
- Run
npm i
- Modify the values of the entries in the
.env
file as you like - Run
npm start
to start uploading the files from the specified folder
⚠️ Important:
CLIENT_ID
andCLIENT_SECRET
are mandatory! To retrieve this OAuth values see this short tutorial.
- Open the Google Cloud website.
- Create a new Project
- Enable the YouTube Data API v3 (
Navigation Menu > APIs and services > Libary > YouTube
) - Go to the Credentials page
- Click on
Create Credentials > OAuth client ID
- Select
Desktop app
as the application type and set a name - Copy the Client ID and the Client Secret in the .env file
- Go to
OAuth consent screen
and add your google account toTest users
💡Additional Information:
The first time you run the tool you'll be asked to authorize the app you just created. The Account you added as a test user above must be the same as the one you use to authorize the app via the link from the link. Once you finished that, you'll be redirected to a localhost page. You can now extract the code from the addressbar:http://localhost/?code=[THATS WHERE YOUR CODE WILL BE]&scope=https://www.googleapis.com/auth/youtube.upload
. Paste this code into the commandline and pressEnter
.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Subject to the terms of the MIT License above, the Commons Clause modifies the MIT License as follows:
The Software may not be used for commercial purposes. For the purposes of this License, "commercial use" means any use of the Software that is primarily intended for or directed towards commercial advantage or monetary compensation.
Redistribution of the Software is not permitted without explicit written permission from the author. This includes, but is not limited to, distribution of the Software as part of a software package or in any form that allows others to use or access the Software.
Any use of the Software must include proper attribution to the original author.
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the Software or the use or other dealings in the Software.
See the LICENSE file for the full text of these terms.
Developer:
Warrior Deere
warriordeere@proton.me