Title: Generalize "installing apps" into a CLI command: jspod install <source> · Issue #24 · JavaScriptSolidServer/jspod · GitHub
Open Graph Title: Generalize "installing apps" into a CLI command: jspod install <source> · Issue #24 · JavaScriptSolidServer/jspod
X Title: Generalize "installing apps" into a CLI command: jspod install <source> · Issue #24 · JavaScriptSolidServer/jspod
Description: Context Pilot is now bundled at /public/apps/pilot/ (PR #20). That worked as a proof of concept that "apps live in pods" is the right pattern: same-origin sign-in, offline-safe, no external CDN dependency. Generalizing this — so jspod ca...
Open Graph Description: Context Pilot is now bundled at /public/apps/pilot/ (PR #20). That worked as a proof of concept that "apps live in pods" is the right pattern: same-origin sign-in, offline-safe, no external CDN dep...
X Description: Context Pilot is now bundled at /public/apps/pilot/ (PR #20). That worked as a proof of concept that "apps live in pods" is the right pattern: same-origin sign-in, offline-safe, no extern...
Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/issues/24
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generalize \"installing apps\" into a CLI command: jspod install <source>","articleBody":"## Context\n\nPilot is now bundled at `/public/apps/pilot/` (PR #20). That worked as a proof of concept that \"apps live in pods\" is the right pattern: same-origin sign-in, offline-safe, no external CDN dependency. Generalizing this — so jspod can install *any* Solid app, not just the one we bundle — is the natural next step.\n\n## Proposal\n\nA new CLI subcommand:\n\n```\njspod install \u003csource> [--name \u003cname>] [--force]\n```\n\nFetches a Solid app's files and writes them to `pod-data/public/apps/\u003cname>/`. After install:\n\n- The app is reachable at `http://localhost:5444/public/apps/\u003cname>/`\n- It runs same-origin against the user's own pod (no Brave-shield issues)\n- It's listed on the new `/apps.html` landing page (Stage 1 — separate but related, see below)\n\n## Sources to support\n\nHonest order of leverage:\n\n1. **GitHub shorthand**: `jspod install solid-apps/penny` → clones HEAD of default branch into `public/apps/penny/`. Most users discover Solid apps via GitHub.\n2. **Arbitrary git URL**: `jspod install https://github.com/org/app.git` → shallow clone. Same flow as #1 but explicit.\n3. **Tarball URL**: `jspod install https://example.org/app.tar.gz` → fetch + extract. Works for any release artifact.\n4. **npm package**: `jspod install npm:some-solid-app` → resolve via jsdelivr (same pattern jspod itself uses for solid-oidc + data-browser). Cleanest for versioned distribution.\n\nName resolution: `--name` overrides, else infer from the last URL segment (repo name, npm package name, tarball stem).\n\n## Update / remove\n\n- Re-running `jspod install \u003csource>` over an existing install: refuse unless `--force` (skip-if-exists like current bundled-apps behaviour).\n- Remove: `rm -rf pod-data/public/apps/\u003cname>/`. CLI sugar later if needed.\n\n## Manifest convention (Stage 1 — landing on first)\n\nEach app SHOULD ship a `manifest.json` at its root:\n\n```json\n{\n \"name\": \"Pilot\",\n \"description\": \"Minimal Solid data browser\",\n \"version\": \"0.x\",\n \"homepage\": \"https://github.com/solid-apps/pilot\",\n \"icon\": \"favicon.png\"\n}\n```\n\njspod's `/apps.html` (Stage 1, separate small PR) scans `public/apps/*/manifest.json` and renders a tile grid. Apps without a manifest still get a generic tile.\n\n## Phasing\n\n1. **Stage 1** — Apps landing page + manifest convention. ~1h. Pure pod-data, no new CLI.\n2. **Stage 2** — `jspod install \u003csource>` for GitHub + tarball sources (cover most apps). Adds runtime deps for git or HTTP fetch.\n3. **Stage 3** — npm-resolved sources via jsdelivr.\n4. **Stage 4** — In-pod \"app store\" UI that calls the install logic.\n\n## Upstream angle\n\nA related JSS issue is being filed about whether the *protocol* surface should know about installed apps (e.g. a `/.well-known/apps` endpoint or a Solid-native \"App Index\" analogous to the Type Index). jspod's install command can run perfectly well without JSS-side support — but if JSS adds an apps primitive, the install command can register against it.\n\n## References\n\n- jspod PR #20 — Pilot bundle proof of concept\n- jspod#1 — friction-removal arc (apps-in-pod is squarely in this story)\n- JSS issue (to be filed alongside this one) — protocol-level apps surface","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-16T14:03:16Z","url":"https://github.com/JavaScriptSolidServer/jspod/issues/24"}
| 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:bd1ff19d-31c6-ff64-bc54-5a7fefd2b557 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C37E:3AB37:763CFA:9BF057:6B0393CE |
| html-safe-nonce | 9e0ef3c1916cb7268d5a2d5c91282e04a22b5e8171b1de8a6ad93df0ee0a5e12 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzdFOjNBQjM3Ojc2M0NGQTo5QkYwNTc6NkIwMzkzQ0UiLCJ2aXNpdG9yX2lkIjoiMTUyNjE0MzAxMDM5NDU3NTgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0522a18c3ee00a72b176833d5072ccd322ffbd353e6b3b48c89bd1cc7f0fb404 |
| hovercard-subject-tag | issue:4460108530 |
| 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/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5203f33beb8052f17c6b4f30cc928c3ca0798bd26f3da6682a95900c960e6257/JavaScriptSolidServer/jspod/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5203f33beb8052f17c6b4f30cc928c3ca0798bd26f3da6682a95900c960e6257/JavaScriptSolidServer/jspod/issues/24 |
| og:image:alt | Context Pilot is now bundled at /public/apps/pilot/ (PR #20). That worked as a proof of concept that "apps live in pods" is the right pattern: same-origin sign-in, offline-safe, no external CDN dep... |
| 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