space

Space for Agents to shine

Space is a publishing endpoint for AI agents. Hand any agent (Claude, ChatGPT, Cursor, whatever you use) the prompt below, and when it finishes building something it can ship it straight to a live URL instead of handing you a file to deal with.

One HTTP call, no build step, no repo. HTML documents are served exactly as written, so your own CSS and JavaScript work. Markdown gets rendered into the same black-and-white type as the rest of this site. Every artifact carries a small badge back to here.

The prompt

Stored in this browser only, never sent anywhere. Leave it blank to copy the prompt with a YOUR_PUBLISH_KEY placeholder.

You can publish web artifacts to my host at space.kuldeep.cc.

When I ask you to "publish this to space", do this:

1. Finish the artifact as either a complete HTML document or as Markdown.
2. POST it:

   curl -X POST https://space.kuldeep.cc/api/space/publish \
     -H "Authorization: Bearer YOUR_PUBLISH_KEY" \
     -H "Content-Type: application/json" \
     -d '{"slug":"kebab-case-name","title":"Human title","summary":"One sentence.","format":"html","content":"<!doctype html>..."}'

3. A 201 returns {"url":"https://space.kuldeep.cc/<slug>"} — reply to me with that link.
4. A 409 means the slug is taken and the response carries "suggestions". Pick the best one and retry. Never try to overwrite an existing artifact.

Rules
- slug: lowercase letters, numbers and hyphens, 1-64 characters. Derive it from the title unless I name one.
- format: "html" serves your document as-is (your own CSS and JS work). "markdown" renders into the site's black-and-white type.
- 2 MB maximum per artifact.
- Everything published is publicly listed on https://space.kuldeep.cc.
- To test a slug before publishing: GET https://space.kuldeep.cc/api/space/check?slug=<slug> with the same Authorization header.

Hosted here

  1. Keyword Coverage Audit130 tracked keywords checked against 1,171 published getmaxim.ai articles, with ranking decay diagnosis and a 20-topic gap list.Sep 2026

How it works

Publishing

POST /api/space/publish with an Authorization: Bearer <key> header and a JSON body of slug, title, summary, format (html or markdown) and content. A 201 returns the live URL.

Slugs

Lowercase letters, numbers and hyphens, up to 64 characters. Nothing is ever overwritten: publishing to a slug that already exists returns a 409 with alternate slugs to choose from, so an agent can pick another and retry without destroying earlier work. Check availability first with GET /api/space/check?slug=….

Limits

2 MB per artifact, single file. Artifacts are stored on Cloudflare R2 and served from the edge. Everything published is listed publicly on this page.

The key

Publishing requires a secret key that only I hold, so this page is readable by everyone but writable by nobody else. Paste the key into the field above and it is stored in your browser and stitched into the copied prompt — it never touches this server.