Beta, untested. Prepare a browser game for itch.io and publish it: check the upload (index.html at the top, file count and size limits, relative paths, file name capitalization, http files, things that act differently in itch.io's frame), the page settings only the website can change (kind of project HTML, played in the browser, embed size, mobile friendly, fullscreen), the store page, draft fi...
Download skill (.zip) Files on GitHubitch.io publishing
Beta: this skill is new and has not been tested yet. It is still being improved. Check its results carefully and say what goes wrong.
1. Check the build
python3 scripts/itch-ready.py www/ --game yourname/my-game
python3 scripts/itch-ready.py build/my-game.zip
Fix every block. To make the ZIP or a wrapper for Bash-only games, use bash-itch-export (or bash-itchio-packager).
2. The page (website only)
On itch.io: Dashboard → Create new project (or Edit game):
- Kind of project: HTML
- Upload the ZIP (or push with butler), then tick This file will be played in the browser
- Embed options: the viewport size the check suggests, Mobile friendly if it works on phones, Fullscreen button
- Title, tagline and description (game-description-writing), cover 630x500 and screenshots (game-screenshot-capture, bash-store-page-kit), genre and tags
- Visibility: Draft first
3. Upload with butler
butler push www yourname/my-game:html5 --userversion 1.2.0
butler status yourname/my-game:html5
The key belongs in the Bash space’s API keys, never in the chat. Ask before pushing to a page that’s public. For automatic uploads on each commit, see bash-github-actions-itch.
4. Check, then go public
Open the page in a private window and on a phone. Play until game over. When it works, set the page to Public.
Pitfalls
index.html inside a folder in the ZIP, root paths (/assets/...), capitalization that works locally but not on itch.io, forgetting
the “played in the browser” tick, and making the page public before playing it there.