{"id":24010824,"url":"https://github.com/himkt/homebrew-tap","last_synced_at":"2026-06-06T23:32:02.976Z","repository":{"id":91120546,"uuid":"456782211","full_name":"himkt/homebrew-tap","owner":"himkt","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-28T11:20:39.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T20:36:07.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-02-08T04:28:22.000Z","updated_at":"2025-01-28T11:20:41.000Z","dependencies_parsed_at":"2025-01-03T03:26:21.649Z","dependency_job_id":"203f122d-62ee-4fe3-bd7e-491fb0bab957","html_url":"https://github.com/himkt/homebrew-tap","commit_stats":null,"previous_names":["himkt/homebrew-tap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fhomebrew-tap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fhomebrew-tap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fhomebrew-tap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fhomebrew-tap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himkt","download_url":"https://codeload.github.com/himkt/homebrew-tap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240680125,"owners_count":19840191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-08T04:16:24.813Z","updated_at":"2025-02-25T13:45:59.020Z","avatar_url":"https://github.com/himkt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Use\n\n```\nbrew tap himkt/tap\n```\n\n### Add formula\n\n```\nbrew create https://github.com/himkt/tips-cli/releases/tag/0.1.0\nmv $(brew --prefix)/Library/Taps/homebrew/homebrew-core/Formula/t/tips-cli.rb Formula\n```\n\n### Edit formula\n\n1. Get checksum\n\n```bash\n#!env bash\n\nPACKAGE=kubectl-toggle_ctx\nBASE=https://github.com/himkt/$PACKAGE/releases/download/0.3.0/$PACKAGE\n\nfor platform in aarch64-apple-darwin x86_64-apple-darwin; do\n  url=$BASE-$platform.tar.gz\n  wget --quiet $url\n  echo $platform\n  echo \"url \\\"$url\\\"\"\n  echo \"sha256 \\\"$(sha256sum $PACKAGE-$platform.tar.gz | cut -d ' ' -f 1)\\\"\"\ndone\n\n# output:\n# aarch64-apple-darwin\n# url \"https://github.com/himkt/kubectl-toggle_ctx/releases/download/0.3.0/kubectl-toggle_ctx-aarch64-apple-darwin.tar.gz\"\n# sha256 \"407f150fdef75f3677fc8fa3f50caa96289edafb6a0d35dd79aa7baf4b0fe161\"\n# x86_64-apple-darwin\n# url \"https://github.com/himkt/kubectl-toggle_ctx/releases/download/0.3.0/kubectl-toggle_ctx-x86_64-apple-darwin.tar.gz\"\n# sha256 \"1f837d6ba44fa2c148ca45f023eb2d070697e28944e22d693643b62e8753a014\"\n```\n\n2. Add bin-installation\n\n\u003e [!NOTE]\n\u003e `kubectl-toggle_ctx` will be extracted from `kubectl-toggle_ctx-${{ target }}.tar.gz`.\n\n```ruby\non_macos do\n  if Hardware::CPU.arm?\n    url \"https://github.com/himkt/kubectl-toggle_ctx/releases/download/0.3.0/kubectl-toggle_ctx-aarch64-apple-darwin.tar.gz\"\n    sha256 \"407f150fdef75f3677fc8fa3f50caa96289edafb6a0d35dd79aa7baf4b0fe161\"\n  end\n  if Hardware::CPU.intel?\n    url \"https://github.com/himkt/kubectl-toggle_ctx/releases/download/0.3.0/kubectl-toggle_ctx-x86_64-apple-darwin.tar.gz\"\n    sha256 \"1f837d6ba44fa2c148ca45f023eb2d070697e28944e22d693643b62e8753a014\"\n  end\nend\n\non_linux do\nend\n\ndef install\n  bin.install \"kubectl-toggle_ctx\"\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fhomebrew-tap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimkt%2Fhomebrew-tap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fhomebrew-tap/lists"}