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.1

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.1
File Size Uploaded Provenance Actions
ahafrog-0.2.1.tar.gz 3.0 MB Without provenance Details for ahafrog-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 MB

Release files / ahafrog-0.2.1.tar.gz

Download URL ahafrog-0.2.1.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
ea6c8e4d2e8b7eaba65cff70ddc282e77ad208dbeae5bcdea9c03c264b2dfb2d
BLAKE2b-256 checksum
How to use checksums
d515ad8472a4c6d3f968413586b60fa257705784322c81c6346e6997d475623d
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.1-py3-none-any.whl

Download URL ahafrog-0.2.1-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d2e7c06ed6bf4ddd143fa32f760b184f98395cfa7910620b3387d9f08ec8fdc0
BLAKE2b-256 checksum
How to use checksums
2a6c565d3a2c02566043164a982abf7847d596fc83e773910e4478c58e404211
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.1

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.1 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