{"id":13658212,"url":"https://github.com/paulkaefer/cowsay-files","last_synced_at":"2025-04-24T08:31:42.451Z","repository":{"id":16487059,"uuid":"19239609","full_name":"paulkaefer/cowsay-files","owner":"paulkaefer","description":"A collection of additional/alternative cowsay files.","archived":false,"fork":false,"pushed_at":"2024-12-29T15:11:15.000Z","size":3134,"stargazers_count":349,"open_issues_count":2,"forks_count":52,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-12-29T16:21:36.242Z","etag":null,"topics":["ascii","ascii-art","cowsay","terminal","unicode"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/paulkaefer.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}},"created_at":"2014-04-28T13:31:27.000Z","updated_at":"2024-12-29T15:11:21.000Z","dependencies_parsed_at":"2022-07-10T06:16:11.743Z","dependency_job_id":null,"html_url":"https://github.com/paulkaefer/cowsay-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkaefer%2Fcowsay-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkaefer%2Fcowsay-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkaefer%2Fcowsay-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkaefer%2Fcowsay-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulkaefer","download_url":"https://codeload.github.com/paulkaefer/cowsay-files/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250592043,"owners_count":21455487,"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","ascii-art","cowsay","terminal","unicode"],"created_at":"2024-08-02T05:00:57.616Z","updated_at":"2025-04-24T08:31:39.804Z","avatar_url":"https://github.com/paulkaefer.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"cowsay-files\n============\n\nThese files are intended to supplement the cow files in /usr/share/cowsay/cows.\n\n    echo Exterminate! | cowsay -f dalek\n    \nFor more on cowsay, consult [its Wikipedia article](https://en.wikipedia.org/wiki/Cowsay).\n\n## examples\n\n[A sample of each cow file in this repository is here](examples.md). Note that the ANSI cows like [bender.cow](https://github.com/paulkaefer/cowsay-files/blob/master/cows/bender.cow) will only render properly if your terminal client supports color. True color (those under the `true-color/` subdirectory) cows will only render in terminals that support full 24-bit color.\n\n## installation\n\nTo install Cowsay-files, clone the repo or download the distribution tarball. Then run:\n\n```bash\nmake install\n```\n\nOr to install it to a custom location:\n\n```bash\nmake install prefix=/path/to/your/custom/installation/location\n```\n\nMac users can alternatively use the Homebrew tap from [cowsay-org/homebrew-cowsay](https://github.com/cowsay-org/homebrew-cowsay):\n\n```bash\nbrew install cowsay-org/cowsay/cowsay-apj\n```\n\nOr:\n\n```bash\nbrew tap cowsay-org/cowsay\nbrew install cowsay-apj\n```\n\n\n### cowrc.sh file\n\nThis file allows you to configure a list of cows to randomly display when opening a new terminal session.\n- Note - this file counts on [fortune](https://formulae.brew.sh/formula/fortune) being installed to display your random fortunes.\n\nCan be made use of by adding the following line to your `.bashrc` file (or `.zshrc` if you use ZSH):\n\n```bash\n. /usr/local/share/cowsay-files/cowrc.sh\n```\n\nNow you will have some commands available and get a random cow fortune on every new terminal session :)\n\n### .bashrc file\n\nIf you want to have random cows everytime that you login or open a shell, add this to your `.bashrc`.\n\n```bash\nCOWS=(/usr/local/share/cowsay-files/cows/*)\nRAND_COW=$(($RANDOM % $( ls /usr/local/cowsay-files/cows/*.cow | wc -l )))\ncowsay -f ${COWS[$RAND_COW]} \"ALL YOUR BASE ARE BELONG TO US\"\n```\n\n### alternate installation locations\n\nIf you installed Cowsay-files to an alternate location, replace `/usr/local` with the path to your custom prefix in the above instructions.\n\nIf you want to run Cowsay-files directly from the cloned repo, replace `/usr/local/share` with the path to your cloned `cowsay-files` Git repo in the above instructions.\n\n## Cowsay file converter\n\nFancy pixel art cows can now be created with ease using [Charc0al's cowsay file converter](https://charc0al.github.io/cowsay-files/converter)\n\nInstructions:\n1. Create PNG or other uncompressed image of the size you want (recommend no larger than 50 x 50). I recommend using [GIMP](https://www.gimp.org/).\n   - Note: The first (upper-left) pixel (0, 0) color is assumed to be background color and will not appear in the cowsay image.\n   - Colors will be mapped to default bash color palette, any colors in your image that are not part of the 256 color bash palette will be mapped to the nearest color in the palette.\n2. Upload image in converter \u0026 press Convert!\n3. Enjoy!\n\nTips for creating pixel art cows:  \n- For manually editing colors or creating cows, you can run the `cowsay-palette` command (if you are making use of cowrc.sh) to get a display of your terminal color palette and the corresponding color codes.\n- If you are scaling down a pixel art image from a larger size, make sure to set \"Interpolation\" to None/Off or you will get color bleed between pixels.\n- It is helpful to use a background color that is bright and very different from all other colors on your image so you can clearly see which pixels are background and which are image. I usually use hot pink or neon green.\n\nTry converting some of the [examples](https://charc0al.github.io/cowsay-files/converter/examples)!\n\n![Donatello](https://charc0al.github.io/cowsay-files/converter/src_images/donatello.png)\n![Link](https://charc0al.github.io/cowsay-files/converter/src_images/link.png)\n![Pikachu2](https://charc0al.github.io/cowsay-files/converter/src_images/pikachu2.png)\n![Batman](https://charc0al.github.io/cowsay-files/converter/src_images/batman.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulkaefer%2Fcowsay-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulkaefer%2Fcowsay-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulkaefer%2Fcowsay-files/lists"}