{"id":18498011,"url":"https://github.com/dream11/homebrew-tools","last_synced_at":"2026-05-02T02:34:54.845Z","repository":{"id":40426041,"uuid":"453928346","full_name":"dream11/homebrew-tools","owner":"dream11","description":"Homebrew tap formula(s) for Dream11 internal tools.","archived":false,"fork":false,"pushed_at":"2025-10-27T07:16:32.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-27T09:14:32.315Z","etag":null,"topics":["brew","d11-coreinfra","devx","formula","homebrew","tap"],"latest_commit_sha":null,"homepage":"","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/dream11.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-31T08:25:27.000Z","updated_at":"2025-10-27T07:16:34.000Z","dependencies_parsed_at":"2024-04-01T12:30:47.444Z","dependency_job_id":"aa6eba49-64fe-4af9-9ef3-96f271eb8556","html_url":"https://github.com/dream11/homebrew-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dream11/homebrew-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dream11%2Fhomebrew-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dream11%2Fhomebrew-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dream11%2Fhomebrew-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dream11%2Fhomebrew-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dream11","download_url":"https://codeload.github.com/dream11/homebrew-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dream11%2Fhomebrew-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["brew","d11-coreinfra","devx","formula","homebrew","tap"],"created_at":"2024-11-06T13:37:05.207Z","updated_at":"2026-05-02T02:34:54.829Z","avatar_url":"https://github.com/dream11.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homebrew-tools :beer:\n\nHomebrew tap formula(s) for Dream11 tools.\n\n## Tap\n\n```shell\nbrew tap dream11/tools\n```\n\n## Install\n\n```shell\nbrew install dream11/tools/\u003cformula name\u003e\n```\n\n\u003e Can run directly without running `brew tap`.\n\nExample\n\n```shell\nbrew install dream11/tools/odin\n```\n\n## Development\n\n### Repository structure\n\n```shell\n+-- homebrew-tools\n    +-- formula\n        +-- tool.rb\n        +-- lib\n            +-- function.rb\n```\n\n#### `formula`\n\nContains all installation formula(s).\n\n#### `formula/lib`\n\nContains all library functions required by the formula(s).\n\n### Writing a formula\n\n#### Importing libraries\n\nImporting library from `formula/lib/library.rb`\n\n```ruby\nrequire_relative \"lib/library\"\n```\n\n#### Initiating a formula class\n\n```ruby\nclass Odin \u003c Formula\n  desc \"Formula description\"\n  homepage \"https://github.com/dream11/tool-name\"\n  version \"1.0.0\"\n\n  # add installation steps here\n\nend\n```\n\n### Example: Formula for installing a binary\n\n#### Pre-requisites\n\nFor a repository `github.com/dream11/tool` -\n\n1. Create a tag `1.0.0`.\n2. Create a release, from above tag.\n3. Attach the compiled binary `tool`, compressed within `tool_os_arch.tar.gz`.\n\n#### Formula\n\nCreate a formula, `homebrew-tools/formula/tool.rb`,\n\nIf repository is public,\n\n```ruby\n# typed: false\n\nclass Tool \u003c Formula\n  desc \"Tool description\"\n  homepage \"https://github.com/dream11/tool\"\n  version \"1.0.0\"\n\n  # For MacOs Intel based systems\n  if OS.mac? \u0026\u0026 Hardware::CPU.intel?\n    url \"https://github.com/dream11/tool/releases/download/1.0.0/tool_darwin_amd64.tar.gz\"\n    sha256 \"\u003csha256 of tool_darwin_amd64.tar.gz\u003e\"\n  end\n\n  # For MacOs M1 based systems\n  if OS.mac? \u0026\u0026 Hardware::CPU.arm?\n    url \"https://github.com/dream11/tool/releases/download/1.0.0/tool_darwin_arm64.tar.gz\"\n    sha256 \"\u003csha256 of tool_darwin_arm64.tar.gz\u003e\"\n  end\n\n  conflicts_with \"tool\"\n\n  def install\n    bin.install \"tool\"\n  end\n\n  test do\n    system \"#{bin}/tool --version\"\n  end\n\nend\n```\n\nInstall by running,\n\n```shell\nbrew install dream11/tools/\u003ctool\u003e\n```\n\nIf repository is private,\n\n```ruby\n# typed: false\nrequire_relative \"lib/github\"\n\nclass Tool \u003c Formula\n  desc \"Tool description\"\n  homepage \"https://github.com/dream11/tool\"\n  version \"1.0.0\"\n\n  # For MacOs Intel based systems\n  if OS.mac? \u0026\u0026 Hardware::CPU.intel?\n    url \"https://github.com/dream11/tool/releases/download/1.0.0/tool_darwin_amd64.tar.gz\", :using =\u003e GitHubPrivateRepositoryReleaseDownloadStrategy\n    sha256 \"\u003csha256 of tool_darwin_amd64.tar.gz\u003e\"\n  end\n\n  # For MacOs M1 based systems\n  if OS.mac? \u0026\u0026 Hardware::CPU.arm?\n    url \"https://github.com/dream11/tool/releases/download/1.0.0/tool_darwin_arm64.tar.gz\", :using =\u003e GitHubPrivateRepositoryReleaseDownloadStrategy\n    sha256 \"\u003csha256 of tool_darwin_arm64.tar.gz\u003e\"\n  end\n\n  conflicts_with \"tool\"\n\n  def install\n    bin.install \"tool\"\n  end\n\n  test do\n    system \"#{bin}/tool --version\"\n  end\n\nend\n```\n\nInstall by running,\n\n```shell\n# A github personal access token will be required to access the private repository\nexport HOMEBREW_GITHUB_API_TOKEN=\u003cGithub API token\u003e\n\nbrew install dream11/tools/\u003ctool\u003e\n```\n\n#### Formula Version\n\nTo enable `brew install tool@version`. Write the formula as stated [here](#formula-1), just change the class name according to the convention and place it in the file named as `homebrew-tools/formula/tool@\u003cversion\u003e.rb`.\n\nExample - [odin.rb](./formula/odin.rb) v/s [odin@1.0.0-alpha.rb](./formula/odin@1.0.0-alpha.rb)\n\n#### Class naming convention\n\n1. For `tool`, class name becomes `Tool`\n\n2. For `tool@version`, class name becomes `ToolAt\u003cVersion\u003e`\n  a. version 1.0.0 gives - `ToolAt100`\n  b. version 1.0.0-beta gives - `ToolAt100Beta`\n\n#### Installation\n\n```shell\nexport HOMEBREW_GITHUB_API_TOKEN=\u003cyour github access token\u003e\nbrew tap dream11/tools\nbrew install dream11/tools/tool\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdream11%2Fhomebrew-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdream11%2Fhomebrew-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdream11%2Fhomebrew-tools/lists"}