Claude Code G4 banner
Scottcjn Scottcjn

Claude Code G4

Development community

Description

Claude Code for PowerPC G4 Mac OS X Tiger - QuickJS + Python TLS

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![PowerPC](https://img.shields.io/badge/PowerPC-G4-orange)](https://github.com/Scottcjn/claude-code-g4) [![macOS](https://img.shields.io/badge/macOS-Tiger-lightgrey)](https://github.com/Scottcjn/claude-code-g4) [![BCOS Certified](https://img.shields.io/badge/BCOS-Certified-brightgreen?style=flat&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xMiAxTDMgNXY2YzAgNS41NSAzLjg0IDEwLjc0IDkgMTIgNS4xNi0xLjI2IDktNi40NSA5LTEyVjVsLTktNHptLTIgMTZsLTQtNCA1LjQxLTUuNDEgMS40MSAxLjQxTDEwIDE0bDYtNiAxLjQxIDEuNDFMMTAgMTd6Ii8+PC9zdmc+)](BCOS.md)

Claude Code for PowerPC G4 (Mac OS X Tiger)

**Running Claude Code on 20-year-old Macs!**

This is an experimental port of Claude Code concepts for Mac OS X Tiger (10.4) and Leopard (10.5) on PowerPC G4/G5 processors.

What's Included

File Description
claude_code_g4.py Python Claude API client for Tiger
claude.js / claude_code.js QuickJS-based Claude implementation
claude_proxy*.py HTTP proxy helpers for old TLS
quickjs-2024-01-13/ QuickJS with Tiger/Leopard patches

The Challenge

Tiger/Leopard have several limitations:

  • Python 2.3 (no modern SSL)
  • Old OpenSSL (TLS 1.0 only)
  • No Node.js (requires 64-bit or modern libc)

Solutions

Option 1: Python with TLS Proxy

Use a modern machine to proxy HTTPS:

# On Tiger
python claude_code_g4.py --proxy http://modern-machine:8080

Option 2: QuickJS

QuickJS provides modern JavaScript on Tiger:

cd quickjs-2024-01-13
make -f Makefile.ppc
./qjs claude.js

Building QuickJS for Tiger (G4)

# On Tiger with Xcode 2.5
cd quickjs-2024-01-13
make -f Makefile.ppc CC="gcc -mcpu=7450" CFLAGS="-O2"

Building QuickJS for Leopard (G5) — the G5 variant

The G5 is a 64-bit PowerPC