codex-auth-automation 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +6 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Codex Auth
1
+ # Codex Auth Automation
2
2
 
3
3
  Automated OpenAI/Codex account creation using Gmail aliases. Creates new accounts on demand with zero manual intervention.
4
4
 
@@ -7,16 +7,13 @@ Automated OpenAI/Codex account creation using Gmail aliases. Creates new account
7
7
  1. Uses Gmail aliases (`you+codex1@gmail.com`, `you+codex2@gmail.com`, etc.) — all codes land in your real inbox
8
8
  2. Reads verification codes from Gmail via IMAP
9
9
  3. Automates the OpenAI OAuth flow with Playwright (headless browser)
10
- 4. Captures and stores OAuth tokens for use with Codex/OpenCode
10
+ 4. Captures and stores OAuth tokens directly into `~/.local/share/opencode/auth.json`
11
11
 
12
12
  ## Quick Start
13
13
 
14
14
  ```bash
15
- # Install
16
- pip install codex-auth
17
-
18
- # Install Playwright browser
19
- playwright install chromium
15
+ # Install (auto-installs Chromium)
16
+ npm install -g codex-auth-automation
20
17
 
21
18
  # Setup (interactive)
22
19
  codex-auth setup
@@ -71,9 +68,9 @@ Each run creates a new account with the next alias (`+codex1`, `+codex2`, etc.).
71
68
 
72
69
  ## Requirements
73
70
 
74
- - Python 3.10+
71
+ - Node.js 18+
75
72
  - Gmail account with App Password enabled
76
- - Playwright (Chromium browser)
73
+ - Chromium (auto-installed via postinstall)
77
74
 
78
75
  ## License
79
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-auth-automation",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Automated OpenAI/Codex account creation with Gmail aliases",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "scripts": {
10
10
  "build": "tsc",
11
- "prepublishOnly": "npm run build"
11
+ "postinstall": "npx playwright install chromium"
12
12
  },
13
13
  "keywords": [
14
14
  "openai",