metadata
title: Ipa2korg
emoji: ๐
colorFrom: green
colorTo: yellow
sdk: docker
app_port: 8000
pinned: false
license: mit
tags:
- openai
- api-gateway
- educational
- docker
Ipa2korg (Educational API Gateway)
Educational / research deployment of an OpenAI- and Anthropic-compatible API gateway that routes requests through user-owned upstream credentials.
This Space is a learning project for multi-account API gateway design: routing, quota tracking, admin UI, and local SQLite persistence. It is not intended for production abuse or third-party site scraping.
Capabilities
- OpenAI-style
/v1and Anthropic-style endpoints - Browser admin UI for accounts, client keys, and runtime settings
- Local state under
/data(enable HF Persistent Storage)
Scope
- You supply and manage your own upstream credentials
- Optional egress proxies and session cookies are manual / self-hosted configuration for your own accounts โ no challenge-solver sidecar is started by this Space image by default
Deploy notes (HF Spaces)
app_port: 8000matches the container listen address.config.yamlis baked into the image at/run/grok2api/config.yaml. On a public Space secrets are visible โ prefer a Private Space and change the admin password after first login.- Enable Persistent Storage so
/datasurvives restarts. - Default admin user is
admin. Password is inconfig.yaml(bootstrapAdmin.password).
Configuration
All runtime config lives in config.yaml. Legacy Python-era environment
variables are not read by this Go binary.
License
MIT