Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .powenv-tmpl
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 app.rb
Octocat-spinner-32 config.ru
README.md

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

Something went wrong with that request. Please try again.