Dir2md Feature Comparison: Open Source vs Pro
Transform your codebase into LLM-optimized markdown blueprints
Dir2md follows an Open-Core model - providing essential functionality for free while offering advanced features for professional teams and power users.
π― Quick Comparison
| Feature Category | Open Source (Free) | Pro Version |
|---|---|---|
| Basic Functionality | β Full Access | β Enhanced |
| Security & Masking | β Basic Patterns | β Advanced + Custom |
| Performance | β Single-threaded | β Parallel + Caching |
| Export Options | β Markdown Only | β HTML, PDF, Slides |
| Team Features | β Individual Use | β CI/CD Integration |
| Language Support | β Basic Analysis | β Smart Plugins |
π Open Source Features (MIT License)
Core Functionality
- π Directory Scanning: Complete file tree analysis with
.gitignoresupport - π― Smart Filtering: Include/exclude/omit glob patterns
- π Token Optimization: Head/tail sampling with configurable budgets
- π Duplicate Detection: SimHash-based content deduplication
- π Manifest Generation: JSON metadata with file hashes and statistics
- β° Deterministic Output:
--no-timestampfor reproducible builds - π¨ Multiple Presets:
iceberg,pro,raw(default:rawfor developers)
Basic Security
- π‘οΈ Essential Masking: Protection for common secrets
- AWS Access Keys (
AKIA[0-9A-Z]{16}) - Bearer Tokens (
Bearer <token>) - Private Keys (
-----BEGIN ... PRIVATE KEY-----)
- AWS Access Keys (
Output Modes
- π Reference Mode: File listings with metadata
- π Summary Mode: Condensed content overview
- π Inline Mode: Full content inclusion (within token budget)
CLI & Integration
- β‘ Command Line Interface: Full-featured CLI with help system
- π§ Configurable Options: Extensive customization via arguments
- π¦ Easy Installation:
pip install dir2md
π Pro Version Features
Advanced Security & Compliance
- π‘οΈ Comprehensive Masking: 25+ built-in patterns
- Cloud Provider Keys (AWS, Azure, GCP)
- API Tokens (Slack, GitHub, GitLab)
- Database Connections & Credentials
- Custom Pattern Support
- π Smart Detection: File-type aware masking
- β False Positive Reduction: Context-aware pattern matching
- π Audit Logging: Security scanning reports
Performance & Scale
- β‘ Parallel Processing: Multi-threaded file analysis
- πΎ Incremental Caching:
.dir2md_cache/for faster re-runs - π Large Repository Support: Optimized for 10,000+ files
- π Streaming Processing: Memory-efficient for massive codebases
Advanced Analysis
- π§ Language Plugins: Smart code analysis
- Python: AST parsing, function/class extraction
- JavaScript/TypeScript: ES module analysis, export detection
- Go: Package structure, type definitions
- Java: Class hierarchy, annotation extraction
- π Drift Detection: Compare blueprint versions
- π― Impact Scoring: Identify critical changes
Export & Sharing
- π Multiple Formats: HTML, PDF, PowerPoint slides
- π¨ Custom Templates: Branded output with Jinja2
- π± Responsive HTML: Mobile-friendly documentation
- π¨οΈ Print Optimization: Publication-ready PDFs
Team & CI/CD Integration
- π€ GitHub Actions: Automated blueprint generation
- π¬ PR Comments: Automatic documentation updates
- π GitLab Integration: Pipeline integration support
- π Status Checks: Quality gates for documentation
- π₯ Team Templates: Standardized output formats
Developer Experience
- π₯οΈ Terminal UI (TUI): Interactive file selection
- π Live Preview: Real-time output preview
- βοΈ Advanced Configuration: Team-wide settings
- π Analytics Dashboard: Usage metrics and insights
π° Pricing & Licensing
Open Source (MIT)
- Price: Free forever
- Use Case: Individual developers, small projects
- Support: Community via GitHub Issues
- License: MIT - commercial use allowed
Pro Version
- Individual: $29/month or $290/year
- Team (5 users): $99/month or $990/year
- Enterprise: Custom pricing with on-premise options
- Support: Priority email support + documentation
- License: Commercial license with usage analytics opt-out
π Usage Examples
Open Source Quick Start
# Install from PyPI
pip install dir2md
# Basic usage with security masking
dir2md ./my-project --masking basic --preset raw
# Generate with manifest for CI/CD
dir2md . --emit-manifest --no-timestamp --output blueprint.md
Pro Version Examples
# Set Pro license
export DIR2MD_LICENSE="PRO-your-license-key"
# Advanced masking with custom patterns
dir2md . --masking advanced --preset pro
# Parallel processing with caching
dir2md ./large-repo --parallel --use-cache
# Generate multiple formats
dir2md . --export html,pdf --template branded
GitHub Actions Integration
Open Source:
- name: Generate Blueprint
run: |
pip install dir2md
dir2md . --no-timestamp --output docs/blueprint.md
Pro Version:
- name: Generate Pro Blueprint
env:
DIR2MD_LICENSE: ${{ secrets.DIR2MD_PRO_LICENSE }}
run: |
pip install dir2md-pro
dir2md . --masking advanced --export html --pr-comment
π― When to Upgrade to Pro
Individual Developers
- Working with sensitive codebases requiring advanced security
- Need faster processing for large repositories (1000+ files)
- Want professional-looking exports for client presentations
- Require language-specific code analysis
Teams & Organizations
- Standardizing documentation across multiple projects
- Integrating with CI/CD pipelines for automatic updates
- Need compliance features for security auditing
- Want team analytics and usage insights
Enterprise Users
- On-premise deployment requirements
- SSO/SAML integration needs
- Custom security patterns and compliance rules
- Dedicated support and SLA requirements
π οΈ Technical Implementation
Open-Core Architecture
dir2md-core (OSS) dir2md-pro (Commercial)
βββ CLI Interface βββ Advanced Masking
βββ File Scanning βββ Language Plugins
βββ Token Optimization βββ Parallel Engine
βββ Basic Masking βββ Export Templates
βββ Manifest Generation βββ Team Integration
βββ Markdown Output βββ License Validation
License Validation
- Runtime Check: Environment variable
DIR2MD_LICENSE - Offline Validation: Ed25519 signature verification
- Graceful Degradation: Falls back to OSS features if invalid
- No Phone Home: All validation happens locally
Plugin System
# Pro Plugin Example
class PythonAnalyzer(LanguagePlugin):
extensions = {'.py'}
def analyze(self, content: str) -> Dict[str, Any]:
return {
'functions': self.extract_functions(content),
'classes': self.extract_classes(content),
'imports': self.extract_imports(content)
}
π Comparison with Alternatives
| Tool | Open Source | Pro Features | License Model |
|---|---|---|---|
| dir2md | β Full core functionality | β Advanced security, performance, team features | Open-Core (MIT + Commercial) |
| tree + cat | β Basic listing | β No advanced features | Free (but manual) |
| Proprietary doc tools | β Closed source | β Enterprise features | Subscription only |
| Custom scripts | β DIY solution | β No standardization | Time investment |
π Get Started
Try Open Source
pip install dir2md
dir2md --help
Evaluate Pro Features
# 14-day free trial
export DIR2MD_LICENSE="TRIAL-request-at-dir2md.com"
pip install dir2md-pro
dir2md --masking advanced --parallel
Purchase Pro License
- Individual: Buy now for $29/month
- Team: Start team trial
- Enterprise: Contact sales
π€ Contributing
Dir2md's open-source core welcomes contributions:
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Discussions
- Code Contributions: See CONTRIBUTING.md
- Documentation: Help improve our guides and examples
Pro features are developed in-house but benefit from community feedback and OSS improvements.
Made with β€οΈ for developers who value great documentation