What this project does really wasn't clear to me until I tried reidrac's canvas-raycasting URL, so here is a (hopefully more clear) explanation:
If a github repo has an index.html file and you click on it, github will show you the source instead of the webpage. 5minfork shows you the webpage so that you can have an idea of what the repo is about.
I understand users' need for this, but as a this is your code, why don't you also push it to the gh-pages branch? That would make the exact same thing available at http://reidrac.github.com/canvas-raycasting (and then add a link to your README)
I actually hosted a demo for that repo in a different server.
I'm not saying it's useful to host your own demo (although it could be a temporarily demo deployed on demand). I think 5minfork is cool if you want to try a project and the repo owner didn't put a demo website, that's the problem the author wants to solve and I think it's a great idea specially if you can't get the code and try it locally (mobile browsing?).
I used to try to do that with my projects, but I found keeping the gh-pages branch in sync with my master just enough of a pain that it quickly got neglected. I'm not saying you shouldn't, and personally, I'd rather there be a hosted example of the repo - I just made 5minfork for those ones that (I often found) didn't have the live example.
Great idea. I guess one could even do this with rails / django / node projects as long as they're being run in a sandbox, but that's probably way more work.
Nevertheless, great. It happens so often that I see something on Github that simply lacks a live demo. Thanks!
Is there a generally accepted term for the Domain Swap as User Interface that this uses? I've come across the same idea [1] on several different sites/services and was just curious.
1. youtube.com -> youtuberepeater.com and reddit.com/r/aww -> imgur.com/r/aww
I can see the value in this, but I probably wouldn't use it. I run a WAMP server on my desktop and have made an Alias in my httpd.conf to my Github Repos directory, allowing me to cruise in and see example html pages very easily. I just clone the repo in windows, and then I can use /git/REPO/coolthing.js in a script tag. I use a chrome extension for rendering README.md (markdown) files.
Apparently, 5 Minute Fork clones the whole repo and serves it up at its own subdomain and htmlpreview doesn't, so for example some single page JS apps (the one I tried is my own https://github.com/mikecrittenden/toogles) will work in 5 min fork and not htmlpreview.
It's something I did give a little thought to, but it's simply that all new subdomains create a new router that only allow for static content and directory listings. So nothing's being executed server side.
A gave a little thought outside of that, but not much. I'm all ears if I've accidentally opened up a bag of worms!
If a github repo has an index.html file and you click on it, github will show you the source instead of the webpage. 5minfork shows you the webpage so that you can have an idea of what the repo is about.