Skip to content

Automatically generate Webfont as soon as new SVG files are uploaded to a S3 bucket. Manages multiple font using a simple folder structure

License

Notifications You must be signed in to change notification settings

sbuckpesch/s3-svg-to-webfont-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 SVG upload to Webfont

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

Automatical Webfont generation on AWS S3

Requirements

  1. Serverless framework >1.1.0

Getting started

  1. Clone this repository
  2. Edit the serverless.yml file and enter a new and unique bucket_name, region and stage
  3. sls deploy
  4. Create a folder on your s3 bucket and put some SVG files in it
  5. Enjoy! :-)

LICENSE

MIT

About

Automatically generate Webfont as soon as new SVG files are uploaded to a S3 bucket. Manages multiple font using a simple folder structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published