Skip to content

Uploads videos from a Google Drive folder to YouTube automatically, set a daily upload limit, schedule posts, and add titles, descriptions, and tags.

Notifications You must be signed in to change notification settings

sea-deep/autopostr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoPostr


2OkOicQ.md.png

Description

AutoPostr allows you to schedule youtube videos randomly each day, sourcing from google drive. With the ability to configure the number of videos to post, title, description, and tags. Basically its a youtube sheningan... with a very specific use case.

Deploy on Your Own

  1. Set Up Google Cloud

    • Create a Google Cloud project.
    • Enable the YouTube Data API v3 and Google Drive API.
    • Go to Credentials and set up OAuth 2.0 credentials:
      • Click Create Credentials > OAuth client ID.
      • Select Web application in the application type.
      • Add http://localhost:3000/auth/callback or <deployed-url>/auth/callback as authorized redirect URIs and save.
      • Then go to the OAuth consent screen tab and fill in the required fields.
      • Add the following scopes:
        • https://www.googleapis.com/auth/youtube.upload
        • https://www.googleapis.com/auth/drive.readonly
    • Get your Client ID and Client Secret from Credentials, then save them in a .env file (refer to .env.example).
  2. Set Up MongoDB

    • Create a free database using MongoDB Atlas.
    • Add the database connection string to your .env file.
  3. Deploy the Project
    Run these commands:

    git clone https://github.com/sea-deep/autopostr
    cd autopostr
    # Rename .env.example to .env and fill in the required fields
    npm install
    node .

About

Uploads videos from a Google Drive folder to YouTube automatically, set a daily upload limit, schedule posts, and add titles, descriptions, and tags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published