+1
-1
.example.env
+1
-1
.example.env
+4
-4
README.md
+4
-4
README.md
···
1
# tangled-pages
2
3
-
This gives you a way to host a website via a tangled repo.
4
You can run it as a cloudflare worker or as an express server.
5
6
-
Create .env:
7
8
```
9
KNOT_DOMAIN=knot.gracekind.net
10
OWNER_DID=did:plc:p572wxnsuoogcrhlfrlizlrb
11
-
REPO_NAME=static-site-example
12
```
13
14
-
Run:
15
16
```bash
17
npm install
···
1
# tangled-pages
2
3
+
A simple way to host a website via a tangled repo.
4
You can run it as a cloudflare worker or as an express server.
5
6
+
Create .env pointing to your repo:
7
8
```
9
KNOT_DOMAIN=knot.gracekind.net
10
OWNER_DID=did:plc:p572wxnsuoogcrhlfrlizlrb
11
+
REPO_NAME=tangled-pages-example
12
```
13
14
+
Run server:
15
16
```bash
17
npm install
-9
example/404.html
-9
example/404.html
-9
example/index.html
-9
example/index.html
+2
-2
test/knot-client-test.js
+2
-2
test/knot-client-test.js