r/devtools • u/thewassiy • Oct 03 '26
Built an open source dev tool that scans repos for carbon and cost efficiency issues
Hey r/devtools!
Just shipped v0.1 of sustainability-score — a static
analysis tool that scans your repository and flags
engineering choices that push carbon and cost up.
It looks at:
- Dockerfiles — image size, layer efficiency,
base image choices
- CI/CD workflows — unnecessary steps,
inefficient build patterns
- Kubernetes manifests — over-provisioning,
missing resource limits
- Terraform — region choices, instance efficiency
- Source code — algorithm and efficiency patterns
Output is a scored report in Markdown and JSON.
GitHub Action integration is on the roadmap.
pip install -e .
sustainability-score /path/to/repo --md report.md
MIT licensed. Open source.
GitHub: https://github.com/srinathgopinath-code/sustainability-score
Would love feedback from anyone building or using
developer tooling!