@mmmbuto/codex-cli-termux 0.98.0-termux โ 0.99.0-termux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -90
- package/bin/codex +0 -0
- package/bin/codex-exec +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,169 +1,160 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @mmmbuto/codex-cli-lts
|
|
2
2
|
|
|
3
|
-
> **
|
|
3
|
+
> **Long-term support line for Linux x64, Android Termux (ARM64), and macOS arm64**
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.org/package/@mmmbuto/codex-cli-lts)
|
|
6
|
+
[](https://www.npmjs.org/package/@mmmbuto/codex-cli-lts)
|
|
7
7
|
[](https://ko-fi.com/dionanos)
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## About
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
LTS (Long-term support) release line based on upstream OpenAI Codex rust-v0.80.0. This version focuses on stability and /chat compatibility with minimal features and security patches.
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Supported Platforms
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
- Linux x64
|
|
18
|
+
- Android Termux (ARM64)
|
|
19
|
+
- macOS arm64 (via npm)
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Project Scope
|
|
24
|
+
|
|
25
|
+
### LTS (Multi-platform)
|
|
26
|
+
- Based on upstream rust-v0.80.0
|
|
27
|
+
- Supports /chat and /responses wire APIs
|
|
28
|
+
- Minimal features + security patches only
|
|
29
|
+
- Stable for compatibility-focused use cases
|
|
22
30
|
|
|
23
|
-
### What We Do
|
|
31
|
+
### What We Do
|
|
24
32
|
โ
**Use official OpenAI Codex source** (https://github.com/openai/codex)
|
|
25
|
-
โ
**Compile for ARM64** (Android Termux native)
|
|
33
|
+
โ
**Compile for Linux x64 + ARM64** (Android Termux native)
|
|
26
34
|
โ
**Apply minimal patches** only for Termux-specific issues not addressed upstream
|
|
27
35
|
โ
**Package as npm** for easy installation
|
|
28
36
|
โ
**Maintain full Apache 2.0 compliance** with OpenAI attribution
|
|
29
37
|
|
|
30
|
-
### What We DON'T Do
|
|
38
|
+
### What We DON'T Do
|
|
31
39
|
โ **NO new features**
|
|
32
40
|
โ **NO behavior modifications** (works exactly like upstream)
|
|
33
41
|
โ **NO replacement** of official Codex
|
|
34
42
|
|
|
35
|
-
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Patches & Updates
|
|
36
46
|
|
|
37
|
-
|
|
47
|
+
### LTS Updates
|
|
48
|
+
- Based on rust-v0.80.0 (minimal features + security only)
|
|
49
|
+
- Maintains /chat wire API compatibility
|
|
50
|
+
- Stability-focused for production use
|
|
51
|
+
|
|
52
|
+
### Latest Patches
|
|
53
|
+
We apply patches for issues that:
|
|
38
54
|
- **Prevent Codex from working on Termux**
|
|
39
55
|
- **Are not addressed by upstream** (Termux is not officially supported)
|
|
40
56
|
- **Are minimal and well-documented**
|
|
41
57
|
|
|
42
|
-
**Current patches**: See [patches/](../patches/) directory for full documentation.
|
|
58
|
+
**Current patches**: See [../patches/](../patches/) directory for full documentation.
|
|
43
59
|
|
|
44
60
|
Need help debugging upgrade alerts? See
|
|
45
|
-
[docs/termux-upgrade-checks.md](../docs/termux-upgrade-checks.md) for known causes
|
|
61
|
+
[../docs/termux-upgrade-checks.md](../docs/termux-upgrade-checks.md) for known causes
|
|
46
62
|
and fix strategies.
|
|
47
63
|
|
|
48
64
|
**Found an issue?** Well-documented bug reports with reproduction steps are welcome! Open an [issue](https://github.com/DioNanos/codex-termux/issues).
|
|
49
65
|
|
|
50
66
|
---
|
|
51
67
|
|
|
52
|
-
##
|
|
68
|
+
## ๐ฆ Installation
|
|
69
|
+
|
|
70
|
+
### Termux (Android ARM64)
|
|
53
71
|
|
|
54
72
|
```bash
|
|
55
|
-
# Update Termux packages
|
|
73
|
+
# Update Termux packages and install Node.js
|
|
56
74
|
pkg update && pkg upgrade -y
|
|
57
|
-
|
|
58
|
-
# Install Node.js
|
|
59
75
|
pkg install nodejs-lts -y
|
|
60
76
|
|
|
77
|
+
# Install LTS
|
|
78
|
+
npm install -g @mmmbuto/codex-cli-lts
|
|
79
|
+
|
|
61
80
|
# Verify
|
|
62
|
-
|
|
63
|
-
|
|
81
|
+
codex --version
|
|
82
|
+
codex login
|
|
64
83
|
```
|
|
65
84
|
|
|
66
|
-
**Requirements:**
|
|
67
|
-
- Android 7+ (Termux)
|
|
68
|
-
- ARM64 architecture
|
|
69
|
-
- Node.js >=18 (recommended >=22)
|
|
70
|
-
- ~50MB storage
|
|
85
|
+
**Requirements:** Android 7+, ARM64, Node.js >=18 (recommended v22+), ~50MB storage
|
|
71
86
|
|
|
72
87
|
---
|
|
73
88
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Via npm (Recommended)
|
|
89
|
+
### Linux (x64)
|
|
77
90
|
|
|
78
91
|
```bash
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
### Version policy (LTS vs Latest)
|
|
83
|
-
|
|
84
|
-
This repo maintains **two release lines**:
|
|
85
|
-
|
|
86
|
-
- **LTS:** `@mmmbuto/codex-cli-lts` - based on upstream `rust-v0.80.0`, stable for long-term compatibility
|
|
87
|
-
- **Latest:** `@mmmbuto/codex-cli-termux` - tracks upstream more closely (current: **v0.98.0-termux** based on `rust-v0.98.0`)
|
|
88
|
-
|
|
89
|
-
Install a specific version when needed:
|
|
92
|
+
# Install Node.js (example for Debian/Ubuntu)
|
|
93
|
+
sudo apt-get update
|
|
94
|
+
sudo apt-get install -y nodejs npm
|
|
90
95
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
npm install -g @mmmbuto/codex-cli-lts@latest
|
|
96
|
+
# Install LTS
|
|
97
|
+
npm install -g @mmmbuto/codex-cli-lts
|
|
94
98
|
|
|
95
|
-
#
|
|
96
|
-
|
|
99
|
+
# Verify
|
|
100
|
+
codex --version
|
|
101
|
+
codex login
|
|
97
102
|
```
|
|
98
103
|
|
|
99
|
-
|
|
104
|
+
**Requirements:** Linux x64, Node.js >=18 (recommended v22+), ~80MB storage
|
|
100
105
|
|
|
101
|
-
|
|
102
|
-
npm view @mmmbuto/codex-cli-termux dist-tags
|
|
103
|
-
npm view @mmmbuto/codex-cli-termux versions --json
|
|
104
|
-
```
|
|
106
|
+
---
|
|
105
107
|
|
|
106
|
-
###
|
|
108
|
+
### macOS (arm64)
|
|
107
109
|
|
|
108
110
|
```bash
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
# Using npm
|
|
112
|
+
npm install -g @mmmbuto/codex-cli-lts
|
|
111
113
|
|
|
114
|
+
# Verify
|
|
115
|
+
codex --version
|
|
112
116
|
codex login
|
|
113
|
-
# Opens browser for authentication
|
|
114
117
|
```
|
|
115
118
|
|
|
116
|
-
**
|
|
117
|
-
- npm: https://www.npmjs.org/package/@mmmbuto/codex-cli-termux
|
|
118
|
-
- Releases: https://github.com/DioNanos/codex-termux/releases
|
|
119
|
-
- Upstream: https://github.com/openai/codex
|
|
120
|
-
- Web UI: [NexusCLI](https://github.com/DioNanos/nexuscli) - Optional web interface for Codex/Claude/Gemini
|
|
119
|
+
**Requirements:** macOS arm64, Node.js >=18 (recommended v22+), ~100MB storage
|
|
121
120
|
|
|
122
121
|
---
|
|
123
122
|
|
|
124
|
-
##
|
|
123
|
+
## ๐ Documentation
|
|
125
124
|
|
|
126
|
-
|
|
125
|
+
- [Installation Details](../docs/installation.md)
|
|
126
|
+
- [Testing](../docs/testing.md)
|
|
127
|
+
- [Building from Source](../BUILDING.md)
|
|
128
|
+
- [Test Reports](../test-reports/)
|
|
129
|
+
- [Full Documentation](../docs/)
|
|
127
130
|
|
|
128
|
-
|
|
129
|
-
# Login to OpenAI
|
|
130
|
-
codex login
|
|
131
|
-
|
|
132
|
-
# Start chat
|
|
133
|
-
codex
|
|
134
|
-
|
|
135
|
-
# Help
|
|
136
|
-
codex --help
|
|
137
|
-
```
|
|
131
|
+
---
|
|
138
132
|
|
|
139
|
-
|
|
133
|
+
## ๐ง Project Maintenance
|
|
140
134
|
|
|
141
|
-
|
|
135
|
+
Community-maintained port enabling AI-powered coding on Android Termux. Activities include ARM64 compilation, upstream synchronization, Termux compatibility patches, and documentation.
|
|
142
136
|
|
|
143
|
-
|
|
144
|
-
# Execute a prompt non-interactively
|
|
145
|
-
codex "Generate a hello world in Python"
|
|
137
|
+
**Thank you** to all users who have reported issues, provided feedback, and helped improve this project.
|
|
146
138
|
|
|
147
|
-
|
|
148
|
-
codex --json "List files in current directory"
|
|
149
|
-
```
|
|
139
|
+
---
|
|
150
140
|
|
|
151
|
-
##
|
|
141
|
+
## ๐ License
|
|
152
142
|
|
|
153
|
-
|
|
143
|
+
This project maintains full compliance with Apache 2.0 license from OpenAI Codex.
|
|
154
144
|
|
|
155
|
-
**
|
|
145
|
+
**Original work**: Copyright OpenAI (https://github.com/openai/codex)
|
|
146
|
+
**Termux port**: Minimal patches for Android compatibility
|
|
156
147
|
|
|
157
|
-
|
|
148
|
+
See [../LICENSE](../LICENSE) file for details.
|
|
158
149
|
|
|
159
150
|
---
|
|
160
151
|
|
|
161
|
-
##
|
|
152
|
+
## ๐ Credits
|
|
162
153
|
|
|
163
|
-
|
|
154
|
+
- **OpenAI** for the amazing Codex CLI
|
|
155
|
+
- **Termux** community for Android terminal environment
|
|
156
|
+
- All contributors to upstream Codex project
|
|
164
157
|
|
|
165
158
|
---
|
|
166
159
|
|
|
167
|
-
**Version**: Based on OpenAI Codex rust-v0.98.0 with Termux compatibility patches
|
|
168
|
-
**Platform**: Android Termux ARM64
|
|
169
160
|
**Maintained**: Community-driven, not affiliated with OpenAI
|
package/bin/codex
CHANGED
|
Binary file
|
package/bin/codex-exec
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/codex-cli-termux",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "OpenAI Codex CLI (upstream rust-v0.
|
|
3
|
+
"version": "0.99.0-termux",
|
|
4
|
+
"description": "OpenAI Codex CLI (upstream rust-v0.99.0) packaged as 0.99.0-termux โ TUI + automation for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "bin/codex.js",
|
|
7
7
|
"bin": {
|