← Back to Home

TryGhost/Ghost

Architecture Visualization

Available Flows

Architecture Diagram

Flow Steps

1
AdminUI
Author clicks 'Publish' button after writing post
2
AdminAPI
Validates auth session and creates post
📤 POST /ghost/api/admin/posts/ Authorization: Ghost eyJ... Content-Type: application/json
3
Database
Inserts new post record with metadata
📤 INSERT INTO posts (title, html, feature_image, status, published_at) VALUES ('My Post', '<p>Content</p>', 'image.jpg', 'published', NOW())
4
Cache
Clears cached post listings and feeds
📤 DELETE FROM cache WHERE key LIKE 'posts:%'
5
ActivityPubAPI
Notifies federated followers of new post
📤 POST https://mastodon.social/inbox Content-Type: application/activity+json
6
AdminUI
Shows success notification and redirects to post
📥 201 Created Location: /ghost/#/editor/post/123