Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Wardley Map Library πŸ—ΊοΈ

Vercel License: MIT Books

A comprehensive digital library of Wardley Mapping resources, strategic analysis reports, and business strategy books. Built with Vercel serverless functions and modern web technologies for optimal performance and user experience.

🌐 Live Application: https://library.wardleymaps.ai/

✨ Features

  • πŸ“š 182+ Books: Comprehensive collection of strategic analysis and Wardley Mapping resources
  • πŸ” Smart Search: Real-time search with category filtering and fuzzy matching
  • πŸ“– Interactive Reading: Table of contents navigation, responsive design, mobile-optimized
  • πŸ“Š Readability Analysis: Complete text analysis with 6 industry-standard metrics (Flesch, Flesch-Kincaid, Fog, SMOG, ARI, Coleman-Liau)
  • 🎯 Auto-Categorization: AI-powered book categorization across multiple domains
  • πŸ”— Smart Linking: Deep linking to book sections, Wardley map reports, share functionality
  • ⚑ High Performance: Serverless architecture with optimized loading and caching

πŸš€ Quick Start

For Users

Visit library.wardleymaps.ai to browse and read books instantly.

For Developers

# Clone the repository
git clone https://github.com/tractorjuice/GenAI-Books.git
cd GenAI-Books

# Install dependencies
npm install

# Generate book manifest
npm run generate-manifest

# Start local development
npm run test-server

πŸ“‚ Project Structure

β”œβ”€β”€ api/                    # Vercel serverless functions
β”‚   β”œβ”€β”€ books.js           # Books listing API
β”‚   β”œβ”€β”€ books/[id].js      # Individual book details
β”‚   └── wardley/           # Wardley map integration
β”œβ”€β”€ books/                 # Book content library (182+ books)
β”œβ”€β”€ docs/                  # Comprehensive documentation
β”œβ”€β”€ public/                # Frontend application
β”œβ”€β”€ scripts/               # Utility scripts
└── tests/                 # Test suite

πŸ“š Book Categories

The library covers diverse strategic domains:

  • Strategic Mapping (53 books): Wardley Mapping methodology and applications
  • Artificial Intelligence (89 books): GenAI, LLMs, and AI strategy
  • Business Strategy (30 books): Strategic planning and competitive advantage
  • Government (10 books): Public sector transformation and policy
  • Sustainability (15 books): Environmental and social governance
  • Healthcare (4 books): Medical technology and health systems
  • Gaming (4 books): AI in gaming and interactive entertainment
  • Security (4 books): Cybersecurity and privacy frameworks

πŸ“Š Readability Analysis

The library includes comprehensive readability analysis for all books using 6 industry-standard classic readability formulas (1940s-1970s era). These time-tested metrics provide reliable, interpretable assessments that correlate well with human readability judgments.

Metrics Calculated (Classic Formulas)

  • Flesch Reading Ease (1948): 0-100 scale, higher scores indicate easier reading
  • Flesch-Kincaid Grade Level (1975): Years of education needed to understand the text
  • Gunning Fog Index (1952): Formal education years required for comprehension
  • SMOG Index (1969): Simple Measure of Gobbledygook for grade-level estimation
  • Automated Readability Index (1967): Character-based readability metric
  • Coleman-Liau Index (1975): Alternative character-based assessment

Research Foundation

Our implementation covers 6 of the 7 major classic readability formulas, providing comprehensive traditional assessment. See research/readabiliity_methods.md for detailed comparison with modern ML-based approaches and future enhancement possibilities.

Target Readability Scores

Based on analysis of 182 books, the following targets improve accessibility while maintaining technical accuracy:

  • Overall Composite Score: Target 50-70 (current: 16.6)
  • Flesch Reading Ease: Target 60-70 (current: 0.5) - standard level for general audiences
  • Grade Level Metrics: Target 12-16 years (current: 22+ years) - high school to college level
  • Sentence Length: Target 12-18 words βœ“ (current: 17.1 - already achieved)

Priority: Focus on vocabulary simplification and grade level reduction while preserving domain expertise.

