All Projects → rmm5t → googleapis-mirror

rmm5t / googleapis-mirror

Licence: other
A subset mirror of the Google Libraries API CDN meant to be served from your local development machine when internet access is lacking.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to googleapis-mirror

automake
Mirror of git://git.savannah.gnu.org/automake.git
Stars: ✭ 36 (-20%)
Mutual labels:  mirror
pkg ping
Prints or writes the fastest OpenBSD mirror(s); or easily replace the mirror in /etc/installurl which went down.
Stars: ✭ 18 (-60%)
Mutual labels:  mirror
nwayo
🌰 A multi-theme, multi-site, multi-cms front end framework
Stars: ✭ 27 (-40%)
Mutual labels:  mirror
booto
😍A light framework for React Application. Easy for life!
Stars: ✭ 18 (-60%)
Mutual labels:  mirror
Stringfication
🔨 Make all objects to String!
Stars: ✭ 33 (-26.67%)
Mutual labels:  mirror
vasttrafik-api
Mirror of the official Västtrafik API (reseplaneraren) for JavaScript
Stars: ✭ 15 (-66.67%)
Mutual labels:  mirror
libfixmath
Cross Platform Fixed Point Maths Library - mirror of https://code.google.com/p/libfixmath/
Stars: ✭ 16 (-64.44%)
Mutual labels:  mirror
mirror
A "Smart Mirror" Android application
Stars: ✭ 53 (+17.78%)
Mutual labels:  mirror
Fog
Pharo Ethereum Driver
Stars: ✭ 19 (-57.78%)
Mutual labels:  mirror
mirror-leech-telegram-bot
Aria/qBittorrent Telegram mirror/leech bot
Stars: ✭ 1,289 (+2764.44%)
Mutual labels:  mirror
crates-io-cn
Source code of crates-io.cn, also tools sets for sync crates.io
Stars: ✭ 20 (-55.56%)
Mutual labels:  mirror
foundation
This is a mirror from https://github.com/laravel/framework/tree/9.x/src/Illuminate/Foundation
Stars: ✭ 26 (-42.22%)
Mutual labels:  mirror
openconnect
OpenConnect (mirror from official repository with pre-build MinGW binary/libraries)
Stars: ✭ 23 (-48.89%)
Mutual labels:  mirror
kuebikobot
A telegram bot that deploys to heroku/aws and downloads links and torrents and uploads to google drive and returns public share link
Stars: ✭ 127 (+182.22%)
Mutual labels:  mirror
Mirror
Deploy Google and Wikipedia mirror with one command using now.sh.
Stars: ✭ 93 (+106.67%)
Mutual labels:  mirror
quantum-space-buddies
Outer Wilds online multiplayer mod, using Mirror and OWML.
Stars: ✭ 56 (+24.44%)
Mutual labels:  mirror
Pandownload-Copy
Pandownload作者被捕,此项目仅作软件保存用
Stars: ✭ 95 (+111.11%)
Mutual labels:  mirror
proxpi
PyPI caching mirror
Stars: ✭ 19 (-57.78%)
Mutual labels:  mirror
NuGet.CatalogReader
NuGet v3 catalog reader
Stars: ✭ 34 (-24.44%)
Mutual labels:  mirror
libtool
Mirror of git://git.savannah.gnu.org/libtool.git
Stars: ✭ 17 (-62.22%)
Mutual labels:  mirror

Google Library APIs Mirror

This is a subset mirror of the Google Libraries API CDN meant to be served from your local development machine when internet access is lacking.

Instructions

Step 0: Clone this repository

git clone git://github.com/rmm5t/googleapis-mirror.git

Step 1: Run rake sync to download a copy of all the libraries listed in libraries.txt.

You'll probably want to run this step before you lose internet access.

Step 2: Run sudo rake serve or just sudo rake (serve is the default task). This binds a new virtual IP address (172.16.88.88) to the loopback interface, and maps ajax.googleapis.com to it using the OS X Directory Service. It also starts a web server bound to the new virtual IP address such that http://ajax.googleapis.com/ behaves like a local mirror for the Google Libraries.

NOTE: You must run this as sudo. To stop the local web server mirror, just Ctrl-C the rake process.

Alternatives

If you aren't on OS X, you can alternatively map ajax.googleapis.com to 127.0.0.1 using /etc/hosts or any equivalent. You will also need to create a virtual host on your local web server to serve ajax.googleapis.com. Here's an example for Apache:

<VirtualHost *:80>
  ServerName ajax.googleapis.com
  DocumentRoot "/path/to/googleapis-mirror"
  <Directory "/path/to/googleapis-mirror">
     Options Indexes
     Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

Author

Ryan McGeary (@rmm5t)

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].