Show HN: Sprawl Guard - keep source files and directories manageable
Category: devtools
Tags: code-quality, static-analysis, cli, rust, code-organization
Score: 5.8/10 (Innovation: 5, Technical: 5, Documentation: 8, Utility: 5)
Sprawl Guard is a Rust-based CLI that enforces limits on source file length and directory file count across polyglot repositories, using Tokei for language detection. It supports a ratchet file to prevent existing violations from growing, making it useful for gradually improving code organization. The tool is well-documented and integrates with multiple package managers and coding agents.
Target audience: backend devs, frontend devs, devops, engineering teams managing large codebases
Repository: https://kpozin.github.io/sprawl-guard/ · Rust · Apache-2.0
View on Hacker News