jbourassa / mirrorin

Mirrorin : serves files that are hosted on GitHub with the proper mime-type.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirrorin

Mirrorin serves files that are hosted on GitHub (or elsewhere actually) with the proper mime-type. I wrote Mirrorin so I do not have to host and sync html demos / documentation when the code is available on GitHub.

Usage

Link the files you want to distribute to http://your_domain.everydayimmirror.in/your_url.

Example

  • Bootstrap documentation:
    https://raw.github.com/twitter/bootstrap/master/docs/index.html
    http://raw.github.com.everydayimmirror.in/twitter/bootstrap/master/docs/index.html

Features

  • Add proper Content-Type header according to file extension
  • Nope, that's it, no second feature

Similar

@ryt attacks the same problem from a different angle with githtml

About

Mirrorin : serves files that are hosted on GitHub with the proper mime-type.


Languages

Language:Ruby 100.0%