Giter Site home page Giter Site logo

speedsive's Introduction

Speedsive

Automate the process and upload videos that compile music with altered speed

In this last year thanks to the rise of tiktok has created a very profitable youtube trend that allows you to gain views and subscribers relatively quickly This trend consists of uploading videos that compile viral songs that are on tiktok and increase or decrease the speed (sped up or slowed songs) Speedsive is in charge of automating all this, both video creation and uploading to Youtube

Features

  • Generate videos automatically, with customized images according to parameters and text inside the video
  • Implements Spotify API to get the name of the viral tracks
  • Implements Youtube API to automatically upload videos with customizable titles, descriptions, etc
  • Implement a database to obtain the number that corresponds to the part of your videos of altered songs
  • Customized thumbnails according to parameters
  • Logging system to know what is happening at any given moment

Demo

You can see here an example of a video created and uploaded automatically with speedsive

Important

Due to Youtube's policy, videos that are automatically uploaded cannot be set as public because Youtube blocks videos added to their platform through an API that they have not verified More information about this on the official website

Installation

We have used as module manager the Conda manager, but there are some modules that were not in this platform and have been installed with Pip

Windows

  conda env create -f windows-environment.yml 
  conda activate speedsive-env
  conda install

MacOS and Linux

  conda env create -f macos-environment.yml 
  conda activate speedsive-env
  conda install

Get your secrets

Speedsive uses Spotify API and Youtube API to work, so you need to get their tokens to make it work

  mkdir ./secret/spotify
  mkdir ./secret/youtube

Spotify

In spotify it is very simple, just access the dashboard provided by Spotify and create an application within it, there we will get our client_id and our client_secret needed to use the API

Finally we will add them inside the .secret/spotify folder in a json called client_creds.json

  {
    client_id: "",
    client_secret: ""
  }

Also in the playlists.txt file you must add the spotify playlists link, from there the songs will be taken

Youtube

The process to obtain the Youtube token is different because you have many different ways to obtain it, we can not comment on all of them because there are in google the guides to obtain the tokens The API version is YoutubeV3, there are many resources on the web to get it

Finally we will add them inside the .secret/youtube folder in a json called client_creds.json

{
    "access_token": "",
    "refresh_token": "",
    "scope": "https://www.googleapis.com/auth/youtube.upload",
    "client_id": "",
    "client_secret": ""
}

How to make it work?

Once you have installed all the modules necessary for the operation and configured the API secrets, place yourself inside the folder that includes the main.py file and you are ready

python3 main.py

Authors

speedsive's People

Contributors

alexcraviotto avatar miguel07alm avatar

Stargazers

Daggie Blanqx (Douglas Mwangi) avatar  avatar  avatar  avatar

Watchers

 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.