# repotheweb **Repository Path**: mirrors_mozilla/repotheweb ## Basic Information - **Project Name**: repotheweb - **Description**: INACTIVE - http://mzl.la/ghe-archive - RePo is a new HTML5 technique for decentralizing the web. Repo The Web is an experimental shim to provide cross browser support. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Repo the Web# A JavaScript shim which provides the registerProtocolHandler JavaScript API to browsers which have not implemented it yet. Unlike most polyfills, this one *must* be centrally hosted as it uses localStorage to maintain protocol registrations. Demo: 1. Go to [Fake Rhapsody](http://austinking.us/fake_rhapsody/) and "Install Rhapsody". 2. Go to [Fake Music Blog](http://ozten.com/random/fake_blog_post/) and click one of the music links. Note: Fake bitcoin link to see what an unknown protocol does. 3. [Repo The Web config](http://bewehtoper.org/config.html) to see installed handlers or to delete them all. ##RePo Shim Usage## ###A Music Service### ###A Blog with Music Links###
Jimmie's The Cry of Love
TODO add meta tag example ##Hacking on Demo## If you want to work localy on the demo, here is one way to do it. $ sudo emacs /etc/hosts Add the following to 127.0.0.1 entry 127.0.0.1 localhost my-machine dev.rhapsody.com dev.repotheweb.org music-blog.com $ cp src/config.js-dist src/config.js $ emacs bin/update.sh $ bin/update.sh # new terminal 1 $ cd www/repotheweb.org/ $ python -m SimpleHTTPServer 8001 # new terminal 2 $ cd www/rhapsody.com/ $ python -m SimpleHTTPServer 8002 # new terminal 3 $ cd www/music-blog.com/ $ python -m SimpleHTTPServer 8003 # build $ cd src $ node ../lib/r.js -o baseUrl=. name=../lib/almond.js include=include out=../www/repotheweb.org/include.js wrap=true optimize='' # Optional $ node ../lib/r.js -o baseUrl=. name=../lib/almond.js include=include out=../www/repotheweb.org/include.min.js wrap=true * [Fake Rhapsody](http://dev.rhapsody.com:8002/) and "Install Rhapsody". * [Fake Music Blog](http://music-blog.com:8003/index.html) to use music links. Note: Fake bitcoin link to see what an unknown protocol does. * [Repo The Web config](http://dev.repotheweb.org:8001/config.html) to see installed handlers.