// readme

πŸ“š Claude Code Documentation Tracker

ζ—₯本θͺž

Automatically fetch and track changes in Claude Code’s official documentation using Git-based scraping.

🎯 Features

  • πŸ”„ Automated Updates: 4 times daily (3:00, 9:00, 15:00, 21:00 JST)
  • πŸ“ Pure Markdown: Direct storage from source
  • πŸ“Š Git-based Tracking: Complete change history
  • πŸ—‘οΈ Full Sync: Adds new docs, updates existing, removes deleted
  • πŸš€ TypeScript: Type-safe implementation
  • ⚑ Lightweight: Minimal dependencies

πŸ” How It Works

System Architecture

1. Fetch Sources in Parallel
   β”œβ”€β”€ llms.txt (authoritative URL list)
   └── docs_map.md (titles and structure)

2. Merge & Dedupe
   β”œβ”€β”€ Combine both sources
   └── Remove duplicate URLs

3. Sync Local Files
   β”œβ”€β”€ Compare merged list with local files
   └── Delete orphaned files (not in sources)

4. Fetch Each Document
   β”œβ”€β”€ Direct Markdown fetch (no HTML conversion)
   β”œβ”€β”€ Add minimal frontmatter (title, source)
   └── Save to docs/en/[filename].md

5. Git Tracking
   β”œβ”€β”€ New files β†’ "Added [file]"
   β”œβ”€β”€ Changed files β†’ "Modified [file]"
   └── Deleted files β†’ "Deleted…