{"repo":"Scottcjn/claude-code-g4","free":true,"listed":false,"github":"https://github.com/Scottcjn/claude-code-g4","clone":"git clone https://github.com/Scottcjn/claude-code-g4.git","description":"Claude Code for PowerPC G4 Mac OS X Tiger - QuickJS + Python TLS","language":"C","stars":74,"topics":["ai","claude","cli","g4","macos","powerpc","tiger"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"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: Option 2: QuickJS QuickJS provides modern JavaScript on Tiger: Building QuickJS for Tiger (G4) Building QuickJS for Leopard (G5) — the G5 variant The G5 is a 64-bit PowerPC 970 with AltiVec, and Leopard (10.5) ships a newer userland than Tiger (Python 2.5, optional modern GCC). The G5 variant tunes for the 970 and targets Leopard: Variant files: Makefile.ppc.g5 , leopard compat.h (the Leopard sibling of tiger compat.h — keeps the clock gettime shim), and repl stub.c (empty REPL/qjscalc blobs so qjs links for script use). Hardware Tested Machine CPU OS RAM Status --------- ----- ----- ----- -------- Power Mac G4 Dual 1.25 GHz Tiger 10.4 2GB Working PowerBook G4 1.67 GHz Tiger 10.4 2GB Working Power Mac G5 Dual 2.0 GHz Leopard 10.5.9 6GB Working — G5 variant build + run","default_branch":null,"files":null,"tree":[],"storefront":"/r/Scottcjn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Scottcjn/claude-code-g4/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}