Skip to content

Quick Start

diegosouzapw edited this page Jul 8, 2026 · 1 revision

Quick Start

Install

npm install -g omniglyph

Or run without installing:

npx omniglyph

Use with Claude Code

Start the proxy (defaults to http://127.0.0.1:47821, loopback only):

omniglyph

Then point any Anthropic-compatible client at it:

ANTHROPIC_BASE_URL=http://127.0.0.1:47821 claude

Bulky context is now billed as image tokens (~19 chars/token) instead of text tokens (~2 chars/token) — but only when the math wins, and only for approved models. Everything else passes straight through untouched.

Use with an OpenAI-compatible client

OPENAI_BASE_URL=http://127.0.0.1:47821/v1

Dashboard

Open http://127.0.0.1:47821/ to see tokens saved, side-by-side conversions, and a live kill switch. The dashboard is unauthenticated and serves captured context — keep it on 127.0.0.1 (the default) unless you know what you are doing.

omniglyph export — render files to pages by hand

omniglyph export --include "*.ts" src/     # TypeScript files → PNG pages + cost report
omniglyph export --git                      # uncommitted changes
cat big-file.txt | omniglyph export --stdin

Localized help

The CLI --help is translated. Set your locale:

OMNIGLYPH_LANG=pt-BR omniglyph --help

Falls back to English for any locale without a catalog.

Clone this wiki locally