Posting

Post types, visibility, code blocks, images, and build updates on the SpaceKeep Network.

Posts are the core of the Network. They are plain text with optional attachments, and every post stays attached to your identity.

Post types

Type When to use it
NORMAL A general update, question, or share
PROJECT_LAUNCH You have shipped something. Links to one of your projects
BUILD_UPDATE You are mid-build. Shows progress and what is left
ACHIEVEMENT A badge or milestone worth sharing

GITHUB_ACTIVITY is not a post type you can create. There is no writer for it, so accepting it would mean storing fabricated data.

Polls

A post can carry a poll. Polls run for 1 hour to 7 days (default 24 hours) and have 2 to 4 options, each up to 80 characters.

POST /social/posts/:postId/poll/vote

with { "optionId": "…" }. One vote per account; voting again is rejected. The result includes your vote and whether the poll has closed.

Reposts and quotes

You can repost someone else's post, or quote it with your own comment:

POST /social/posts/:postId/repost
DELETE /social/posts/:postId/repost

A plain repost creates a new post row pointing at the original, so it flows through feeds and cursors like any other post. A quote post is created through the normal post endpoint with quoteOfId set. Quotes increment the original's quote count.

Quotes on a post are listable:

GET /social/posts/:postId/quotes

Reactions

Appreciate a post with a reaction toggle:

POST /social/posts/:postId/reactions

120 toggles per hour. Reactions notify the author (except self-reactions).

Editing

You can edit your own post's text after publishing:

PATCH /social/posts/:postId

Only newly added @mentions are notified on edit. 30 edits per 5 minutes.

Mentions

Use @username in a post or comment to mention another developer. Mentions notify the mentioned user. Mentions are extracted server-side from the content.

Visibility

Visibility Who can see it
PUBLIC Everyone, including people not signed in
FOLLOWERS_ONLY Your followers and you

What a post can contain

Part Limit
Body text 1–5,000 characters, plain text — never HTML
Code blocks Up to 5, each up to 8,000 characters
Images Up to 4 per post, via the SpaceKeep CDN
Poll 2–4 options, each up to 80 characters; runs 1 hour to 7 days
Project link One of your own projects (required for PROJECT_LAUNCH)
Quote Reference another post with your own comment
Community Attach to a community you are a member of (communityId)
Flair One of the community's flairs (community posts only)

Code blocks

A code block has a language and code. Languages are a fixed list — free-form text is rejected:

typescript, javascript, tsx, jsx, python, rust, go, java, kotlin, swift,
c, cpp, csharp, ruby, php, sql, bash, shell, json, yaml, toml, html, css, diff, text

Images

Images are uploaded through POST /social/uploads/images and returned as asset ids, which you then reference when creating the post. The bytes go API → CDN through sharp, exactly like avatar and banner uploads, so there is no client-side direct-to-bucket write path and nothing is stored as base64 in the post row. Ownership is re-checked server-side when the post is created.

Build updates

BUILD_UPDATE posts carry progress for people who want to follow along:

Field Limit
buildProgress 0–100
buildCompleted Up to 20 entries
buildRemaining Up to 20 entries

Rate limits

Action Limit
Create a post 10 per 5 minutes
Edit a post 30 per 5 minutes
Repost / unrepost 60 per hour
Upload an image 20 per 10 minutes
Toggle a reaction 120 per hour
Toggle a save 120 per hour
Vote in a poll 120 per hour
Follow or unfollow 60 per hour
Comment 20 per 5 minutes
React to a comment 60 per minute
Report 10 per hour

A disabled button in the UI is a nicety, never the control — limits are enforced server-side.

Deleting

You can delete your own posts. Removal is non-destructive: the post row keeps removedAt and a ModerationAction, so content remains addressable for audit after a moderator acts on it.