Title: Add `jspod install
Open Graph Title: Add `jspod install
X Title: Add `jspod install
Description: Why Installing apps on a fresh jspod is a 5-line shell recipe today: ```bash TOKEN=$(curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=me&password=me' http://localhost:5444/idp/credentials | jq -r .access_...
Open Graph Description: Why Installing apps on a fresh jspod is a 5-line shell recipe today: ```bash TOKEN=$(curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=me&password=me' http://localho...
X Description: Why Installing apps on a fresh jspod is a 5-line shell recipe today: ```bash TOKEN=$(curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=me&password=me...
Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/issues/36
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `jspod install \u003capp>` subcommand","articleBody":"## Why\n\nInstalling apps on a fresh jspod is a 5-line shell recipe today:\n\n\\`\\`\\`bash\nTOKEN=\\$(curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' \\\n -d 'username=me&password=me' \\\n http://localhost:5444/idp/credentials | jq -r .access_token)\ngit clone https://github.com/solid-apps/\u003capp> /tmp/\u003capp>\ngit -C /tmp/\u003capp> -c http.extraHeader=\\\"Authorization: Bearer \\$TOKEN\\\" \\\n push http://localhost:5444/public/apps/\u003capp> HEAD:main\n\\`\\`\\`\n\nIt works, but it has at least three sharp edges:\n\n1. **No \\`--depth=1\\`** — shallow clones are rejected on push (\\`shallow update not allowed\\`). New users hit this immediately because shallow is the obvious \"save bandwidth\" instinct.\n2. **\\`HEAD:main\\`, not \\`HEAD:gh-pages\\`** — JSS 0.0.197+ pins auto-init to \\`-b main\\` (#471). Pushing to \\`HEAD:gh-pages\\` creates a ref but doesn't trigger \\`updateInstead\\`, so the directory is created but empty. Confusing silent failure.\n3. **Pilot is already bundled** — \\`/public/apps/pilot/\\` is non-empty from jspod's seeding, so auto-init refuses. Need to know to skip it.\n\nA wrapper hides all three.\n\n## Proposed UX\n\n\\`\\`\\`bash\njspod install chrome\njspod install chrome vellum win98 pdf hub # multi-arg\njspod install # curated default set\njspod install --from solid-apps chrome # registry override (default: solid-apps)\njspod install --pod http://localhost:5444 chrome # target override (default: this jspod)\n\\`\\`\\`\n\nBehavior:\n\n- Fetch a token from the local pod's \\`/idp/credentials\\` (or accept \\`JSS_SINGLE_USER_PASSWORD\\` env / a \\`--token\\` flag)\n- For each app:\n - \\`git clone --bare\\` (full history) into a tmp dir\n - HEAD-probe the target path: if non-empty and not a valid auto-init candidate, skip with a clear message (\"pilot is bundled — already at /public/apps/pilot/\")\n - \\`git push --mirror-style\\` to \\`\u003cpod>/public/apps/\u003capp>\\` with the correct ref name (probe target's \\`info/refs\\` to pick the right branch, default \\`main\\`)\n - Clean up the tmp dir\n- Report per-app status (\\`✓ chrome installed\\`, \\`⊘ pilot skipped (already present)\\`, \\`✗ vellum failed: …\\`)\n\n## Implementation\n\n~80-120 lines in \\`index.js\\`. New \\`install\\` arg handler that branches before the existing JSS startup logic so the command can run without spawning a server (it talks to a *running* jspod). If no pod is reachable, error out with a clear message.\n\n## Curated default set\n\n\\`chrome vellum win98 pdf hub\\` for v1 — anything else can come from \\`--from \u003corg>\\` or a future \\`install-all\\` flag with a remote manifest. Open to a different default set.\n\n## Test plan\n\n- [ ] \\`jspod install chrome\\` from a clean pod → files visible at \\`/public/apps/chrome/\\`\n- [ ] \\`jspod install pilot\\` → \\`⊘ skipped (already present)\\`, exit 0\n- [ ] \\`jspod install nonexistent\\` → \\`✗ clone failed\\`, exit non-zero\n- [ ] \\`jspod install\\` (no args) → installs the curated set, prints per-app status\n- [ ] Works with \\`--pod\\` pointing at a remote pod (with a token)","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-17T06:16:48Z","url":"https://github.com/JavaScriptSolidServer/jspod/issues/36"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3401eb35-b697-ca88-0691-618353ece12d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C354:816EC:6FE6C5:9431CB:6B0393CC |
| html-safe-nonce | 29556ccfff84d5d068b9d12503196f3bf018fb7e05af5a542d0030234d3058c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzU0OjgxNkVDOjZGRTZDNTo5NDMxQ0I6NkIwMzkzQ0MiLCJ2aXNpdG9yX2lkIjoiNzA5OTMxNTIzODIyNjU5NjgxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 228d6b9e77fd32ce1eba16636f3b87c25d403320bd84b688860206d81b02098d |
| hovercard-subject-tag | issue:4462498616 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/jspod/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d68679dd920dcd34bd8b47d140c232af2616881d5c73c5429359d0ed24a5ba5/JavaScriptSolidServer/jspod/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d68679dd920dcd34bd8b47d140c232af2616881d5c73c5429359d0ed24a5ba5/JavaScriptSolidServer/jspod/issues/36 |
| og:image:alt | Why Installing apps on a fresh jspod is a 5-line shell recipe today: ```bash TOKEN=$(curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=me&password=me' http://localho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/jspod git https://github.com/JavaScriptSolidServer/jspod.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 1135610078 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/jspod |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1135610078 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/jspod |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width