gocloc
brew install gocloc
v0.7.0
MIT
Little fast LoC counter
12
30-day installs · #8093
25
90-day · #9128
150
365-day · #8129
901
★ GitHub stars · updated 9mo ago
Build dependencies
GitHub topics
cli
cloc
count-lines
go
Links
- https://github.com/hhatto/gocloc
- GitHub: hhatto/gocloc
- Brew formula source: Formula/g/gocloc.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Little fast LoC counter",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:16+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "gocloc",
"github_default_branch": "master",
"github_last_commit_at": "2025-11-09T09:18:56Z",
"github_readme_excerpt": "# gocloc\n\n[](https://godoc.org/github.com/hhatto/gocloc)\n[](https://github.com/hhatto/gocloc/actions)\n[](https://goreportcard.com/report/github.com/hhatto/gocloc)\n[](https://hub.docker.com/r/hhatto/gocloc)\n[](https://hub.docker.com/r/hhatto/gocloc)\n\nA little fast [cloc(Count Lines Of Code)](https://github.com/AlDanial/cloc), written in Go.\nInspired by [tokei](https://github.com/Aaronepower/tokei).\n\n## Installation\n\nrequire Go 1.19+\n\n```\n$ go install github.com/hhatto/gocloc/cmd/gocloc@latest\n```\n\nArch Linux user can also install from AUR: [gocloc-git](https://aur.archlinux.org/packages/gocloc-git/).\n\n## Usage\n\n### Basic Usage\n```\n$ gocloc .\n```\n\n```\n$ gocloc .\n-------------------------------------------------------------------------------\nLanguage files blank comment code\n-------------------------------------------------------------------------------\nMarkdown 3 8 0 18\nGo 1 29 1 323\n-------------------------------------------------------------------------------\nTOTAL 4 37 1 341\n-------------------------------------------------------------------------------\n```\n\n### Via Docker\nwith [dockerhub](https://hub.docker.com/repository/docker/hhatto/gocloc)\n```\n$ docker run --rm -v \"${PWD}\":/workdir hhatto/gocloc .\n```\n\nwith [GitHub Packages](https://github.com/hhatto/gocloc/packages/350535) on GitHub Actions\n```\njobs:\n build:\n name: example of code measurement using gocloc\n runs-on: ubuntu-18.04\n st",
"github_repo": "hhatto/gocloc",
"github_stars": 901,
"github_topics": [
"cli",
"cloc",
"count-lines",
"go"
],
"homepage": "https://github.com/hhatto/gocloc",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 12,
"installs_365d": 150,
"installs_90d": 25,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "gocloc",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 8093,
"rank_365d": 8129,
"rank_90d": 9128,
"raw_hash": "67259746a680b738",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/gocloc.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.7.0",
"versioned_formulae": [],
"why_use_this": null
}