Skip to main content

Self-hosted AI studio: turn learning materials into playable browser mini-games

Project description

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/edgameclawpip 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgameclaw-0.1.20.tar.gz (18.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgameclaw-0.1.20-py3-none-any.whl (18.6 MB view details)

Uploaded Python 3

File details

Details for the file edgameclaw-0.1.20.tar.gz.

File metadata

  • Download URL: edgameclaw-0.1.20.tar.gz
  • Upload date:
  • Size: 18.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for edgameclaw-0.1.20.tar.gz
Algorithm Hash digest
SHA256 3ec37a86e5d7c9a990a38d71c7baae7f3def5c42027f1a1b1537eb1a4cd727a3
MD5 ebfa085cbb3c4f9d3f67cbe63dcbd2a9
BLAKE2b-256 00cd5f275b0ebf78019ff7ef28bd8ea19ad5aa0d078da6d68a64b8851861aa9a

See more details on using hashes here.

File details

Details for the file edgameclaw-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: edgameclaw-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 18.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for edgameclaw-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 9408bcb02a9cd0ce91c5286ae898dd1efa794bf7be7273ca7dbe7592a7dec7f7
MD5 d7b0b80515a675c0c1724cce5d6b457b
BLAKE2b-256 5c97225c7a678e9dc49d829178eed138d7e159ffc41b69dd2cfc565c78923cf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page