Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.86 KB

README.textile

File metadata and controls

29 lines (17 loc) · 1.86 KB

Google AppEngine File/Image Hosting

Purposely simple file/image management application for use on Google AppEngine.

Background

This is a fork of the image-host. This version is now a full fledged file-host. You can upload css and javascript-files when doing this the app will both save a compressed version as well as the original if you wish to edit later from a different location. I have also implemented the blob-store so that you can save ANY kind of file under 50mb.

The Compression for css is YUI and the compression for javascriptfiles is googles closure algorithm which should be the best of them all.

Usage

For the most part it’s just a matter of deploying to AppEngine which I won’t cover here. Read the official documentation for details.

By default images are viewable by everyone but the upload panel is only available to the administration for your account. If you want to make that available to any registered user then change the following line in the app.yaml configuration file.

- url: /.*
  script: backend.py
  login: admin

To this:

- url: /.*
  script: backend.py
  login: required

Licence

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.