SvelteKit site with @sveltejs/adapter-node. Product: MeshChatX.
- Node.js 26+ (
package.jsonengines) - pnpm 11+ (
corepack enable pnpm)
pnpm install
pnpm run buildArtifacts: build/. Run locally: pnpm start (or node build). Dev: pnpm run dev.
| Variable | Description |
|---|---|
GITHUB_TOKEN |
Optional. Raises GitHub API rate limits for release metadata. |
RELEASES_CACHE_SECONDS |
In-memory cache for release listing (default 300, max 86400). |
Release metadata is fetched live from GitHub releases (REST API, with Atom feed fallback). No manual sync or CDN configuration is required.
GET /api/mcx-releases returns the same JSON embedded in HTML (handy for curl). The download page requests it when the embed has no version (e.g. stale cached HTML).
Build and run the image (listens on 8080; set PORT if needed):
docker build -t meshchatx-website:latest .
docker run --rm -p 8080:8080 meshchatx-website:latestPodman: podman build / podman run with the same flags.