{"id":44840838,"url":"https://github.com/wharflab/tally","last_synced_at":"2026-04-26T22:03:37.417Z","repository":{"id":334553669,"uuid":"1141811828","full_name":"wharflab/tally","owner":"wharflab","description":"tally keeps Dockerfiles and Containerfiles clean, modern, and consistent — using BuildKit's own parser and checks it adds all Hadolint rules plus safe auto-fixes.","archived":false,"fork":false,"pushed_at":"2026-03-07T01:38:29.000Z","size":3265,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-07T04:45:47.960Z","etag":null,"topics":["buildx","containers","docker","dockerfile","hadolint","linter","podman"],"latest_commit_sha":null,"homepage":"http://wharflab.github.io/tally/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wharflab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":"CLA.md"},"funding":{"github":["tinovyatkin"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2026-01-25T13:27:38.000Z","updated_at":"2026-03-07T01:36:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wharflab/tally","commit_stats":null,"previous_names":["tinovyatkin/tally","wharflab/tally"],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/wharflab/tally","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharflab%2Ftally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharflab%2Ftally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharflab%2Ftally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharflab%2Ftally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wharflab","download_url":"https://codeload.github.com/wharflab/tally/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharflab%2Ftally/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30312127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildx","containers","docker","dockerfile","hadolint","linter","podman"],"created_at":"2026-02-17T03:29:09.662Z","updated_at":"2026-04-26T22:03:37.411Z","avatar_url":"https://github.com/wharflab.png","language":"Go","funding_links":["https://github.com/sponsors/tinovyatkin"],"categories":[],"sub_categories":[],"readme":"# tally\n\n[![codecov](https://codecov.io/gh/wharflab/tally/graph/badge.svg?token=J3vK0hyLkf)](https://codecov.io/gh/wharflab/tally)\n\ntally is a production-grade **Dockerfile/Containerfile linter + formatter** that keeps build files clean, modern, and consistent.\n\nIt uses **BuildKit's official parser and checks** (the same foundation behind `docker buildx`) plus a **safe auto-fix** engine. It runs fast,\ndoesn't require Docker Desktop or a daemon, and fits neatly into CI.\n\n```bash\n# Lint everything in the repo (recursive)\ntally lint .\n\n# Apply all safe fixes automatically\ntally lint --fix Dockerfile\n```\n\n## Why tally\n\nModern Dockerfiles deserve modern tooling. tally is opinionated in the right places:\n\n- **BuildKit-native**: understands modern syntax like heredocs, `RUN --mount=...`, `COPY --link`, and `ADD --checksum=...`.\n- **Fixes, not just findings**: `--fix` applies safe, mechanical rewrites; `--fix-unsafe` unlocks opt-in risky fixes (including AI).\n- **Modernizes on purpose**: converts eligible `RUN`/`COPY` instructions to heredocs, prefers BuildKit `ADD` sources for archives and git repos, and\n  more.\n- **Broad rule coverage**: combines Docker's official BuildKit checks, embedded ShellCheck for shell snippets, Hadolint-compatible rules, and\n  tally-specific rules.\n- **PowerShell-aware**: parses full PowerShell syntax for semantic tokens and rule analysis, so PowerShell `RUN` instructions are treated as real\n  code instead of opaque strings.\n- **Windows-container aware**: detects Windows container OS, understands Windows paths and default shells, and recognizes `cmd.exe` and\n  PowerShell-specific build patterns.\n- **Registry-aware without Docker**: uses a Podman-compatible registry client for image metadata checks (no daemon required).\n- **Editor + CI friendly**: VS Code extension (`wharflab.tally`, powered by `tally lsp`) and outputs for JSON, SARIF, and GitHub Actions annotations.\n- **Easy to install anywhere**: Homebrew, WinGet, Go, npm, pip, and RubyGems.\n- **Written in Go**: single fast binary, built on production-grade libraries.\n\nQuality bar: **92% code coverage on Codecov** and **2,900+ Go tests executed in CI**.\n\n## Documentation\n\nFor installation, usage, configuration, rules reference, and more, visit the full documentation at\n**[tally.wharflab.com](https://tally.wharflab.com/)**.\n\n## Contributing\n\nSee [CLAUDE.md](CLAUDE.md) for development guidelines.\n\n## License\n\nGPL-3.0-only. See [LICENSE](LICENSE) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwharflab%2Ftally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwharflab%2Ftally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwharflab%2Ftally/lists"}