Skip to content

Text a youtube link to AWS pinpoint number, have the audio appear in your custom podcast :)

Notifications You must be signed in to change notification settings

alex-hladun/text2pod

Repository files navigation

text2pod

This is a project to upload and append audio files from YouTube to a podcast stored in AWS S3. To set up:

  1. Set up aws-cli and install dependencies.
  2. Create an S3 bucket, copy pod.rss into bucket (/lib/pod), and add details to /lib/config.ts
  3. Set up AWS pinpoint application, and add applicationId and originationNumber to config.ts
  • To test, run npx ts-node streamAudio.ts
  1. If deploying to AWS, add FFMPEG binary layer from here.
  2. To deploy, run cdk deploy

CDK commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

FFMPEG Binary

FFMPEG Runtime: https://github.com/serverlesspub/ffmpeg-aws-lambda-layer

To-do:

  • Add automation of binary layer download during deploy.
  • Add cdk to generate bucket, pod.rss, and pinpoint application / resources.

About

Text a youtube link to AWS pinpoint number, have the audio appear in your custom podcast :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published