Skip to content

alexjshepler/Automated-Social-Media-Content-Creator

Repository files navigation

GitHub issues GitHub forks GitHub stars GitHub license

PLEASE NOTE: This is not this is not a representation of my professional work. This is a personal project that I work on in my own free time. My professional work does not include profanity and contains more legible and professional commit messages and comments

Branch Note: Main is where the stable working version is pushed to, Nightly is the branch where I push everything, sometimes it might be working, but most of the time it isn't

Media "Manager"

This project is a proof of concept. It is designed to be able to generate content and automatically post it. This is meant for educational purposes only because I am like 99% sure that this violates every single terms of service agreements for every form of social media. The capabilities outlined here only describes the first version. I do intend on making more versions that are more advanced.

Installation

Install ImageMagick and Ghostscript (ImageMagic depends on Ghostscript)

Mac Installation:

brew install imagemagick
brew install ghostscript

Clone the repo

git clone https://github.com/alexjshepler/Automated-Social-Media-Content-Creator.git

cd into the repo

cd Automated-Social-Media-Content-Creator

Use the package manager pip to install all of the files in the requirements.txt file

pip install -r requirements.txt

Usage

Running the program

Before you can run the program you must add video, audio, and quotes that it can use.

Once all of the files are added you can run

py main.py

Adding files for the program

Before you can run the program there are several files that you need to import. You are going to need a video, audio, and text file

The video files are going to need to be either in .mp4 .mvk or .m4v format. This will be the video that the program clips from. You can place the videos in the original video directory. Note, when the program is done with the video, it appends the .old filetype to the end and does not delete it. If you would like to save space you will need to delete it. This might be changed later.

The audio files are going to need to be in .mp3 format. This will be the audio that gets overlaid on the videos that get rendered. You can place them in the audio directory. Note, these get reused unlike the videos or quotes so these won't get the .old file type appended to the end and should not be deleted unless required.

The text file for the quotes has already been created. The only thing that has to be done is to add the quotes to the quote file. You do not need to worry about duplicates because the program checks for them. However if there is any difference (ie punctuation change, capitalization, etc) it will assume they are different and use both quotes.

Contributing

Pull requests are welcome and encouraged. When making one however, please make sure to outline what you've done and USE COMMENTS. Please, please, please comment your code. I cannot read your mind and when I go over your code I want to be able to understand what the code does and how it works without having to step through every single line to see what it does. And if you don't know what something does in your code, try to figure it out or comment it. There are bits like that in mine, I won't be too harsh.

GitHub code size in bytes GitHub repo file count GitHub commit activity