Imagine this: a Web without servers ??? Tara Vancil The Web, p2p - - PowerPoint PPT Presentation
Imagine this: a Web without servers ??? Tara Vancil The Web, p2p - - PowerPoint PPT Presentation
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 -
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
<h1> Hello, world! </h1>
index.js
var app = new Vue({ el: ‘#hello’, data: { message: ‘Hello, world!’ } })
index.html
<h1 id=”hello”> {{ message }} </h1>
index.html
<h1> Hello, world! </h1>
index.js
var app = new Vue({ el: ‘#hello’, data: { message: ‘Hello, world!’ } })
index.html
<h1 id=”hello”> {{ message }} </h1>
mywebsite.com
Hello, world!
Servers suck
2006 2018 1994 2000 2012
@taravancil
- Sysadmins
- Occasionally me
People who enjoy running servers
Everyone else
@taravancil
3 billion
@taravancil index.html
✓ ✓ ✓ ? ? ?
@taravancil
2018 1990
The Web...it’s alive!
28 years
@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
- sunset.jpg
index.html index.js styles.css
}
A website!
@pfrazee @mafintosh @ t a r a v a n c i l
beakerbrowser.com
Beaker Browser
p2p://mywebsite.com
Hello, world!
???
The Web, but make it peer-to-peer
Dat
datprotocol.com • datproject.org Peer-to-peer hypermedia protocol for syncing and browsing files on-demand
dat://mywebsite.com
Hello, world!
The peer-to-peer Web
- 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
- pencollective.com/beaker
Thank you!
@taravancil
- jsconfeu.taravancil.com
- beakerbrowser.com
^ Try these over dat://