Architecture
Circles, addressing (to/canReply/canReact), the write path, the FeedItems timeline cache, and federation in brief. Start here.
Kowloon is a federated social platform built on Circles instead of follower graphs, addressed content instead of per-post permission checks, and a single write door -- POST /outbox -- instead of a sprawling set of mutation endpoints. This section documents all of it, in as much detail as we could verify against the actual server, client library, and route source -- not just the parts that make a good pitch.
Architecture
Circles, addressing (to/canReply/canReact), the write path, the FeedItems timeline cache, and federation in brief. Start here.
Activities
Every Activity type Kowloon supports -- envelope shape, required fields, real example payloads, side effects, and known gotchas for each one.
REST API
Every route the server exposes, grouped by resource -- request/response shapes, auth rules, pagination, and where the surface is inconsistent.
Client Library
@kowloon/client -- the isomorphic Node/browser/React Native SDK. One page per sub-client, plus a gotchas page for the sharp edges.
These docs are written from -- and checked against -- the real source, including the rough edges: dead code paths, broken client methods, inconsistent response shapes, and gotchas that aren't obvious from reading any single file in isolation. Where something is confirmed broken or behaves unexpectedly, it's called out directly rather than smoothed over. Each major section ends with a dedicated Gotchas page collecting exactly that.