Hasty Briefsbeta

Bilingual

Show HN: Min.js Style Compression of Tech Docs for LLM Context

a year ago
  • #knowledge-compression
  • #AI-documentation
  • #machine-learning
  • llm-min.txt is a machine-optimized format for compressing technical documentation for AI consumption.
  • It uses the Structured Knowledge Format (SKF) to organize information into Definitions, Interactions, and Usage Patterns sections.
  • The format achieves 90-95% token reduction compared to original documentation, making it efficient for AI processing.
  • Key features include header metadata, three core structured sections, and line-based structure for machine parsing.
  • The tool requires Google's Gemini API for generation but can be used with any competent coding model afterwards.
  • Installation is via pip, and generation involves a multi-stage AI analysis pipeline.
  • Future plans include a public repository for pre-generated files and code-based documentation inference.
  • Common questions address generation time, cost, and error handling.