This is the official Homebrew tap for batless - a non-blocking, AI-friendly code viewer inspired by bat.
This tap is automatically maintained - the formula is updated with every batless release:
- ✅ Zero manual maintenance required
- ✅ Always up-to-date with latest releases
- ✅ Automatic SHA256 calculation for security
- ✅ Comprehensive testing validates each update
- 🤖 Powered by GitHub Actions automation
# Add the tap (one-time setup)
brew tap docdyhr/batless
# Install batless
brew install batlessbrew install docdyhr/batless/batless# Upgrade to latest version
brew upgrade batless
# Or upgrade everything
brew upgradebatless is a minimal, blazing-fast syntax viewer that never blocks, never pages, never hangs. Unlike bat, it's purpose-built for:
- 🤖 AI code assistants that need predictable, streaming output
- 🔄 CI/CD pipelines where interactive pagers would hang forever
- 📜 Automation scripts that require guaranteed non-blocking behavior
- 🚀 Modern workflows where JSON output and code summaries matter more than line numbers
# View a file with syntax highlighting
batless src/main.rs
# Plain text output (no colors)
batless --mode=plain src/main.rs
# JSON output for parsing
batless --mode=json src/main.rs
# Extract code structure summary
batless --mode=summary src/main.rs
# Limit output
batless --max-lines=50 large-file.py- ✅ NEVER blocks - no pager, no interactive prompts
- 🎨 Syntax highlighting for 100+ languages
- 📊 Multiple output modes: plain, highlighted, JSON, summary
- 🤖 AI-optimized with metadata and token extraction
- 💾 Memory efficient - true streaming architecture
- 📦 Single binary with minimal dependencies
This Homebrew tap is automatically updated through GitHub Actions:
- 🏷️ New release tagged in batless repository
- 🤖 Automation downloads source tarball and calculates SHA256
- 📝 Formula updated with new version and hash
- ✅ Changes committed by
batless-bot - 🍺 Users get latest via
brew upgrade batless
No manual intervention required! The formula stays perfectly synchronized with releases.
- Main Repository: github.com/docdyhr/batless
- Releases: github.com/docdyhr/batless/releases
- Crates.io: crates.io/crates/batless
- Documentation: docs.rs/batless
- Issues: github.com/docdyhr/batless/issues
- Formula Location:
Formula/batless.rb - Automation Workflow:
update-homebrew.yml - Build Method: Compiles from source using Rust toolchain
- Testing: Comprehensive formula tests validate installation
- Formula Issues: Open an issue in this repository
- batless Issues: Use the main repository
- Installation Help: Check the main README
Made with ❤️ and 🤖 automation for seamless Homebrew experience