humble-steam-key-redeemer
Redeem Humble Bundle keys on Steam, skipping the games your account already owns.
The skipping is the point. Steam allows roughly 50 successful activations per hour, but only about 10 failed ones — and a key for a game you already own counts as a failure. A large Humble library redeemed blindly stalls within minutes, having spent its whole budget on games you already had. This tool checks ownership first, so the attempts it makes are the ones that can succeed.
Install
pip install humble-steam-key-redeemer
playwright install chromium
Use
hskr login # sign in to Humble in a browser window
hskr sync # import your library
hskr redeem --dry-run # see what would happen
hskr redeem # redeem for real
Every command takes flags as well as prompts, so runs can be scripted:
hskr redeem --limit 20 --yes
hskr export library.csv --steam-only
Or use the Chrome you are already signed into
The commands above launch their own browser, which means a second sign-in in a profile Humble and Steam both treat as a new device. The bundled Chrome extension instead drives the tabs you are already signed into.
hskr bridge # prints the install steps
hskr bridge --extension-id <ID> # register the native messaging host
hskr browser sync # import the library
hskr browser preview # what would be redeemed
hskr browser redeem # redeem it
Nobody has to click anything, so a script or an agent can run these. The extension's toolbar button does the same work with a person driving it.
The extension only fetches and posts; ownership matching, rate-limit handling,
and the decision of what is worth redeeming all stay in hskr. See
the documentation.
How it works
Humble publishes no API for library access, so that half drives a real browser through Playwright and issues Humble's own requests from inside the authenticated page. Your Humble password goes into Humble's own login form — this tool never sees or stores it.
Steam's storefront APIs are plain HTTPS, so that half is a pure HTTP
client: the vendor-fabric Steam
connector, which implements Steam's current IAuthenticationService login flow
directly.
Deciding what to redeem is fuzzy, because Humble and Steam spell titles differently — "The Witcher 3: Wild Hunt" against "The Witcher 3 Wild Hunt", "Game GOTY" against "Game: Game of the Year Edition". Humble's own Steam app id wins when present; otherwise titles are compared, and matches the tool is not confident about are shown to you rather than silently skipped.
Where your data lives
One directory holds the database and your saved sessions:
| Platform | Location |
|---|---|
| Linux / macOS | ~/.local/state/humble-steam-key-redeemer/ |
| Windows | %APPDATA%\humble-steam-key-redeemer\ |
Sessions are bearer credentials — a copied Steam session bypasses Steam Guard —
so the directory is created 0700 and the files 0600. Override the location
with --state-dir or HSKR_STATE_DIR, and clear it with hskr logout.
Documentation
Full documentation, including configuration, design notes, and the API reference: https://jonbogaty.com/humble-steam-key-redeemer/
Development
uv sync
tox -e lint,typecheck # ruff + mypy strict
tox -e py311,py312,py313,py314
tox -e docs # warnings are errors
About this fork
This is a substantially rewritten fork of FailSpy/humble-steam-key-redeemer. The original was a single script for its author's own use; this version is a packaged, tested project. The notable changes:
- Playwright instead of Selenium. No separate webdriver to install, real
timeouts, and — because
page.evaluatepasses arguments as data rather than interpolating them into script text — script injection through a title or cookie value becomes unrepresentable rather than merely unlikely. - Steam auth is owned, not vendored from an unpinned fork. The original
depended on a personal fork of the
steamlibrary at@master, re-installed on every launch, which handled the user's password and 2FA code. Steam's login API turned out to be plain JSON, so it is now implemented directly in vendor-fabric's Steam connector. - SQLite instead of CSV as state. CSV was both report and database, which
meant titles containing commas, quotes, or newlines corrupted it, and values
starting with
=executed as formulas on open. CSV is now an export only, with escaping. - A CLI with flags, so runs can be scripted and previewed with
--dry-run. - Correctness fixes, including a rate-limit code that made every unexpected failure look like a cooldown and retry forever, and a Steam session id read from the wrong cookie domain.
License
MIT — see LICENSE. Copyright is shared with the original humble-steam-key-redeemer authors, whose work this fork derives from.
Metadata
Release files for humble-steam-key-redeemer 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| humble_steam_key_redeemer-1.2.0.tar.gz | 196.8 kB | Without provenance | Details for humble_steam_key_redeemer-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humble_steam_key_redeemer-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for humble_steam_key_redeemer-1.2.0-py3-none-any.whl |
Total release size: 260.9 kB
Release files / humble_steam_key_redeemer-1.2.0.tar.gz
| Download URL | humble_steam_key_redeemer-1.2.0.tar.gz |
|---|---|
| Size | 196.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e080ef77c5463593119f31922c03329b6fea8f511bf2e963e7b3a6f2b3aa8f8d
|
|
BLAKE2b-256 checksum How to use checksums |
9f6071b4ce240567f135e14aff55b54413e263b96e8d52be87cca147c4eda386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / humble_steam_key_redeemer-1.2.0-py3-none-any.whl
| Download URL | humble_steam_key_redeemer-1.2.0-py3-none-any.whl |
|---|---|
| Size | 64.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b99aee4f58af07de84e55bc71bc9df49c9f90f4529ee97cdf9b4b03549ffaa0b
|
|
BLAKE2b-256 checksum How to use checksums |
cc6d4654d826e011124a77d400e041cc8671f237e8f6dbe5aaf885f87a69e7d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for humble-steam-key-redeemer 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.