Bash.tv → GitHub → itch.io

Make everything a game's store page needs from the running Bash game. Records gameplay from the preview, then produces screenshots, a looping GIF, a short trailer clip, a cover image at the right size for itch.io (630x500) plus portal thumbnails, an icon, a social link image, and a ready-to-paste page description with controls, tags and credits. Use for "make a cover image", "itch.io page", "st...

Download skill (.zip) Files on GitHub

Store page kit

Output goes in a media/ folder outside www/ (store images don’t belong in the game build, and changes outside www/ don’t trigger deploys). Example: media/cover.png, media/shots/, media/gameplay.gif.

1. Record gameplay

Pick the capture method by what the game uses:

Game How
Any game, viewer’s preview open render_preview (durationMs 10000–20000) → a video file in the sandbox. Uses the viewer’s GPU, so it works for WebGL / 3D
Has a scripted demo or attract mode Register bash.preview.onRender (see the bash-js-sdk skill) for a clean, repeatable clip
2D canvas / DOM, no viewer Sandbox Playwright screenshots (playwright-cli). Never load WebGL / WebGPU pages there
WebGL, no viewer check_gpu_render screenshots (viewing only, no file). Ask the user to open the preview to record

Before recording, ask the user to play (or use control_preview to play) through an exciting moment, not the menu. Hide debug overlays and FPS counters. Check the clip:

K=<skill>/scripts
$K/make-media.sh info clip.webm      # duration and size (handles WebM with no duration header)

2. Screenshots, GIF, trailer clip

$K/make-media.sh shots clip.webm media/shots --count 6 --start 1   # evenly spaced PNGs
$K/make-media.sh gif   clip.webm media/gameplay.gif --start 3 --length 5 --width 480
$K/make-media.sh mp4   clip.webm media/trailer.mp4 --length 20

3. Cover and thumbnails

python3 $K/make-cover.py --image media/shots/shot-3.png --title "My Game" --subtitle "Short hook" \
  --out media/cover.png                                     # itch.io cover, 630x500
python3 $K/make-cover.py --image media/shots/shot-3.png --title "My Game" --all --out-dir media/covers
python3 $K/make-cover.py --list                             # sizes
Preset Size Use
itch-cover 630×500 itch.io cover (required to show up in browse lists)
itch-banner 960×300 itch.io page banner (optional)
social 1200×630 Discord / social link preview
landscape-16x9 1920×1080 CrazyGames landscape, Game Jolt, general
portrait-2x3 800×1200 CrazyGames portrait
square 800×800 CrazyGames square
icon-512 512×512 Icon. The title is left out if it’s longer than 10 characters

Options: --position top|bottom|center, --focus 0.3,0.5 (move the crop toward the action), --pixel (keep pixel art crisp), --no-title, --text-color. View the result and adjust the focus or position so the text doesn’t cover the player or the key art. If the game has a logo or key art, or the user can generate one (fal or pictures skill), use it instead of a screenshot. Portal sizes change, so check the portal’s upload page.

4. Page description

Fill in references/page-template.md from what the game really does. Look at the code for the controls. Rules:

Save it to media/description.md and show it to the user.

5. Upload (the user does this part)

The itch.io API can’t change page text or images. Tell the user where each file goes: Edit game → Cover image, Screenshots (3–5 + the GIF), Description (paste), Gameplay video or trailer (a YouTube link, so upload trailer.mp4 to YouTube first), and Genre / Tags. Offer the files as downloads with share_media, or commit media/ to the repo.

Checklist