Coder Social home page Coder Social logo

youtube-uploader's Introduction

YouTube & Instagram Video Upload Project

This project automates the process of uploading videos to YouTube and Instagram using the YouTube Data API v3 and Facebook Graph API v20.0. It handles OAuth 2.0 authentication, video upload, and management of YouTube/Instagram video metadata.

Features

  • OAuth 2.0 Authentication: Handles Google account authentication automatically using refresh tokens.
  • Video Upload: Uploads videos to a specified YouTube account.
  • Metadata Management: Allows specification of video metadata such as title, description, tags, and category.
  • Integrate with GenAI for automated video generation. Check out this project for details.
  • Instagram Video Upload: Also supports video uploading to Instagram.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have a Python 3.x environment.
  • You have a Google account with access to the YouTube Data API.
  • You have set up a project in the Google Developers Console and have credentials in the form of a client_secrets.json file.
  • Create a .env.production file under the project root and provide SMTP credential if you intend to use the email notification feature.
  • Also provide LLM(e.g. OpenAI) API key if intend to use AI generated topic for videos.
  • Instagram reels video upload requires Facebook Graph API key and Instagram User ID. Check Facebook developer documentation for details.
  • Provision the api keys and other details using the format in the example.env file

Installation

To install the necessary Python libraries, run the following command:

pip install -r requirements.txt

Contributing

Contributions to the YouTube Upload Project are welcome. To contribute:

Fork the project. Create a new branch (git checkout -b feature/your_feature). Make your changes. Commit your changes (git commit -am 'Add some feature'). Push to the branch (git push origin feature/your_feature). Open a pull request.

Acknowledgements

Thanks to Google for the YouTube Data API and Facebook for the Graph API.

youtube-uploader's People

Contributors

jack-jackhui avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.