Updated April 2026: I rebuilt the site from the bottom up, and so I have replaced the links and images in this post.
4
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.horizontalRule
5
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
51
byteStart
39
features
0
uri
http://renderg.host
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
135
byteStart
128
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
I'm rebuilding my own personal site at renderg.host as a learning project—a simple React site where I can control everything, without depending on increasingly expensive locked-in platforms.
6
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
I was a happy Webflow+Wordpress user for a while. As someone still learning web dev, the builder UX is genuinely great, but their pricing? Not so much.
7
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
53
byteStart
48
features
0
uri
https://ghost.org/
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
64
byteStart
58
features
0
uri
https://strapi.io/
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
144
byteStart
137
features
0
uri
https://leaflet.pub
$type
pub.leaflet.richtext.facet#link
3
index
byteEnd
176
byteStart
146
features
0
$type
pub.leaflet.richtext.facet#italic
4
index
byteEnd
205
byteStart
197
features
0
$type
pub.leaflet.richtext.facet#italic
5
index
byteEnd
227
byteStart
216
features
0
uri
https://atproto.com/
$type
pub.leaflet.richtext.facet#link
6
index
byteEnd
319
byteStart
311
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
This week, as I considered my CMS options (like Ghost and Strapi), I had an epiphany: I'm already publishing to multiple publications on Leaflet. Why waste time replicating it? Why not connect all my stuff together? AT Protocol provides everything I need—for free—and I retain ful…
No vendor lock-in, no proprietary formats, no surprise pricing changes, just my stuff living in my data repo (hosted for now on Bluesky Eurosky's PDS). So rather than worry about if I could or should, I remembered I can just do things and gave it a shot! It's going really well so…
I can write articles on Leaflet, and they automatically appear on my site. Leaflet is essentially my CMS, even though it wasn't designed to do this and has no features specifically for headlessness.
It's surprisingly straightforward—no complicated backend, no database, no API keys, just simple HTTP requests to public endpoints. Because everything lives in my data repo, I could switch to any other AT Proto compatible hosting tomorrow and nothing (or so they tell me) would bre…
22
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.blockquote
facets
0
index
byteEnd
18
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
57
byteStart
50
features
0
uri
https://eurosky.tech/
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
69
byteStart
62
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Update April 2026: I recently switched hosting to Eurosky and nothing broke when I make this single change to my site's code.
Update April 2026: Leaflet migrated to the standard.site lexicon (with Offprint, PCKT and others) so my site now references the site.standard.document and site.standard.publication collections.
30
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
22
byteStart
15
features
0
uri
https://atproto.com/guides/glossary#record
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
69
byteStart
62
features
0
$type
pub.leaflet.richtext.facet#bold
2
index
byteEnd
87
byteStart
75
features
0
$type
pub.leaflet.richtext.facet#bold
3
index
byteEnd
97
byteStart
92
features
0
uri
https://atproto.com/guides/glossary#blob
$type
pub.leaflet.richtext.facet#link
plaintext
Then, to fetch records, I had to build XRPC URLs for fetching records from collections, and blobs of binary data (like images):
This keeps my hooks consistent. They return data, loading state, and potential errors in the same shape. Types are crucial to understanding what I am actually fetching. Looking at PublicationValue, I can see that publications have a base_path and an optional icon. Documents refer…
39
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Once I had types defined, everything else clicked into place.
40
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
41
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
10
byteStart
5
features
0
uri
https://pdsls.dev/
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
22
byteStart
14
features
0
uri
https://bsky.app/profile/juli.ee
$type
pub.leaflet.richtext.facet#link
plaintext
💚 PDSls by @Juli.ee makes it soooo easy to explore my Atmosphere data, understand the content (which kept in collections like my blog posts and book reviews) and how their schema are structured.
42
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
43
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
Fetching Data
44
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
29
byteStart
25
features
0
uri
https://www.w3schools.com/react/react_hooks.asp
$type
pub.leaflet.richtext.facet#link
plaintext
I also created a generic hook that can fetch my records from any collection in the PDS.
This is just standard React stuff—fetch on mount, handle loading states, catch errors. Nothing fancy 🤷♂️ and still broken in places.
47
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
31
byteStart
20
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
49
byteStart
41
features
0
$type
pub.leaflet.richtext.facet#bold
2
index
byteEnd
85
byteStart
74
features
0
$type
pub.leaflet.richtext.facet#bold
3
index
byteEnd
92
byteStart
89
features
0
uri
https://atproto.com/specs/at-uri-scheme
$type
pub.leaflet.richtext.facet#link
plaintext
Here's where it got interesting! Leaflet articles reference their Leaflet publication by URI, so I needed to fetch multiple collections, squish them together, and do a little transformation.
48
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.code
language
typescript
plaintext
export function fetchPublications(): FetchResult<Document[]> {
const { data: publicationsData } = fetchRecords(ATPROTO_COLLECTIONS.PUBLICATION);
const { data: documentsData } = fetchRecords(ATPROTO_COLLECTIONS.DOCUMENT);
useEffect(() => {
// Create a lookup map of publ…
syntaxHighlightingTheme
github-dark-default
49
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
105
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
This is specific to me using Leaflet as my CMS and you may have to do this differently for other sources.
50
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
51
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
Connecting Components
52
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
58
byteStart
48
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Now, using it in pages is dead simple. Here's a simplified example of how I use it on the writing page on my site, wiring it into a dedicated card component.
No API keys, no auth flow, no schemas to maintain. Just fetch and render! Maybe there's a better way, but for now, this gives me what I want. Do look at the repo as I skimmed a lot for the sake of brevity in this post which is already quite long.
57
$type
pub.leaflet.pages.linearDocument#block
block
src
https://github.com/renderghost/portfolio/
$type
pub.leaflet.blocks.website
title
GitHub - renderghost/portfolio: My design portfolio website
description
My design portfolio website. Contribute to renderghost/portfolio development by creating an account on GitHub.
My content lives on my PDS. If Leaflet disappeared tomorrow (it won't 💚 but hypothetically), I could switch to any other AT Protocol publishing tool or build my own.
62
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
0
index
byteEnd
12
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
No CMS bills
63
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
I'm not paying $20-50 a month for a headless CMS. My PDS hosts my content, and reading from it is free. Also, I'm not using any of Leaflet's resources.
64
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
0
index
byteEnd
19
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
Content portability
65
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Because it's all AT Protocol, my writing could theoretically show up in any compatible app. It's genuinely portable in a way that CMS-locked content never is.
66
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
0
index
byteEnd
20
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
Learning opportunity
67
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Building this taught me way more about web protocols and data fetching than I would have learned using an off-the-shelf CMS.
68
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
0
index
byteEnd
7
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
Control
69
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
8
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
28
byteStart
20
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
I decide how to use my stuff. No fighting with a another company's opinions about how things should work for me.
70
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
71
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
Limitations
72
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.unorderedList
children
0
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
14
byteStart
5
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
It's read-only so I have to write on Leaflet, not in my own admin panel.
1
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
18
byteStart
11
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
29
byteStart
26
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
There's no caching layer (yet) so every page load hits the PDS (For my low-traffic personal site, this is absolutely fine).
If my PDS goes down, so does my writing page. I guess the same is true of any 3rd party CMS (especially if it's hosted on AWS amirite 👹).
73
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
20
byteStart
17
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
96
byteStart
83
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
I needed to do a LOT of work to understand data structures: It's definitely not as plug-and-play as a traditional CMS. For me, these trade-offs are totally worth it and it was fun to get through it all.
74
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
75
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
Could You Do This?
76
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
21
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
63
byteStart
54
features
0
$type
pub.leaflet.richtext.facet#italic
2
index
byteEnd
96
byteStart
86
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Fuck yeah you could! The AT Protocol documentation is excellent, and the community is incredibly helpful! Use AI if you need to. You don't need to be a professional or expert—I'm not! Push things forwards and try stuff out!
77
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
27
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
34
byteStart
27
features
0
$type
pub.leaflet.richtext.facet#bold
1
uri
https://bsky.app/profile/renderg.host
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
62
byteStart
34
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
Leave a comment or @ me on Bluesky if you learn something new.
78
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
79
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.horizontalRule
80
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
3
plaintext
Thanks to
81
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
14
byteStart
11
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
This would not exist without the incredible work of others
82
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.unorderedList
children
0
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
20
byteStart
4
features
0
uri
https://bsky.app/profile/atproto.com
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
97
byteStart
84
features
0
uri
https://atproto.com
$type
pub.leaflet.richtext.facet#link
plaintext
The AT Protocol team for building something genuinely open and well-documented. The official docs are some of the best technical documentation I've encountered.
1
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
7
byteStart
0
features
0
uri
https://atproto.at/
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
14
byteStart
11
features
0
uri
https://bsky.app/profile/sri.xyz
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
24
byteStart
19
features
0
uri
https://pdsls.dev/
$type
pub.leaflet.richtext.facet#link
3
index
byteEnd
34
byteStart
28
features
0
uri
https://bsky.app/profile/juli.ee
$type
pub.leaflet.richtext.facet#link
plaintext
Taproot by Sri and PDSls by Juliet were invaluable for exploring and understanding how my PDS is structured. Being able to visually browse my own data made everything click.
2
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
7
byteStart
0
features
0
uri
https://leaflet.pub
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
18
byteStart
11
features
0
uri
https://bsky.app/profile/schlage.town
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
26
byteStart
20
features
0
uri
https://bsky.app/profile/cozylittle.house
$type
pub.leaflet.richtext.facet#link
3
index
byteEnd
37
byteStart
32
features
0
uri
https://bsky.app/profile/awarm.space
$type
pub.leaflet.richtext.facet#link
plaintext
Leaflet by Brendan, Celine, and Jared for their openness and for building my CMS for free 🤣!
3
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
13
byteStart
0
features
0
uri
https://standard.site/
$type
pub.leaflet.richtext.facet#link
plaintext
Standard Site for making the Atmosphere more unified.
4
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
11
byteStart
0
features
0
uri
https://bsky.app/profile/danabra.mov
$type
pub.leaflet.richtext.facet#link
1
index
byteEnd
102
byteStart
72
features
0
uri
https://overreacted.io/open-social
$type
pub.leaflet.richtext.facet#link
2
index
byteEnd
177
byteStart
158
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
Dan Abramov for the inspiration that we can just do things, and for his excellent guide to AT Protocol that helped me understand the fundamentals and realise I can just do stuff!
And most importantly, to my girly for being so patient while I wrote this thing at speed while she waited for us to go out for a walk this fine cold Berlin Sunday morning.