Title: Support git sources in jspod install (`jspod install <repo>`) · Issue #25 · JavaScriptSolidServer/jspod · GitHub
Open Graph Title: Support git sources in jspod install (`jspod install <repo>`) · Issue #25 · JavaScriptSolidServer/jspod
X Title: Support git sources in jspod install (`jspod install <repo>`) · Issue #25 · JavaScriptSolidServer/jspod
Description: Context Sub-issue / focus of #24 (generalize app installation). Most Solid apps live in git repos on GitHub; making git the first-class install source is the highest-leverage move. We already have git as a dependency of the user workflow...
Open Graph Description: Context Sub-issue / focus of #24 (generalize app installation). Most Solid apps live in git repos on GitHub; making git the first-class install source is the highest-leverage move. We already have ...
X Description: Context Sub-issue / focus of #24 (generalize app installation). Most Solid apps live in git repos on GitHub; making git the first-class install source is the highest-leverage move. We already have ...
Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/issues/25
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support git sources in jspod install (`jspod install <repo>`)","articleBody":"## Context\n\nSub-issue / focus of [#24](https://github.com/JavaScriptSolidServer/jspod/issues/24) (generalize app installation). Most Solid apps live in git repos on GitHub; making git the *first-class* install source is the highest-leverage move.\n\nWe already have git as a dependency of the user workflow (the project repo lives there, contributors push there). Reusing it for app distribution is natural.\n\n## Proposed CLI shapes\n\n```bash\njspod install solid-apps/penny # GitHub shorthand → clone default branch\njspod install solid-apps/penny#v2.0 # specific tag / branch / commit\njspod install https://github.com/foo/bar # full GitHub URL (same as above)\njspod install https://gitlab.com/foo/bar.git # any git URL\njspod install pilot --upgrade # re-fetch a previously-installed app\n```\n\n## Implementation sketch\n\n- Resolve the source to a git URL + ref (defaulting to HEAD of the default branch)\n- Shallow clone (`--depth 1`) into `pod-data/public/apps/\u003cname>/`\n- Strip `.git/` after clone (keep the install footprint small; the source URL + ref is recorded in a `manifest.json` for future updates)\n- `--upgrade` re-fetches the same ref (or a newer one if a tag/branch moves)\n- Refuse install if target dir exists and isn't a jspod-managed app (presence of `manifest.json` is the marker)\n\n## Manifest written on install\n\n```json\n{\n \"name\": \"penny\",\n \"source\": \"git\",\n \"url\": \"https://github.com/solid-apps/penny\",\n \"ref\": \"v2.0\",\n \"installedAt\": \"2026-05-16T...\"\n}\n```\n\nReused for `jspod install \u003cname> --upgrade` and for the `/apps.html` landing page (#24's Stage 1).\n\n## Dependencies\n\n- `git` available in PATH. Cheap to detect; clear error if missing (\"install git, or use tarball source\").\n- No new npm deps if we shell out to `git`. Adding `simple-git` or `isomorphic-git` if pure-Node is desired (~few hundred KB).\n\n## Open questions\n\n1. What goes in the cloned tree? The whole repo, or only `dist/` / `build/` if present? Most Solid apps publish their built bundle to the repo root or to `gh-pages`; first cut should fetch the default branch root and let the user clean up.\n2. Should we honour a `package.json` `\"jspod\"` field for app-author hints (e.g. \"install from `dist/`\")?\n3. Update strategy: pin to a ref, or always pull HEAD? Pinning is safer; HEAD is nicer for \"stay current\" users.\n\n## References\n\n- jspod#24 — parent issue (generalize app installation, multiple source types)\n- JSS#463 — protocol-level apps surface\n- JSS issue (filed alongside this one) — git as a recognized app source upstream","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-16T14:09:55Z","url":"https://github.com/JavaScriptSolidServer/jspod/issues/25"}
| 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:8036b31a-897b-9fcd-bf50-03fd9ed210ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B344:1FAD:30E8BF:4058A6:6B0393CD |
| html-safe-nonce | b6f623fc7018aab819facbcbec3c4a57752f7d1cde0c12c7195d8e3d729cac1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzQ0OjFGQUQ6MzBFOEJGOjQwNThBNjo2QjAzOTNDRCIsInZpc2l0b3JfaWQiOiI3OTkwMjE3MTY0ODE0NzgzNDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dfc049ab0225d16dfd65759e645eebfc47785b68401a177e399676bb1f89ef9e |
| hovercard-subject-tag | issue:4460126893 |
| 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/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c36ca212313ad6e9aa7c3f6b86c35bbaf211173d5bb4bc26b836663eeeb38ded/JavaScriptSolidServer/jspod/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c36ca212313ad6e9aa7c3f6b86c35bbaf211173d5bb4bc26b836663eeeb38ded/JavaScriptSolidServer/jspod/issues/25 |
| og:image:alt | Context Sub-issue / focus of #24 (generalize app installation). Most Solid apps live in git repos on GitHub; making git the first-class install source is the highest-leverage move. We already have ... |
| 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