Skip to main content

EdGameClaw

Turn learning materials into playable browser mini-games — self-hosted, OpenAI-compatible API, no account required.

License: AGPL-3.0 Python 3.11+ PyPI GitHub Discord

Full documentation, demo video, screenshots, and bilingual (English / 中文) guide:
https://github.com/yh2072/edgameclaw#readme

Hosted product: ahafrog.com


Install

Requires Python 3.11+ and Node.js 18+ (node on your PATH).

pip install edgameclaw

Create .env in the directory where you run the server (or export env vars):

API_KEY=sk-your-openai-compatible-key

Start the app:

uvicorn edgameclaw.server:app --host 127.0.0.1 --port 8000

Open http://127.0.0.1:8000 in your browser.

A small bundled Node service (for playing games) starts on port 3100 when that port is free. Set EDGAMECLAW_ENGINE_STATE_AUTO=0 if you run it yourself.

From source: git clone https://github.com/yh2072/edgameclaw → pip install -e . → see GitHub README for start.sh and .env.example.


Configuration (common)

Variable Notes
API_KEY Required for generation (or paste in Studio UI only — browser-local).
API_BASE_URL Default: OpenRouter.
MODEL Default: google/gemini-3-flash-preview.
EDGAMECLAW_HOME Optional: where to store courses and data (default: current working directory when installed via pip).

Links

Metadata

Release files for edgameclaw 0.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgameclaw 0.1.20
File Size Uploaded
edgameclaw-0.1.20.tar.gz 18.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for edgameclaw 0.1.20
File Interpreter ABI Platform
edgameclaw-0.1.20-py3-none-any.whl Python 3 none any Details

Total release size: 37.3 MB

Release files / edgameclaw-0.1.20.tar.gz

Download URL edgameclaw-0.1.20.tar.gz
Size 18.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3ec37a86e5d7c9a990a38d71c7baae7f3def5c42027f1a1b1537eb1a4cd727a3
BLAKE2b-256 checksum
How to use checksums
00cd5f275b0ebf78019ff7ef28bd8ea19ad5aa0d078da6d68a64b8851861aa9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / edgameclaw-0.1.20-py3-none-any.whl

Download URL edgameclaw-0.1.20-py3-none-any.whl
Size 18.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9408bcb02a9cd0ce91c5286ae898dd1efa794bf7be7273ca7dbe7592a7dec7f7
BLAKE2b-256 checksum
How to use checksums
5c97225c7a678e9dc49d829178eed138d7e159ffc41b69dd2cfc565c78923cf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page