This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
/
index.html
81 lines (78 loc) · 3.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/assets/styles.css">
<link rel="stylesheet" href="/assets/syntax.css">
</head>
<body>
<main>
<div class="hero">
<h1>Unwalled.Garden</h1>
<p>An open protocol for building social Web applications.</p>
<p>Part of the <a href="https://beakerbrowser.com" title="Beaker Browser">Beaker browser</a> project.</p>
</div>
<div class="col2">
<div class="card how-does-it-work">
<div class="card-section">
Every user is a website.
</div>
<div class="card-section">
Every record is a file.
</div>
<div class="card-section">
Users follow each other's sites to sync their files.
</div>
<a href="/docs/how-does-it-work" class="card-footer">
» How it works.
</a>
</div>
<div class="card code">
<pre class="card-section">
<span class="hljs-keyword">import</span> {posts, graph} <span class="hljs-keyword">from</span> <span class="hljs-string">'dat://unwalled.garden/index.js'</span>
<span class="hljs-keyword">await</span> graph.follow(<span class="hljs-string">'dat://beakerbrowser.com'</span>)
<span class="hljs-keyword">await</span> posts.add(<span class="hljs-string">'Hello, world!'</span>)
<span class="hljs-comment">/*
The API wraps the filesystem
to provide an easy-to-use interface.
*/</span></pre>
</div>
</div>
<div class="col4">
$NAV
</div>
<div class="faq">
<h2>FAQ</h2>
<div>
<h3>How does unwalled.garden work?</h3>
<p><a href="/docs/how-does-it-work">Read the explainer here.</a></p>
</div>
<div>
<h3>How can I use unwalled.garden?</h3>
<p>Unwalled.Garden is currently implemented in the <a href="https://beakerbrowser.com">Beaker browser</a>. You need version 0.9 or later.</p>
</div>
<div>
<h3>Does unwalled.garden work outside of Beaker?</h3>
<p>Not currently.</p>
</div>
<div>
<h3>Can unwalled.garden be used with HTTP?</h3>
<p>There are no technical barriers to using HTTP, but we haven't completed that implementation yet. We currently use the <a href="https://dat.foundation">Dat protocol</a> because it allows users to publish websites from their own device using p2p networking.</p>
</div>
<div>
<h3>Can I use my own schemas?</h3>
<p>Not yet, but the schemas are identified by URLs and so it will eventually be possible for other namespaces to interoperate with unwalled.garden.</p>
</div>
<div>
<h3>Can I add schemas to Unwalled.Garden?</h3>
<p>You can request new schemas and debate existing ones at the <a href="https://github.com/beakerbrowser/unwalled.garden">Github Repo</a>.</p>
</div>
<div>
<h3>Who decides which schemas are included?</h3>
<p>For now, <a href="https://twitter.com/pfrazee">Paul Frazee</a> is running the schema definitions as part of his work on the <a href="https://beakerbrowser.com" title="Beaker Browser">Beaker browser</a>.</p>
</div>
</div>
</main>
</body>
<script type="module" src="/assets/admin.js"></script>
</html>