Skip to content

Instantly share code, notes, and snippets.

View mining016's full-sized avatar

Shivam H mining016

  • Ahmedabad, India
View GitHub Profile
@soygul
soygul / youtube-upload.js
Last active May 3, 2024 13:41
YouTube video uploader using JavaScript and Node.js
// YouTube API video uploader using JavaScript/Node.js
// You can find the full visual guide at: https://www.youtube.com/watch?v=gncPwSEzq1s
// You can find the brief written guide at: https://quanticdev.com/articles/automating-my-youtube-uploads-using-nodejs
//
// Upload code is adapted from: https://developers.google.com/youtube/v3/quickstart/nodejs
const fs = require('fs');
const readline = require('readline');
const assert = require('assert')
const {google} = require('googleapis');