tsx --env-file=.env src/index.ts
# serves on localhost:3001
syntaxHighlightingTheme
rose-pine
10
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
228
byteStart
188
features
0
uri
https://sites.yourdomain.com/did:plc:123abc/miku
$type
pub.leaflet.richtext.facet#link
plaintext
I don't have a way to completely backfill from the network itself on its own yet, but if you sign in, it will backfill from your PDS if you have sites, and if someone requests a site like sites.yourdomain.com/did:plc:123abc/miku, it will check your cache, see its not in there, th…
11
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
12
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
If you need a caddy config:
13
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.code
language
json
plaintext
{
on_demand_tls {
ask http://localhost:8000/api/domain/registered
}
}
# Wisp subdomains and DNS hash routing
*.dns.wisp.place *.wisp.place {
reverse_proxy localhost:3001
}
# Main web interface and API
wisp.place {
reverse_proxy localhost:8000
}
# Custom…
syntaxHighlightingTheme
rose-pine
14
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
BTW: wisp-cli can deploy to your PDS and serve from your PDS directly (or serve anyone's site for that matter)
15
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
28
byteStart
0
features
0
uri
https://docs.wisp.place/cli/
$type
pub.leaflet.richtext.facet#link
plaintext
https://docs.wisp.place/cli/
16
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.code
language
shellscript
plaintext
# Download and make executable
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
chmod +x wisp-cli
# Deploy your site
./wisp-cli deploy your-handle.bsky.social \
--path ./dist \
--site my-site
# Serve your site - watches firehose…
syntaxHighlightingTheme
rose-pine
17
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
326
byteStart
323
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
347
byteStart
344
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
In a way, this should show that AT Protocol can be decentralized but we have to actually make the effort to make it so. I don't want to harp on this because I've become extremely jaded about this the past month, but between mega-pdses and issues I've had working around extremely …