# Open an editor project in SpaceKits Sandbox Download spacekit.py, inspect its contents, and put it in your project folder, beside `spacepress.config.ts`. Use Python 3; there are no dependencies. Start with the editable Publishing Starter ZIP linked on the Sandbox home page. Its compiler pin and native Posts schema are required; this utility does not convert arbitrary apps. In your editor terminal: ```sh python3 spacekit.py . ``` This writes `dist/my-kit.zip`. Open [SpaceKits Sandbox](https://sandbox.spacekits.io/) and choose that file. Nothing is uploaded by this command. Edit your source, rerun it, then choose the new ZIP to preview again. The package includes `spacepress.config.ts`, `compiler-assets/SOURCE.json`, and supported source/content/assets beneath `sp/`, `content/`, and `public/`. The optional starter profile and media manifest, its WordPress setup scripts, AGENTS.md and setup guide are included when present. Dependencies, Git, hidden files, build output, admin folders, compiler binaries and credential-like filenames are excluded. It never runs your project's scripts. Review the printed file list and source contents before sharing: filename filters cannot detect secret values embedded in otherwise public files. Preview the file list without writing a ZIP: ```sh python3 spacekit.py . --dry-run ``` An existing compatible source ZIP or Blueprint/site ZIP can be selected directly: ```sh python3 spacekit.py ./my-site.zip ``` Existing ZIPs are used unchanged, so inspect their contents yourself. This helper does not extract them or execute their code. ## Optional public link Install and sign in to the official Spacefast `sf` CLI yourself. Run `sf whoami` to find your team, then replace `your-team` and `my-unique-kit-files` below with your team slug and a unique name for the download Space. `--share` explicitly publishes the selected ZIP publicly in a new, dedicated files-mode Space. It creates a files-mode download Space, without generating a static HTML website. Your project and Sandbox stay separate. First, inspect the official CLI plan: ```sh python3 spacekit.py . --share --team your-team --slug my-unique-kit-files --dry-run ``` Then publish: ```sh python3 spacekit.py . --share --team your-team --slug my-unique-kit-files ``` The helper checks the public ZIP digest and CORS response before printing a Sandbox link. Named public kits use readable links such as https://sandbox.spacekits.io/disk and https://sandbox.spacekits.io/starter; custom hosted ZIPs use `?kit=…`. If that check fails, it retains the dedicated target state for a safe retry. The dedicated Space contains only `kit.zip` and CORS headers. Everyone with its public URL can download the ZIP. Copy the printed URL to share it. For later updates from the same project, omit `--slug`: ```sh python3 spacekit.py . --share --team your-team ``` The utility remembers only the dedicated Space ID, team and ZIP hash under `~/.local/share/spacekits-sandbox/`. It verifies the Space's dedicated title and team before updating it. Every update replaces the selected public ZIP; an existing shared Sandbox link then loads the updated kit. For an older project moved to another folder, pass its dedicated `--space spc_…` explicitly. Use only a kit-files Space created by this utility. `--state /path/to/state.json` chooses a separate remembered target; it contains no credentials. `--sf /absolute/path/to/sf` selects the official CLI if it is not on PATH. The helper uses isolated staging, ignores inherited `SPACEFAST_SPACE`, and never edits your project's `.spacefast` selection. Provider approval failures stop and print the CLI's instructions. After an uncertain first publish, inspect the returned receipt before retrying; reuse the dedicated `--space` if creation completed. It never substitutes another target. Build a SpaceKit: https://sandbox.spacekits.io/AGENTS.md