Skip to content

RafalWilinski/serverless-medium-text-to-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

serverless-medium-text-to-speech

serverless

Serverless-based, text-to-speech service for Medium articles.

Infrastructure Diagram

DEMO

Demo here

Deploy to your own AWS account:

Prerequisites:

  • Node.js > 6
  • Serverless Framework

Setup and deployment

Downloading project:

git clone https://github.com/RafalWilinski/serverless-medium-text-to-speech
cd serverless-medium-speech
npm install && cd front && yarn

To run project in development mode, locally:

npm run dev

Deploy to API to AWS Lambda & Frontend to S3:

npm run deploy

API Usage & Example

curl -X POST \
  https://bt1wb4iwpf.execute-api.us-east-1.amazonaws.com/dev/transcode \
  -d '{
	"href": "https://medium.com/the-mission/11-reasons-i-sacrifice-money-to-work-wherever-i-want-21e9ce36f2b7"
}'

License

MIT Licensed. Copyright (c) Rafal Wilinski 2017.