Access Analysis

  • Main Dashboard: Visit /readability-analysis.html for library overview
  • Individual Reports: Each book has detailed readability metrics and recommendations
  • API Access: Programmatic access via /api/readability-analysis.js

Library Statistics

  • 182 books analyzed with complete readability profiles
  • Average reading level: Graduate/Professional (22+ years education)
  • Most readable: Tutorial and guide books
  • Most challenging: Technical strategy and academic content

Usage

# Generate complete readability analysis
node scripts/readability-analyzer.js

# Generate individual book reports  
node scripts/individual-readability-reports.js

Analysis results are saved to analysis-results/ directory and automatically integrated into the web interface.

πŸ› οΈ Development

Key Scripts

npm run generate-manifest      # Scan books, update manifest, and generate sitemaps
npm run generate-toc          # Generate table of contents for all books
npm run build-all            # Complete build process

Sitemap Generation

The manifest generator automatically creates and updates two sitemaps:

  • Library Sitemap (sitemap.xml): 200+ URLs for books, categories, and API endpoints
  • Podcast Sitemap (sitemap-podcast.xml): 154+ URLs for podcast episodes from RSS feed
# Generate both sitemaps automatically
node scripts/generate-manifest.js

# Or generate podcast sitemap independently
node scripts/generate-podcast-sitemap.js

Adding New Books

  1. Add book directory to books/ with full_book.md
  2. Run npm run generate-manifest to update catalog and both sitemaps
  3. Test with npm run test-server

SEO and Search Engines

  • Library Sitemap: Automatically generated at /public/sitemap.xml (accessible via library.wardleymaps.ai/sitemap.xml)
  • Podcast Sitemap: Automatically generated at /public/sitemap-podcast.xml from RSS feed conversion
  • Auto-Updates: Both sitemaps regenerate whenever content changes (books added/removed or new podcast episodes)
  • Coverage:
    • Library: 200+ URLs including all books, categories, and API endpoints
    • Podcast: 154+ URLs including episodes, pagination pages, and RSS feed
  • Search Console: Submit both sitemaps to Google Search Console and Bing Webmaster Tools

RSS to Sitemap Conversion

The podcast sitemap is automatically generated from the live RSS feed:

  • Source: https://podcast.wardleymaps.ai/feed.xml
  • Episodes Discovered: 135+ podcast episodes with publication dates
  • Additional Pages: Homepage, RSS feed, and 17 pagination pages
  • Update Frequency: Syncs with RSS feed changes automatically

Architecture

  • Frontend: Vanilla JavaScript with modern ES6+ features
  • Backend: Vercel serverless functions with manifest-based discovery
  • Storage: Git-based content management with GitHub integration
  • SEO: Automated XML sitemap generation for both library and podcast content
  • RSS Integration: Live RSS-to-sitemap conversion with episode discovery
  • Deployment: Automated Vercel deployment from Development branch

Technical Dependencies

  • Core: Node.js, vanilla JavaScript, Vercel serverless functions
  • XML Processing: xml2js for RSS feed parsing and sitemap generation
  • Testing: Custom test suite for API endpoints and content validation
  • Build Tools: Automated manifest generation and content discovery

πŸ“– Documentation

Comprehensive documentation is available in the docs/ directory:

πŸ§ͺ Testing

# Run all tests
npm run test-all

# Test individual components
node tests/test-books.js        # Book data verification
node tests/test-api-endpoints.js # API functionality
node tests/test-server.js       # Local development server

🀝 Contributing

We welcome contributions! Please see our development guidelines:

  1. Branch Strategy: All development happens on the Development branch
  2. Code Quality: Follow existing patterns and conventions
  3. Documentation: Update relevant docs for any changes
  4. Testing: Ensure all tests pass before submitting
git checkout Development
# Make your changes
npm run generate-manifest  # Update manifest and both sitemaps if adding books
npm run test-all           # Verify everything works

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

πŸ† Acknowledgments

This library serves the strategic thinking community by providing free access to high-quality Wardley Mapping and strategic analysis resources. Built with modern web technologies for optimal performance and user experience.


Empowering strategic thinking through accessible knowledge and interactive learning.

Used by

Contributors

Languages