Bonus: Create CSS files, upload images, and add HTML.
Bonus: Add routes, a database, templating, and accounts! (Check out the pre-existing templates for examples.)
In trouble? Be sure you are using a recent version of Chrome or Firefox (Firefox will likely be more reliable).
Still in trouble? Sorry :/ The WebRTC API is in flux and reliable data channels are not fully reliable -- combined with our eight-week development period, PeerServer is more proof-of-concept than robust.
We built PeerServer in 8 weeks for our Stanford senior project in Spring 2013. PeerServer is a peer-to-peer client server using WebRTC, where your browser acts as a server for other browsers across WebRTC peer-to-peer data channels. You can create a client-server within your browser tab, upload content, and generate dynamic content using a mock-database, templating system, and sessions. Any client browser that connects to your client server will behave as if it is talking to a traditional server while in fact exclusively hitting your server.
This system allows you to quickly create a decentralized, short-lived web application where all the content lives within your browser. The traditional server only performs the initial handshake between the client-browsers and the client-server; your browser serves all other content peer-to-peer.
To learn more, watch the demos below and read the poster. Try picking a name and creating a server!
Get started with your first server! Create, edit, and upload static HTML and CSS. Build a basic dynamic route. Includes a brief technical walkthrough of the system.
Extend a pre-existing template to build a grocery list web app! Explore more advanced features including dynamic routes, the in-browser database, and templates.