Repository navigation
Quickstart: serve a dedicated directory, not the home directory - #285
Open
alexleventer wants to merge 3 commits into
Open
alexleventer wants to merge 3 commits into
alexleventer wants to merge 3 commits into
Conversation
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.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
kcmartin
approved these changes
Nov 20, 2026
kcmartin
left a comment
Collaborator
There was a problem hiding this comment.
Tested on a Sprite: the page serves and nothing outside ~/site does.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The quickstart's web server step runs
sprite exec -- python -m http.server 8080, which serves the current directory,/home/sprite. The next step tells the reader to runsprite config update --url-auth public. Following both exactly publishes the home directory:/.zsh_historyand/.claude.jsonreturn 200, and the.claude,.codex,.cursor,.geminiand.grokconfig directories are listed.Fix:
~/site/index.htmland serve that directory with--directory /home/sprite/site;-uso the server's startup line and request log show while it runs (stdout is buffered without a TTY, so today nothing prints until Ctrl+C);--url-auth publicbox that anyone with the URL sees whatever port 8080 serves.Tested: docs-only change. I haven't run the new commands on a live Sprite; the
bash -c "… > …"form is the same one the "Create and read files" step above already uses, and--directoryand-uare standardhttp.server/pythonflags.