From b7b4481fca2c673c4e40cf15a3932ceb79a57969 Mon Sep 17 00:00:00 2001 From: Alex Leventer Date: Thu, 19 Nov 2026 08:27:14 -0800 Subject: [PATCH 1/3] Quickstart: serve a dedicated directory, not the home directory The web server step ran python -m http.server from /home/sprite, so making the URL public served shell history and agent config files. Serve ~/site instead, unbuffer the server's output with -u, and say what --url-auth public exposes. --- quickstart.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quickstart.mdx b/quickstart.mdx index 22dc5e0..7b73b88 100644 --- a/quickstart.mdx +++ b/quickstart.mdx @@ -122,13 +122,14 @@ First, get your Sprite's public URL: sprite info ``` -Then start a simple Python server: +Then start a simple Python server. Serve a dedicated directory, not your home directory: your home directory holds shell history and agent config files (`.claude`, `.codex`, and so on) that you don't want on the web. ```bash -sprite exec -- python -m http.server 8080 +sprite exec -- bash -c "mkdir -p ~/site && echo 'Hello from my Sprite!' > ~/site/index.html" +sprite exec -- python -u -m http.server 8080 --directory /home/sprite/site ``` -Visit the URL in your browser—you'll see Python's directory listing page. Press `Ctrl+C` to stop the server when you're done. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests. +Visit the URL in your browser—you'll see your page. Press `Ctrl+C` to stop the server when you're done. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests. By default, your Sprite's URL requires authentication. To make it publicly accessible, run: @@ -137,7 +138,7 @@ By default, your Sprite's URL requires authentication. To make it publicly acces sprite config update --url-auth public ``` -The `sprite` auth mode (the default) requires a Sprite token with Bearer authentication. +Anyone with the URL can then see whatever the server on port 8080 serves. The `sprite` auth mode (the default) requires a Sprite token with Bearer authentication. ### Test on-demand wake-up From 152d81ac5489b52b017458ee1cea9c9db59e24f8 Mon Sep 17 00:00:00 2001 From: Alex Leventer Date: Thu, 19 Nov 2026 08:35:33 -0800 Subject: [PATCH 2/3] Quickstart: drop the ! that interactive shells history-expand --- quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart.mdx b/quickstart.mdx index 7b73b88..6444ae4 100644 --- a/quickstart.mdx +++ b/quickstart.mdx @@ -125,7 +125,7 @@ sprite info Then start a simple Python server. Serve a dedicated directory, not your home directory: your home directory holds shell history and agent config files (`.claude`, `.codex`, and so on) that you don't want on the web. ```bash -sprite exec -- bash -c "mkdir -p ~/site && echo 'Hello from my Sprite!' > ~/site/index.html" +sprite exec -- bash -c "mkdir -p ~/site && echo 'Hello from my Sprite' > ~/site/index.html" sprite exec -- python -u -m http.server 8080 --directory /home/sprite/site ``` From a4f37d21f52bf565ae0fda38804f8ef360051d2c Mon Sep 17 00:00:00 2001 From: Kristin Martin Date: Fri, 20 Nov 2026 01:27:19 +0000 Subject: [PATCH 3/3] Replace em dash in quickstart server step --- quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart.mdx b/quickstart.mdx index 6444ae4..3edbd80 100644 --- a/quickstart.mdx +++ b/quickstart.mdx @@ -129,7 +129,7 @@ sprite exec -- bash -c "mkdir -p ~/site && echo 'Hello from my Sprite' > ~/site/ sprite exec -- python -u -m http.server 8080 --directory /home/sprite/site ``` -Visit the URL in your browser—you'll see your page. Press `Ctrl+C` to stop the server when you're done. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests. +Visit the URL in your browser to see your page. Press `Ctrl+C` to stop the server when you're done. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests. By default, your Sprite's URL requires authentication. To make it publicly accessible, run: