2025-10-16 08:59:03 +02:00
2025-10-15 21:59:13 +11:00
2025-10-14 14:16:15 +02:00
2025-10-16 07:54:59 +02:00
2025-10-16 07:54:59 +02:00
2025-10-16 08:59:03 +02:00
2025-10-16 08:59:03 +02:00
2025-10-16 07:23:38 +02:00

Example Codex Go Bindings

This repository demonstrates how to integrate the Codex Go bindings into a Go project.

The project starts a Codex node, uploads and downloads some data and then stops the node.

Usage

Get the Go dependency

go get 

Fetch the artifacts

make fetch

The default OS is linux and the default ARCH is amd64. You can provide them as environment variables:

OS="macos" ARCH="arm64" make fetch

You can change the version by providing it as environment variables:

VERSION="v0.0.21" make fetch

The default folder is libs, you can change it by editing the Makefile.

Build

make build

Run

make run

Windows

To run on Windows, you need to include the libs folder (or your custom folder if you changed it) into the path:

$env:PATH = "$PWD\libs;" + $env:PATH
.\example.exe
Description
Sample integration of codex-go-bindings into a project.
Readme
Languages
Go 57.3%
Makefile 42.7%