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.10+

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

Hosted product: ahafrog.com


Install

Requires Python 3.10+ 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.1.tar.gz (18.0 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.1-py3-none-any.whl (18.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edgameclaw-0.1.1.tar.gz
  • Upload date:
  • Size: 18.0 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.1.tar.gz
Algorithm Hash digest
SHA256 06a310b645ebac0f9b46e9d28ac0d8b7ee696cf0b3a83ed260bac483a1a66922
MD5 b3379e55178c978457074bb82c741864
BLAKE2b-256 9329f6d9c0562b52149b89207aefccd3c6f3cb4b5fc7caab62261dffd334b711

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edgameclaw-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b549f86b19b213d3cfbd7e51edf0328974722561d86942e437053277537870ad
MD5 f9f971636e9a9515c08f9b1d157d42b8
BLAKE2b-256 865fff7cc63f74040dcec281fa9657eba174daf5bb625b8a86ed5f90ed688f5d

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