█████ ██ ██ ███████ ████████ ███████ ███ ██
██ ██ ██ ██ ██ ██ ██ ████ ██
███████ ██ ██ ███████ ██ █████ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██████ ███████ ██ ███████ ██ ████
This CLI tool uses AI to analyze books and generate character relationship diagrams in ASCII art directly from the command line.
2026-02-04.13-09-35.mp4
- 🔍 Search any book from Open Library
- 🤖 AI-powered character relationship analysis via Cloudflare Worker
- 🎨 ASCII art diagram rendering in terminal
- 🔗 Shareable browser links for viewing and sharing diagrams
npx austen generate "Pride and Prejudice"npm install -g austenausten generate "The Art of Computer Programming"
austen generate Misery
austen --help
austen generate --helpgit clone https://github.com/herol3oy/austen-cli
cd austen-cli
npm i
npm run build
npm link
austen generate Emmanpm tnpm run buildThe Old Man and the Sea by Ernest Hemingway (1952)
┌─────────────┐ ┌─────────┐
│ │ │ │
│ Santiago ├Apprentice─►┤ Manolin │
│ │ │ │
└──────┬──────┘ └─────────┘
│
│
│
Adversary
│
│ ┌─────────┐
│ │ │
├──────────────────►│ Marlin │
| │ │
│ └─────────┘
│
│
│
Adversaries
│
│ ┌─────────┐
│ │ │
└──────────────────►│ Sharks │
│ │
└─────────┘
- Search: Searches Open Library for books matching your query
- Select: Lets you choose from the top 5 search results
- Analyze: Uses DeepSeek AI via Cloudflare Worker to analyze character relationships
- Render: Displays ASCII art diagram in your terminal
- Share: Generates a shareable link so you can view and share the diagram in a browser
- TypeScript - Type-safe development
- Commander.js - CLI framework
- Inquirer - Interactive prompts
- Ora - Loading spinners
- Chalk - Colored output
- Beautiful Mermaid - Converting Mermaid syntax to ASCII
- Cloudflare Workers - Serverless AI endpoint (DeepSeek integration)
Note: The Cloudflare Worker is pre-deployed and hardcoded in the CLI for simplicity. No environment setup required!
- Open Library - Book data
- DeepSeek - AI analysis
- Cloudflare Workers - Serverless platform
- Austen Web App - Full-featured Next.js web application