Get a game ready to publish from a Bash.tv space and choose where it goes. A readiness checklist for the Bash preview and public link (Bash.js loaded, capture hook for WebGL, works signed out, no blocked APIs, phone and desktop, space title, icon and thumbnail), correct public links with space.publicUrl and the /- path, sharing to chat, sign-in and private data, then routes to itch.io (standalo...
Download skill (.zip) Files on GitHubBash.tv publishing
Run game-release-validation first. This skill covers what’s specific to Bash and choosing the destination.
1. Bash readiness checklist
| Check | How |
|---|---|
| Bash.js loaded | <script src="https://bash.tv/bash/v1.js"></script> in index.html (bash-js-sdk skill) |
| Works without Bash too | Opens on the raw URL without errors when window.bash / space is missing |
| Preview screenshots aren’t blank (WebGL / WebGPU) | window.bash.preview.onCapture(...) registered once the renderer exists |
| No blocked APIs | No alert / confirm / prompt; no SharedArrayBuffer / WASM threads (the preview iframe isn’t cross-origin isolated) |
| Server | Listens on 0.0.0.0, runs in tmux, restarts cleanly; no dev-only ports in links |
| Devices | Checked phone and desktop in the viewer’s preview (set_preview_viewport, then restore) |
| Signed out | Works for viewers who aren’t signed in; signIn() only from a click, and handles unavailable |
| Space details | The space has a good title, icon and thumbnail (the owner sets these in the space settings). Suggest a cover from bash-store-page-kit |
2. Links
- Use
window.bash.space.publicUrlfor the app’s public Bash link. Never the iframe’s raw URL. - Deep links go after
/-:`${publicUrl}/-/play?level=3`.${publicUrl}/playis wrong. - Read
publicUrlwhen needed (it can change or be empty). Hide “copy link” when it’s missing. - Sharing from the game:
window.bash.share({ text, files })only from a click. It fills the chat box and doesn’t send. - Private previews and files: follow bash-js-sdk’s preview-auth rules. Never paste raw preview hosts or tokens.
3. Where else to publish
| Destination | Use | How |
|---|---|---|
| itch.io | Main home for web games | bash-itch-export picks standalone (static) or wrapper (needs the Bash server); butler push to user/game:html5; ask before pushing to a public page |
| Auto-deploy | Every commit to www/ updates itch.io |
bash-github-actions-itch (plus PR previews on a draft page) |
| GitHub Pages, Netlify, Cloudflare Pages | Free static hosting with your own link | bash-web-deploy-anywhere |
| Newgrounds, CrazyGames | Portals (manual zip upload) | portal-zip.sh from bash-web-deploy-anywhere; achievements: bash-portal-achievements |
| Game Jolt | Portal with an upload API | gjpush workflow in bash-web-deploy-anywhere |
Static vs needs-a-server: single-player static games can go anywhere. Multiplayer, sign-in, saved user data or /api
calls need the Bash server: use the wrapper export (an iframe to the Bash link), or keep them on Bash.
4. Verify the live page (not just the upload)
Open the real published page and play it on desktop and phone size: it loads, fits the frame, takes keyboard focus after a
click, plays sound after a tap, and saves. For itch.io, check the embed size and the “mobile friendly” and fullscreen
settings (bash-itch-export writes them to <name>.itch-settings.txt). Then tell the user the link and what you checked.
5. After publishing
Bump the version and changelog (game-version-management, game-changelog), post notes (bash-release-notes-discord), and
update docs/HANDOFF.md with where it’s published and how to update it.