Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (6 sloc) 282 Bytes Download Server

This is a simple Sinatra app running on Heroku that tells Mixpanel about the download and then forwards the request to S3 to serve the actual file.

Running Locally

$ bundle install
$ MIXPANEL_TOKEN=asdf123456 rackup

Easy as that. Enjoy.