Simon Willison’s Weblog

Subscribe

What is the ways to view the examples without download the example files in github?

1st December 2013

My answer to What is the ways to view the examples without download the example files in github? on Quora

If you can view the file on raw.github.com you can drop the first dot to view it on rawgithub.com—a free proxy service.

Updated with more details:

Consider joyride for example. They have demo code in a demo directory on Github.

Browse to the HTML demo page, here: https://github.com/zurb/joyride/...

Click the “raw”button to get to here: https://raw.github.com/zurb/joyr...

Now edit the URL in your browser and change the host to

http://rawgithub.com/zurb/joyride/master/demo/demo.html

And you can see the demo without downloading the code.