Skip to main content

AhaFrog

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

License: AGPL-3.0 Python 3.10+ PyPI GitHub Discord

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

Hosted product: ahafrog.com


Install

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

pip install ahafrog

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 ahafrog.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 AHAFROG_ENGINE_STATE_AUTO=0 if you run it yourself.

From source: git clone https://github.com/yh2072/ahafrog → 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.
AHAFROG_HOME Optional: where to store courses and data (default: current working directory when installed via pip).

Metadata

Release files for ahafrog 0.2.0

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

Source distribution (sdist)

Source distribution for ahafrog 0.2.0
File Size Uploaded Provenance Actions
ahafrog-0.2.0.tar.gz 355.2 kB Without provenance Details for ahafrog-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 727.9 kB

Release files / ahafrog-0.2.0.tar.gz

Download URL ahafrog-0.2.0.tar.gz
Size 355.2 kB
Tags Source
SHA-256 checksum
How to use checksums
788329669b9eb9dd58ec8e22c4271fc11c342bf6c02d668f58847ebc55b8096e
BLAKE2b-256 checksum
How to use checksums
e575edc2b223a927720be765cbbcc8890c6219d233f1d2de6380908e2fba04e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / ahafrog-0.2.0-py3-none-any.whl

Download URL ahafrog-0.2.0-py3-none-any.whl
Size 372.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1e537f00d63c8e3605cf6f9119d37abcb0ff6db8900e9f0c34c600722cc294b
BLAKE2b-256 checksum
How to use checksums
5c8d34d1f36da3b00c30ae2deca9bea2cf206da395eca1c7cae3320c63f113a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for ahafrog 0.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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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