This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
shrub /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Oct 03 14:33:07 -0700 2008 | |
| |
License.txt | Fri Sep 26 11:48:47 -0700 2008 | |
| |
README.md | Sat Feb 21 15:57:42 -0800 2009 | |
| |
app.yaml | Sat Feb 21 15:58:17 -0800 2009 | |
| |
app/ | Sun Aug 09 17:03:57 -0700 2009 | |
| |
index.yaml | Fri Sep 26 11:48:47 -0700 2008 | |
| |
lib/ | Sun Dec 14 00:49:45 -0800 2008 | |
| |
main.py | Sun Feb 15 15:18:10 -0800 2009 | |
| |
public/ | Mon Mar 02 22:56:18 -0800 2009 | |
| |
shrub/ | Thu Jul 23 01:29:10 -0700 2009 | |
| |
test.py | Sun Feb 15 15:31:06 -0800 2009 | |
| |
test/ | Fri Sep 26 11:48:47 -0700 2008 |
README.md
Shrub
Amazon S3 Proxy for Google App Engine.
The idea is to have a proxy to act in between S3 and browsers or other devices.
Questions? See shrub-gae google group
Examples of formats that Shrub exposes are:
- RSS
- HTML
- JSON
- XSPF
HTML/Tape (like MuxTape/OpenTape)
The web app:
app/- The main library:
shrub/ - Third party libraries:
lib/ - Static assets:
public/ - Tests:
test/
Running
To run locally:
- Clone the repo: git clone git://github.com/gabriel/shrub.git
- Start up GoogleAppEngineLauncher (Get GoogleAppEngine SDK + Launcher at http://code.google.com/appengine/)
- Right click on screen, and choose Add Existing
- Choose path to cloned repo.
- Hit run.
- Go to http://localhost:8080/
Other Libraries
- lib/mako: mako
- lib/iso8601: pyiso8601
- lib/id3: id3reader
lib/simplejson: simplejson
test/lib/gaeunit: GAEUnit
public/javascripts/swfobject: SWFObject
public/javascripts/jquery: jQuery
public/css/yui: YUI grid, fonts, reset (CSS)
public/images/...: famfamfam Silk icons
public/swf/player.swf: JW Flash audio player
- public/swf/xspf_player*.swf: XSPF Music Player
Main leaf icon was purchased from iStockPhoto and is licensed by me (Gabriel Handford).
Changes
The following changes were made to libraries to handle certain features:
- simplejson has some changes to automatically encode non-encodable data types via json method if an object responds to it.
- id3reader has some changes to allow it to parse from a buffer, and also to be able to read truncated ID3 tag data.
Tests
To run the tests:
Copyright 2008 Gabriel Handford







