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 do it.
rvm install 1.9.2
After Ruby has compiled, clone the project and create a stub rvmrc.
git clone email@example.com:cloudapp/viso.git cd viso rvm use 1.9.2 --rvmrc
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.
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.