{"id":13828879,"url":"https://github.com/AlwaysRightInstitute/cows","last_synced_at":"2025-07-09T06:33:16.910Z","repository":{"id":83280217,"uuid":"84212234","full_name":"AlwaysRightInstitute/cows","owner":"AlwaysRightInstitute","description":"🐮 ASCII cows for Swift","archived":false,"fork":false,"pushed_at":"2024-08-17T13:40:27.000Z","size":106,"stargazers_count":89,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-11-14T08:34:35.992Z","etag":null,"topics":["ascii-cows","cow","cows","swift","swift-library","vaca"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlwaysRightInstitute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2017-03-07T15:02:59.000Z","updated_at":"2023-08-18T06:29:47.000Z","dependencies_parsed_at":"2024-11-14T08:41:05.348Z","dependency_job_id":null,"html_url":"https://github.com/AlwaysRightInstitute/cows","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlwaysRightInstitute%2Fcows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlwaysRightInstitute%2Fcows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlwaysRightInstitute%2Fcows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlwaysRightInstitute%2Fcows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlwaysRightInstitute","download_url":"https://codeload.github.com/AlwaysRightInstitute/cows/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225492420,"owners_count":17482869,"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":["ascii-cows","cow","cows","swift","swift-library","vaca"],"created_at":"2024-08-04T09:03:17.326Z","updated_at":"2024-11-20T08:31:16.613Z","avatar_url":"https://github.com/AlwaysRightInstitute.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# cows\n\n![Swift3](https://img.shields.io/badge/swift-3-blue.svg)\n![Swift4](https://img.shields.io/badge/swift-4-blue.svg)\n![Swift5](https://img.shields.io/badge/swift-5-blue.svg)\n![macOS](https://img.shields.io/badge/os-macOS-green.svg?style=flat)\n![tuxOS](https://img.shields.io/badge/os-tuxOS-green.svg?style=flat)\n![Wasm](https://img.shields.io/badge/os-Wasm-green.svg?style=flat)\n\n\u003e 400+ ASCII 🐮s\n\nThe list is just an array of strings and can be used wherever.\n\n![](https://cloud.githubusercontent.com/assets/170270/13090998/a9cdd6b0-d52b-11e5-83ec-614143c9a3bb.png)\n\n## Examples\n\n```\n         (__)\n         (oo)\n  /-------\\/\n / |     ||\n+  ||----||\n   ~~    ~~\n     Cow\n\n\n       \\(:)/\n       (o|o)\n  /-----\\_/\n /|      |\n^ ||----||\n  ^^    ^^\n Klingon Cow\n\n\n                 ________________\n         ^__^   /                \\\n         (oo)  ( Milk is logical. )\n  /-------\\/ --'\\________________/\n / |     ||\n*  ||W---||\n   ^^    ^^\nMr Spock's cow\n\n\n      (__)\n    /   oo      ______\n   |  /\\_|     |      \\\n   |  |___     |       |\n   |   ---@    |_______|\n*  |  |   ----   |    |\n \\ |  |_____\n  \\|________|\n        CompuCow\n\n\n        ___________________________\n       | (__)  (__)  (__)   (__)  |\n       | ( oo  ( oo  ( oo   ( oo  |\n_______| /\\_|  /\\_|  /\\_|   /\\_|  |________\n|                                         |\n|   _____                        _____    |\n|___|   |________________________|   |____|\n    |___|                        |___|\n              Cow-pooling\n\n\n  /--------------------/\n / |     ||           /          (__)\n*  ||----||          /-----------(oo)\n   ^^    ^^                       \\/\n        Network Virtual Cow\n(with separate frontend and backend)\n\n\n         (__)               (__)  |    |  (__)\n         (--)               (--)  |    |  (--)\n  /-------\\/   /o    /-------\\/   |    I   \\/-------\\\n / |  M  |----\u003c o   / |  L  |----\u003cT    I\u003e----|  D  | \\\n*  ||----|   /  o  *  ||----|     I    I     |----||  *\n   ^^    ^      |     ^^    ^          |     ^    ^^\n                |                      |\n              Teenage Mutant Ninja Cows\n\n                                  @\n               (__)    (__) _____/\n            /| (oo) _  (oo)/----/_____    *\n  _o\\______/_|\\_\\/_/_|__\\/|____|//////== *- *  * -\n /_________   \\   00 |   00 |       /== -* * -\n[_____/^^\\_____\\_____|_____/^^\\_____]     *- * -\n      \\__/                 \\__/\n               Cow-mobile\n```\n\n\n## Usage\n\n```swift\nimport cows\n\ncows.allCows\n\nlet someCow = vaca()\n```\n\n\n## API\n\n### `allCows`\n\nReturns an array of cows.\n\nUsage:\n```swift\n#!/usr/bin/swift sh\nimport cows // @AlwaysRightInstitute\n\nfor cow in cows.allCows {\n  print(\"Cow:\")\n  print(cow)\n  print(\"---\")\n}\n```\n\n### `vaca()`\n\nReturns a random cow.\n\nUsage:\n```swift\n#!/usr/bin/swift sh\nimport cows // @AlwaysRightInstitute\n\nprint(cows.vaca())\n```\n\n## `vaca` Commandline Tool\n\nThe Swift 5 package now includes a commandline tool called `vaca`. When invoked\nw/ no arguments it returns a random cow. Otherwise it tries to lookup a cow\nmatching the argument.\n\nExample:\n```bash\n$ swift run vaca\n        iiiiIiiii\n         '|o o|`\n   ________\\_/\n / |        |\n#  ||ww____||\n   ||      ||\n   ~~      ~~\n Happy Hannucow!\n\n$ swift run vaca compiler\n          (__)\n        /  .\\/.     ______\n       |  /\\_|     |      \\\n       |  |___     |       |\n       |   ---@    |_______|\n    *  |  |   ----   |    |\n     \\ |  |_____\n      \\|________|\nCompuCow Discovers Bug in Compiler\n```\n\n## Related\n\n- Original:\n  - [cows](https://github.com/sindresorhus/cows) - Node.js cows, the original\n  - [vaca](https://github.com/sindresorhus/vaca) - Get a random ASCII cow 🐮\n  - [cows-docker](https://github.com/alexellis/cows-docker) - ASCII cows on Docker\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\nNoze.io port: MIT © [ZeeZide GmbH](http://zeezide.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlwaysRightInstitute%2Fcows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlwaysRightInstitute%2Fcows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlwaysRightInstitute%2Fcows/lists"}