7732aec ←0b25710antonApr 18, 2026 api

create architecture.d2 via macOS

A /docs/undefined +56 -0
A /docs/undefined +56 -0
1direction: right
2
3users: Users {
4 shape: person
5}
6
7web: Web Layer {
8 cdn: CDN
9 site: sublimated.com {
10 shape: rectangle
11 }
12 cdn -> site
13}
14
15api: API Layer {
16 rest: api.sublimated.com
17 git: git worker
18 auth: id.sublimated.com
19}
20
21compute: Compute {
22 modal: Modal {
23 typst: Typst Renderer
24 latex: LaTeX Compiler
25 build: Function Builder
26 }
27 dynamic: Dynamic Workers {
28 mdx: MDX Pages
29 marp: Presentations
30 reveal: Reveal.js
31 }
32}
33
34storage: Storage Layer {
35 db: PostgreSQL {
36 shape: cylinder
37 }
38 r2: R2 CAS {
39 shape: cylinder
40 }
41 kv: KV Cache {
42 shape: cylinder
43 }
44}
45
46users -> web
47web.site -> api.rest
48web.site -> api.git
49api.rest -> storage.db
50api.rest -> storage.r2
51api.git -> storage.db
52api.git -> storage.r2
53api.rest -> compute.modal
54api.rest -> compute.dynamic
55compute.modal -> storage.r2
56compute.dynamic -> storage.kv