Bash.tv → GitHub → itch.io

← Services · Home

Game Jolt: Publish + Trophies, Scores & Cloud Saves

Game Jolt hosts browser and desktop games and has a built-in community. Its Game API adds trophies, scoreboards, and cloud data storage. Its gjpush tool can upload builds from the command line, so the bot or a GitHub Action can push updates like with itch.io.

   
Cost Free to publish. Game Jolt takes up to 10% of sales, and you choose
Upload from Bash / GitHub Actions? ✅ Yes, with gjpush (marked “experimental” by Game Jolt)
Needs a Bash API key? Only if the bot should upload from Bash: your gjpush token
Good for A second store page, trophies, leaderboards, cloud saves

Part 1: Create the game page

  1. Sign in at https://gamejolt.com and open your Dashboard.
  2. Click Add Your Game, fill in the basic info, and save.
  3. Under Packages, create a package, for example Web build.
  4. Note these numbers. They’re shown in the page URLs and on Game API → API Settings:
    • Game ID
    • Package ID

Part 2 (optional): Trophies and scores

  1. Open the game → Game API.
  2. Copy the Private Key from API Settings.
  3. Add Trophies and Scoreboards (score tables), and note their IDs.

Ask the bot:

Add the Game Jolt Game API. Game ID 123456, private key …. Trophy “First Win” = 98765, score table = 54321.

The private key ends up inside the game. That’s how the Game API works for web games, so treat trophies and scores as “for fun”. When the game runs on Game Jolt, the player is signed in automatically through the page URL.

Part 3: Get an upload token

  1. On Game Jolt, open your account’s API / service tokens page, which is linked from the gjpush README. Create a token for gjpush.
  2. Copy it. Don’t paste it into the Bash chat.

Part 4a: Let the bot upload from Bash

Add the key in Bash: gear icon → API keys → Any API

Field Value
Address api.gamejolt.com
Name Game Jolt
Key your gjpush token
How it’s sent Bearer token
Tips for the bot Game Jolt upload token for gjpush. Game ID 123456, package ID 7890. Ask before uploading to a public game.

If the bot reports that uploads aren’t being authenticated, gjpush may be sending the token in a way Bash can’t fill in. Use the GitHub Action (4b) instead. It has the real token.

Part 4b: Upload from GitHub Actions (on every www/ change)

  1. Repo → Settings → Secrets and variables → Actions
    • Secret: GJPUSH_TOKEN = your token
    • Variables: GAMEJOLT_GAME_ID, GAMEJOLT_PACKAGE_ID
  2. Ask the bot to add this file as .github/workflows/deploy-gamejolt.yml:
name: Deploy to Game Jolt
on:
  push:
    branches: [main]
    paths: ["www/**"]
  workflow_dispatch:
jobs:
  deploy:
    runs-on: ubuntu-latest
    if: $
    env:
      GJPUSH_TOKEN: $
    steps:
      - uses: actions/checkout@v4
      - name: Zip www/
        run: cd www && zip -qr ../game.zip .
      - name: Install gjpush
        run: |
          # gjpush is only published as pre-releases, so pin a version.
          curl -sSL -o gjpush.zip https://github.com/gamejolt/cli/releases/download/v0.5.0/linux.zip
          unzip -q gjpush.zip && chmod +x gjpush
      - name: Upload browser build
        run: |
          ./gjpush -g "$" -p "$" \
            -r "0.0.$" --browser game.zip

gjpush is published as pre-releases only, so the Action pins v0.5.0. Check the gjpush releases page for newer versions.


Troubleshooting

Problem Fix
gjpush asks questions and hangs Pass -g, -p, -r, and the token (GJPUSH_TOKEN) so it doesn’t need to ask.
“Release version already exists” Each upload needs a new -r version. The Action uses the run number.
Trophies don’t unlock The player must be signed in on Game Jolt. Check the Game ID, private key, and trophy IDs.
Browser build doesn’t show The package must be public, and the build marked as browser (--browser).

Checklist