Do you think generating and hosting webfonts is too complicated? Just make it easy for everyone. This AWS Lambda function will:
- Watch a specified S3 bucket for new SVG files
- Regenerate a new webfont on each SVG upload (ttf, woff, eot, html, css, json)
- Recongizes the folder structure of the S3 bucket to manage multiple webfonts
- Clone this repository
- Edit the serverless.yml file and enter a new and unique
bucket_name
,region
andstage
sls deploy
- Create a folder on your s3 bucket and put some SVG files in it
- Enjoy! :-)
MIT