No commit activity in last 3 years
No release in over 3 years
Upload HTML emails to S3
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

s3ify¶ ↑

A command line tool to convert a html email to change its relative image paths to point at absolute paths on Amazon S3. A new copy of each html file will be created with the prefix of ‘s3_’. It will then upload the folder to a folder / bucket on S3 and display the URL’s of the html files.

The library relies on you having the AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY environment variables set.

How to use¶ ↑

s3ify -b my_bucket -p my_folder_in_bucket ~/Desktop/my-email/

Use -b to specify your bucket name Use -p to specify the path you want inside the bucket (you can leave this out and it will use the unix timestamp) Finally give the path to the folder that you want to ‘s3ify’

Todo¶ ↑

Support buckets in Europe Handle stylesheets so its not just limited to emails

Copyright © 2009 mattfawcett. See LICENSE for details.