mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 16:59:43 +02:00
docs: improve README for GitHub publishing
- Add Requirements section (Node.js 18+, Claude CLI, GNU Screen) - Add Performance Optimized section highlighting optimizations - Fix test count (195 passing) - Improve Quick Start formatting with comments Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,16 +57,29 @@ claudeman web
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
- **Node.js 18+** — ES2022 features required
|
||||||
|
- **Claude CLI** — `claude` command must be in PATH ([Install guide](https://claude.ai/code))
|
||||||
|
- **GNU Screen** — for session persistence (`apt install screen` or `brew install screen`)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
### 1. Install
|
### 1. Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Clone the repository
|
||||||
git clone https://github.com/yourusername/claudeman.git
|
git clone https://github.com/yourusername/claudeman.git
|
||||||
cd claudeman
|
cd claudeman
|
||||||
|
|
||||||
|
# Install dependencies and build
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
npm link # Optional: makes 'claudeman' available globally
|
|
||||||
|
# Optional: make 'claudeman' available globally
|
||||||
|
npm link
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Launch
|
### 2. Launch
|
||||||
@@ -157,6 +170,16 @@ Auto-enables when it detects:
|
|||||||
- Client uses `requestAnimationFrame` for smooth rendering
|
- Client uses `requestAnimationFrame` for smooth rendering
|
||||||
- No polling — real-time SSE for instant updates
|
- No polling — real-time SSE for instant updates
|
||||||
|
|
||||||
|
### 🚀 Performance Optimized
|
||||||
|
|
||||||
|
Built for smooth operation even with multiple long-running sessions:
|
||||||
|
|
||||||
|
- **CSS containment** — isolated paint operations for each component
|
||||||
|
- **Incremental DOM updates** — only changed elements re-render
|
||||||
|
- **Input batching** — keystrokes coalesced at 60fps
|
||||||
|
- **Event debouncing** — reduced server load from rapid state changes
|
||||||
|
- **Memory management** — automatic buffer trimming prevents leaks
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Ralph Loop
|
## Ralph Loop
|
||||||
@@ -386,7 +409,7 @@ A: Up to 20 in the UI, 50 via API.
|
|||||||
npm install
|
npm install
|
||||||
npx tsx src/index.ts web # Dev mode (no build needed)
|
npx tsx src/index.ts web # Dev mode (no build needed)
|
||||||
npm run build # Production build
|
npm run build # Production build
|
||||||
npm test # Run 196 tests
|
npm test # Run 195 tests
|
||||||
npx tsc --noEmit # Type check
|
npx tsc --noEmit # Type check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user