hawkeye
brew install hawkeye
v6.5.1
Apache-2.0
Simple license header checker and formatter, in multiple distribution forms
2
30-day installs · #14049
6
90-day · #14270
220
365-day · #7117
182
★ GitHub stars · updated 2mo ago
Build dependencies
GitHub topics
cli
license
license-checking
native
native-image
Links
- https://github.com/korandoru/hawkeye
- GitHub: korandoru/hawkeye
- Brew formula source: Formula/h/hawkeye.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Simple license header checker and formatter, in multiple distribution forms",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:34+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "hawkeye",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-06T16:17:56Z",
"github_readme_excerpt": "# HawkEye\n\nSimple license header checker and formatter, in multiple distribution forms.\n\n## Usage\n\nYou can use HawkEye in GitHub Actions or in your local machine. HawkEye provides three basic commands:\n\n```bash\n# check license headers\nhawkeye check\n\n# format license headers (auto-fix all files that failed the check)\nhawkeye format\n\n# remove license headers\nhawkeye remove\n```\n\nYou can use `-h` or `--help` to list out all config options.\n\n### GitHub Actions\n\nThe HawkEye GitHub Action enables users to run license header check by HawkEye with a config file.\n\nFirst of all, add a `licenserc.toml` file in the root of your project. The simplest config for projects licensed under Apache License 2.0 is as below:\n\n\u003e [!NOTE]\n\u003e The full configurations can be found in [the configuration section](#configurations).\n\n```toml\nheaderPath = \"Apache-2.0.txt\"\n\n[properties]\ninceptionYear = 2023\ncopyrightOwner = \"tison \u003cwander4096@gmail.com\u003e\"\n```\n\nYou should change the copyright line according to your information.\n\nTo check license headers in GitHub Actions, add a step in your GitHub workflow:\n\n```yaml\n- name: Check License Header\n uses: korandoru/hawkeye@v6\n```\n\n### Docker\n\nAlpine image (~18MB):\n\n```shell\ndocker run -it --rm -v $(pwd):/github/workspace ghcr.io/korandoru/hawkeye check\n```\n\n### Arch Linux\n\n\u003e [!NOTE]\n\u003e Reach out to the maintainer ([@orhun](https://github.com/orhun)) of the [package](https://archlinux.org/packages/extra/x86_64/hawkeye/) or report issues on [Arch Linux GitLab](https://gitlab.archlinux.org/archlinux/packaging/packages/hawkeye) in the case of packaging-related problems.\n\n`hawkeye` can be installed with [pacman](https://wiki.archlinux.org/title/Pacman):\n\n```shell\npacman -S hawkeye\n```\n\n### Cargo Install\n\nThe `hawkeye` executable can be installed by:\n\n```shell\ncargo install hawkeye\n```\n\n### Prebuilt Binary\n\nInstead of `cargo install`, you can install `hawkeye` as a prebuilt binary by:\n\n```shell\nexport VERSION=v6.0.0\ncurl --proto \u0027=https\u0027 --tlsv1.2 -LsSf https://g",
"github_repo": "korandoru/hawkeye",
"github_stars": 182,
"github_topics": [
"cli",
"license",
"license-checking",
"native",
"native-image"
],
"homepage": "https://github.com/korandoru/hawkeye",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 2,
"installs_365d": 220,
"installs_90d": 6,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "hawkeye",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 14049,
"rank_365d": 7117,
"rank_90d": 14270,
"raw_hash": "5d05cc1f0e90baa3",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/h/hawkeye.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "6.5.1",
"versioned_formulae": [],
"why_use_this": null
}