Imagine this: a Web without servers
???
Tara Vancil The Web, p2p protocols, nail art - taravancil.com - beakerbrowser.com @taravancil
taravancil.com/nails
Tara Vancil The Web, p2p protocols, nail art - taravancil.com - beakerbrowser.com @taravancil
$ npm install -D webpack
$ npm install -D webpack $ vim package.json
$ npm install -D webpack $ vim package.json $ npm run build
$ npm install -D webpack $ vim package.json $ npm run build $ ssh -i ~/.ssh/mykey me@192.168.2.1
$ npm install -D webpack $ vim package.json $ npm run build $ ssh -i ~/.ssh/mykey me@192.168.2.1 // ...?!
index.html index.js var app = new Vue({ <h1> el: ‘#hello’, Hello, world! data: { </h1> message: ‘Hello, world!’ } }) index.html <h1 id=”hello”> {{ message }} </h1>
index.html index.js mywebsite.com var app = new Vue({ <h1> el: ‘#hello’, Hello, world! Hello, world! data: { </h1> message: ‘Hello, world!’ } }) index.html <h1 id=”hello”> {{ message }} </h1>
Servers suck
1994 2000 2006 2012 2018 @taravancil
People who enjoy running servers - Sysadmins - Occasionally me Everyone else @taravancil
3 billion
index.html @taravancil
? ? ? ✓ ✓ ✓ @taravancil
28 years The Web...it’s alive! 1990 2018 @taravancil
Facebook Free Basics https://www.aljazeera.com/indepth/opinion/2017/08/free-basics-facebook-failure-digital-equality-170828083453067.html
youtube.com/watch?v=vji_6ofE5Wg
Glitch neocities.org glitch.com
We’ve been here before
Publishing is core to the Web’s ethos. How can we equalize access for the long term?
+ New website
mywebsite.com Hello, world!
Let’s turn our devices into servers!
Let’s turn our devices into servers!
Personal devices are not servers - Not always on (sleeping, dead battery, etc.) - No dedicated IP address - Can’t handle traffic @taravancil
+ New website
!==
Peer-to-peer
} / assets/ -- images/ - avatar.jpg A website! - sunset.jpg index.html index.js styles.css
@mafintosh @pfrazee i l c n a v a r a t @
Beaker Browser beakerbrowser.com
p2p://mywebsite.com Hello, world! ???
The Web, but make it peer-to-peer
Dat Peer-to-peer hypermedia protocol for syncing and browsing files on-demand datprotocol.com • datproject.org
The peer-to-peer Web dat://mywebsite.com Hello, world!
1. One-click publishing
1. One-click publishing 2. Supercharged View Source
1. One-click publishing 2. Supercharged View Source 3. New Web APIs
1. One-click publishing ✓ 2. Supercharged View Source ✓ 3. New Web APIs
It’s files all the way down
profile.json { "name":"Tara Vancil", "bio":"Peer-to-peer Web nerd.”, "avatar":"avatar.png" }
Beaker Web APIs var website = new DatArchive(‘dat://jsconfeu.taravancil.com’) website.readFile(‘index.html’) // <html>...</html> website.writeFile( api.html’, ‘<h1>Hello from the console</h1>’ )
1. One-click publishing ✓ 2. Supercharged View Source ✓ 3. Cool Web APIs ✓
Talk to me! github.com/beakerbrowser beakerbrowser.com/install opencollective.com/beaker
Thank you! @taravancil - jsconfeu.taravancil.com - beakerbrowser.com ^ Try these over dat://
Recommend
More recommend