Simple rack app for fake-ajax-file-uploads with progress monitoring
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
public
tmp
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
unicorn.conf.rb

README.md

Superupload

Simple rack app for uploading files and giving feedback about the upload progress.

Installation

$ bundle install
$ unicorn -c unicorn.conf.rb

Preparation

In order to serve the application through port 80, connect it to e.g. Apache via a reverse proxy.

# Partial Apache configuration
<VirtualHost *:80>
    ServerName www.superupload.com
    DocumentRoot /webapps/superupload.com/public
    PassengerEnabled off
    ProxyPass / http://127.0.0.1:8080
    ProxyPassReverse / http://127.0.0.1:8080
</VirtualHost>

Notes

This application requires to be run under a Unicorn webserver. Unicorn allows the disabling of the temporary file backing store of Rack, so streaming rack.input is possible. Other servers block the application until all data has been sent from the client.

Usage

Point your browser to superupload.com