A tiny Node.js server for serving of files normally stored on other hosts.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 20 commits ahead of s4y:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hosts
.gitignore
.gitmodules
Readme.md
lib.js
package.json
rorrim
server.js
todo.txt

Readme.md

rorrim | mirror

rorrim is a tiny server that allows offline development without dependencies on CDN's

Simply install with npm install -g rorrim

Then run rorrim

Currently there are two ways to add files to rorrim's cache:

  • the (potentially buggy) command line flag rorrim -i "http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"
  • and by manually copying files into a directory under ~/.rorrim/hosts named the same as the hostname for example ~/.rorrim/hosts/cdnjs.cloudflare.com

Eventually it will be easier to interact with rorrim, but this is just an "MVP".

Running rorrim --help will show you some basic usage