Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
View drops from CloudApp
Ruby JavaScript
Branch: master
Pull request Compare This branch is 137 commits ahead of chronzz:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
public
spec
views
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
config.ru

README.md

Viso

Viso powers all public CloudApp pages. It displays images, redirects bookmarks to their URL, and provides a download button for all other file types. It's a thin client that at its heart is a simple Sinatra app which handles drop requests, pings the CloudApp API for its details, and renders or redirects according to the type of drop.

The power of Viso lies in its ability to be fully personalized. Don't like the default CloudApp image viewer? Tired of waiting for an HTML5 video player? No more! Fork the project, hack away, and deploy. That's all there is to it.

Prerequisites

Viso's needs are basic: Ruby 1.9.2 and Bundler. Using RVM is highly recommended but not required. Assuming RVM is installed, getting up and running with Ruby 1.9.2 is as simple as:

rvm install 1.9.2

After Ruby has compiled, clone the project and create a stub rvmrc.

git clone git@github.com:cloudapp/viso.git
cd viso
rvm use 1.9.2 --rvmrc

Getting Started

Viso uses Bundler to manage its dependencies. Install everything and kick start shotgun to run Viso locally.

gem install bundler
bundle install
bundle exec shotgun

Browse to http://localhost:9393. If you're redirected to http://getcloudapp.com, it's alive! Now grab one of your drops and replace the "cl.ly" domain with "localhost:9393" and watch the magic happen. Or, if you're lazy, just click here.

Working

Crack open the image viewer to start hacking some markup and the stylesheet to get to stylin'. Of course, seeing as how this is your CloudApp, you're free to completely destroy everything and rebuild from the ground up. Have at it.

Parting Words

We'd love to see what you're doing with Viso. Get a hold of us and show it off! Did you find something broken? Open an issue or send over a pull request.

License

Viso is released under the MIT license.

Something went wrong with that request. Please try again.