dev-util/opencodex (bentoo)

Search

Install

Install this package:

emerge -a dev-util/opencodex

Package Information

Description:
opencodex is a universal provider proxy: it speaks the OpenAI Responses and Anthropic Messages APIs on the front, and forwards to whatever backend is configured behind it, so OpenAI's Codex CLI, Codex App and SDK, and Anthropic's Claude Code can be pointed at Claude, Gemini, Grok, DeepSeek, OpenRouter, a local Ollama, or any OpenAI-compatible endpoint without the client knowing. It runs as a local daemon on 127.0.0.1:10100 and ships a browser UI for picking models and watching traffic. This package installs the TypeScript sources and runs them directly on the Bun runtime from net-libs/bun-bin, with the JavaScript dependency tree vendored from upstream's bun.lock rather than fetched at build time. Because that is the layout opencodex classifies as a source install, its built-in self-updater detects it and declines to write into /usr: updates come through Portage.
Homepage:
https://lidge-jun.github.io/opencodex/ https://github.com/lidge-jun/opencodex
License:
MIT ISC BSD BSD-2 Apache-2.0

Versions

Version EAPI Keywords Slot
2.48.0 8 ~amd64 ~arm64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@protonmail.com</email>
		<name>Lucas C.S.</name>
	</maintainer>
	<longdescription lang="en">
		opencodex is a universal provider proxy: it speaks the OpenAI Responses
		and Anthropic Messages APIs on the front, and forwards to whatever
		backend is configured behind it, so OpenAI's Codex CLI, Codex App and
		SDK, and Anthropic's Claude Code can be pointed at Claude, Gemini,
		Grok, DeepSeek, OpenRouter, a local Ollama, or any OpenAI-compatible
		endpoint without the client knowing. It runs as a local daemon on
		127.0.0.1:10100 and ships a browser UI for picking models and watching
		traffic.

		This package installs the TypeScript sources and runs them directly on
		the Bun runtime from net-libs/bun-bin, with the JavaScript dependency
		tree vendored from upstream's bun.lock rather than fetched at build
		time. Because that is the layout opencodex classifies as a source
		install, its built-in self-updater detects it and declines to write
		into /usr: updates come through Portage.
	</longdescription>
	<use>
		<flag name="keyring">
			Store provider API keys in the OS keyring instead of in
			opencodex's own configuration file. Pulls in the package's only
			prebuilt binary, and needs a Secret Service provider
			(gnome-keyring, KWallet or KeePassXC) on the session bus at
			runtime.
		</flag>
	</use>
	<upstream>
		<bugs-to>https://github.com/lidge-jun/opencodex/issues</bugs-to>
		<remote-id type="github">lidge-jun/opencodex</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/opencodex | euse -E <flag> -p dev-util/opencodex | euse -D <flag> -p dev-util/opencodex

Flag Description 2.48.0
keyring Store provider API keys in the OS keyring instead of in opencodex's own configuration file. Pulls in the package's only prebuilt binary, and needs a Secret Service provider (gnome-keyring, KWallet or KeePassXC) on the session bus at runtime.

Files

Manifest

Type File Size Versions
DIST opencodex-2.48.0.tgz 10282858 bytes 2.48.0
DIST opencodex-keyring-1.3.0-linux-arm64-gnu.tar.xz 847296 bytes 2.48.0
DIST opencodex-keyring-1.3.0-linux-x64-gnu.tar.xz 979964 bytes 2.48.0
DIST opencodex-node_modules-2.48.0.tar.xz 1729456 bytes 2.48.0
Unmatched Entries
Type File Size