{
  "x": {
    "defaultLimit": 280,
    "rules": "twitter-text v3 weighting: NFC; U+0000-U+10FF and General Punctuation subsets count 1, other code points 2, each emoji 2, each link 23; ambiguous links counted high.",
    "endpoints": [
      "/v1/x/thread",
      "/v1/x/check"
    ]
  },
  "bluesky": {
    "name": "Bluesky",
    "defaultLimit": 300,
    "maxLimit": 300,
    "unit": "graphemes (and at most 3000 UTF-8 bytes)",
    "rules": "Bluesky (app.bsky.feed.post): at most 300 graphemes and at most 3000 UTF-8 bytes. Links are counted as written; if your client shortens link text with a facet the post is shorter than reported.",
    "source": "https://github.com/bluesky-social/atproto (lexicons/app/bsky/feed/post.json)",
    "endpoints": [
      "/v1/bluesky/thread",
      "/v1/bluesky/check"
    ]
  },
  "farcaster": {
    "name": "Farcaster",
    "defaultLimit": 320,
    "maxLimit": 1024,
    "unit": "UTF-8 bytes",
    "rules": "Farcaster (protocol spec, CastAddBody): a cast is at most 320 UTF-8 bytes; 321-1024 bytes is a long cast. Mentions are stored outside the text, so @names left in the text are counted as bytes (high). Up to 2 embeds per cast, not counted in the text.",
    "source": "https://github.com/farcasterxyz/protocol/blob/main/docs/SPECIFICATION.md",
    "endpoints": [
      "/v1/farcaster/thread",
      "/v1/farcaster/check"
    ]
  },
  "mastodon": {
    "name": "Mastodon",
    "defaultLimit": 500,
    "maxLimit": 10000,
    "unit": "grapheme clusters, each URL 23",
    "rules": "Mastodon (StatusLengthValidator): grapheme clusters; every URL counts 23; @user@domain counts as @user. Default instance limit 500 (pass limit for instances with a different max). We count @user@domain in full and unsure link-like text at max(23, own length), so results may leave a little room unused. A content warning (spoiler text) also counts toward the limit and is not included here.",
    "source": "https://github.com/mastodon/mastodon/blob/main/app/validators/status_length_validator.rb",
    "endpoints": [
      "/v1/mastodon/thread",
      "/v1/mastodon/check"
    ]
  },
  "meta-threads": {
    "name": "Threads (Meta)",
    "defaultLimit": 500,
    "maxLimit": 500,
    "unit": "characters, each emoji = its UTF-8 bytes",
    "rules": "Threads by Meta (Threads API docs): text posts are limited to 500 characters; emojis are counted as the number of UTF-8 bytes (a plain emoji is 4, ZWJ sequences more); at most 5 links per post. Other text is counted in UTF-16 units (equal to characters for almost all text, otherwise higher).",
    "source": "https://developers.facebook.com/documentation/threads/posts",
    "endpoints": [
      "/v1/meta-threads/thread",
      "/v1/meta-threads/check"
    ]
  },
  "note": "When a network's rule is ambiguous Thread Kit counts high, so a post it calls valid is not rejected for length."
}