Read more about this code in here and here
- Clone this repo:
git clone https://github.com/jonathanmv/faceless-influencer.git
- Create the
audios, images, videos
folders at the same level as yourindex.js
file. The script assumes they exist. - Install the dependencies:
npm install
. The dependencies also include ffmpeg and a configured aws-cli. The first to create the videos and the second to load the configuration variables for your aws developer account. You can skip the aws-cli if you add your aws secret and key to the configuration in theawsHelper.js
file. Just don't make them public. - Run it:
npm start
By default it will create a video from the latest post for the @jonathanmv user on Medium. You can create videos for different users by specified an environment variable like this:username=pepito postId=1vd44ea5 npm start
. It will create a video from the post if found.
Run npm test
Run npm run token
Run npm run ecs-login
Run npm run docker-deploy