{"id":618,"date":"2012-09-25T13:22:42","date_gmt":"2012-09-25T12:22:42","guid":{"rendered":"http:\/\/blogs.silicontechnix.com\/?p=618"},"modified":"2012-09-25T13:22:42","modified_gmt":"2012-09-25T12:22:42","slug":"mirror-of-the-google-libraries-api-cdn","status":"publish","type":"post","link":"https:\/\/blogs.silicontechnix.com\/?p=618","title":{"rendered":"Mirror of the Google Libraries API CDN"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>A subset mirror of the Google Libraries API CDN meant to be served from your local development machine when internet access is lacking. This will increase your overall browsing experience. (for sites like wordpress, Blogspot, Google products etc)<\/p>\n<h2><a href=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"619\" data-permalink=\"https:\/\/blogs.silicontechnix.com\/?attachment_id=619\" data-orig-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror.png\" data-orig-size=\"361,63\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"google-mirror\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-300x52.png\" data-large-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror.png\" class=\"aligncenter size-full wp-image-619\" title=\"google-mirror\" src=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror.png\" alt=\"\" width=\"361\" height=\"63\" srcset=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror.png 361w, https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-300x52.png 300w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/a><\/h2>\n<p><!--more-->This is a fork of rmm5t\/googleapis-mirror project (so all credit goes to <a href=\"http:\/\/ryan.mcgeary.org\">Ryan McGeary<\/a> @rmm5t)<\/p>\n<p><a href=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-clone.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"620\" data-permalink=\"https:\/\/blogs.silicontechnix.com\/?attachment_id=620\" data-orig-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-clone.png\" data-orig-size=\"899,41\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"google-mirror-clone\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-clone-300x13.png\" data-large-file=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-clone.png\" class=\"aligncenter  wp-image-620\" title=\"google-mirror-clone\" src=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2012\/09\/google-mirror-clone.png\" alt=\"\" width=\"654\" height=\"41\" \/><\/a><\/p>\n<dl>\n<dt>Click the ZIP for downloading the package file, ruby and gem installation required<\/dt>\n<dt><\/dt>\n<dt><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#Libraries\">Available Libraries<\/a><\/dt>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#angularjs\">AngularJS<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#chrome-frame\">Chrome Frame<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#dojo\">Dojo<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#ext-core\">Ext Core<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#jquery\">jQuery<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#jquery-ui\">jQuery UI<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#mootools\">MooTools<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#prototype\">Prototype<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#scriptaculous\">script_aculo_us<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#swfobject\">SWFObject<\/a><\/dd>\n<dd><a href=\"http:\/\/developers.google.com\/speed\/libraries\/#webfont\">WebFont Loader<\/a><\/dd>\n<dd><\/dd>\n<\/dl>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Instructions<\/strong><\/span><\/p>\n<p><strong>Step 0:<\/strong> Clone this repository<\/p>\n<pre><code>git clone git:\/\/github.com\/babarnazmi\/googleapis-mirror.git<\/code><\/pre>\n<p><strong><br \/>\nStep 1:<\/strong> Run <code>rake sync<\/code> to download a copy of all the libraries listed in <code>libraries.txt<\/code>.<\/p>\n<p><em>You&#8217;ll probably want to run this step before you lose internet access.<\/em><\/p>\n<p><strong><br \/>\nStep 2:<\/strong> Run <code>sudo rake serve<\/code> or just <code>sudo rake<\/code> (serve is the default task). This binds a new virtual IP address (172.16.88.88) to the loopback interface, and maps <code>ajax.googleapis.com<\/code> to it using the OS X Directory Service. It also starts a web server bound to the new virtual IP address such that <a href=\"http:\/\/ajax.googleapis.com\/\">http:\/\/ajax.googleapis.com\/<\/a> behaves like a local mirror for the Google Libraries.<\/p>\n<p>Kindly refer to <strong>README.markdown<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; A subset mirror of the Google Libraries API CDN meant to be served from your local development machine when internet access is lacking. This will increase your overall browsing experience. (for sites like wordpress, Blogspot, Google products etc)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[95,131],"tags":[272,268,269,21,271,270],"class_list":["post-618","post","type-post","status-publish","format-standard","hentry","category-system-administration","category-tools","tag-ajax-googleapis-com","tag-api","tag-cdn","tag-google","tag-google-mirror","tag-mirror"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p12j6H-9Y","_links":{"self":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=618"}],"version-history":[{"count":2,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/618\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/618\/revisions\/622"}],"wp:attachment":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}