3,700 prompts from top AI collections
← Back to Market
[UNTESTED] [tapacuk93/aicoin] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,253 characters
Status: [UNTESTED] Endpoints found: http://localhost:8080/v1/chat/completions http://localhost:8080/wallet/api/balance/alice http://localhost:8080/wallet/api/claim http://localhost:8080/wallet/api/transfer Source: https://github.com/tapacuk93/aicoin # aicoin > **Status: draft / prototype.** This is a working proof-of-concept, not a > production system — no real API keys are bundled, and wallet ids are > plain strings with no cryptographic identity. See [CONTRACT.md](./CONTRACT.md) > for the full spec, and `aicoin-proxy/README.md` for exhaustive detail. > This file is the practical "how do I run this" guide. Live landing page: [aicoin.oeaio.com](https://aicoin.oeaio.com) (source in [`site/`](./site/), a static page served by Caddy — automatic Let's Encrypt TLS, HTTP redirected to HTTPS). One thing: **aicoin-proxy** — an HTTP reverse proxy you point your AI API calls at instead of the real provider. It forwards the request unchanged (same path, same body) to whichever provider you ask for, using **its own** paid API key — you never need your own OpenAI/Anthropic/etc. key. It bills the call to an aicoin wallet and tracks a coin price that reflects real recent AI spend — both the proxying and the coin ledger (wallet balances, free-coin faucet, transfers, price) live in this one Java process, backed by Redis. ``` you → aicoin-proxy → real AI provider (OpenAI/Anthropic/Google/Mistral/Cohere) ↓ Redis (wallet balances, price history) ``` ## Quickstart — Docker Compose ``` docker compose up --build ``` This starts a Redis container (snapshotting enabled for persistence) and the proxy pointed at it. Once it's up: ``` curl http://localhost:8080/health curl http://localhost:8080/price ``` Provider API keys aren't set by default — pass them as env vars (see "Configure real provider keys" below) or edit `docker-compose.yml`. ## Manual setup (no Docker) You need a GraalVM JDK and a local Redis (or Redis-compatible, e.g. Valkey) server. The Docker image and `build.gradle`'s toolchain currently pin **GraalVM 25** (see `.java-version`) — CONTRACT.md's "Docker / docker-compose" section explains why this isn't "GraalVM JDK 26" yet (GraalVM hasn't published a JDK 26 build as of
Download .txt