5 minute fork

As described on hackernews:

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.


Heard of 10 minute email? Well this is the same thing, except for github repos.

The number of times I've come across a cool demo, only to be faced with a github repo and no live link - it just bums me out.

So I made this (quickly - literally about 90 minutes), which reads the url, and forks the project. If the url is idle for 5 minutes, then it's automatically discarded and swept under the carpet. I wrote up more detail about 5minfork on my blog if you're interested.

Want to say thanks? Flattr this

Super huge thanks to Jake Champion for PRs and donating hosting to 5minfork ❤️️

How to fork for 5 minutes

Simply take a public github url and swap out the https://github.com for http://5minfork.com, add /tree/branch-name if you want a specific branch, wait a moment for the project to be cloned, and then you'll be redirected to a unique url which will serve up static content from the project.

Browser Tools

Users contributed tools that make creating a 5minfork easier. Below shows the Chrome extension and user.script in action:

Fork this?

If you're interested in the code, have found a bug, want to fix a bug, have written a browser extension (go on - you know you want to) - the code is freely available on github: https://github.com/remy/5minutefork

Enjoy — @rem