github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

tylerhall / s3up

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 15
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • integration-gw
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Command line tool to upload files to Amazon S3 for static file hosting according to YSlow's best practices. — Read more

  cancel

http://clickontyler.com/blog/2009/02/serving-static-content-on-amazon-s3-with-s3up/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Merging in md5 skip checks from Chris Harris. This hasn't been thoroughly 
tested yet. 
tylerhall (author)
Wed Mar 04 16:44:53 -0800 2009
commit  95268b690a895058c5d4acca0e9ebedc90e1ca55
tree    7eead8c0d1fa968c349b56d0dc9a1c791ed3e24d
parent  8528f1b75e5e3025141b9fffdd3b9acb8fd6c92e
s3up /
name age
history
message
file README.markdown Sat Feb 28 12:13:34 -0800 2009 Confirming directory support and updating READM... [tylerhall]
file s3up Wed Mar 04 16:44:53 -0800 2009 Merging in md5 skip checks from Chris Harris. T... [tylerhall]
README.markdown

s3up

s3up is a command line tool to store static content in Amazon S3 following the best practices of YSlow. Specifically, it's for users who want to use S3 as a content delivery network for their images, style sheets, JavaScript, etc.

For each file it uploads, s3up sets a far future expiration date, gzips the content, and versions the file by combining the filename with a timestamp. Each of these actions are optional and can be controlled via the command line.

A longer explanation and example usage can be found here.

FEATURES

  • Upload multiple files at once - including directories
  • Automatically append timestamps onto files for versioning
  • Upload a gzipped version of each file
  • Add far future expiration header to each file

INSTALL

Requires PHP5 and php_curl extension.

  • Place s3up in a convienient location and make executable.

You're done!

UPDATES

Code is hosted at GitHub: http://github.com/tylerhall/s3up

LICENSE

The MIT License

Copyright (c) 2009 Tyler Hall

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server