{"id":15030627,"url":"https://github.com/rust-lang/ferris-says","last_synced_at":"2025-05-16T10:06:08.240Z","repository":{"id":44395306,"uuid":"100313167","full_name":"rust-lang/ferris-says","owner":"rust-lang","description":"A Rust flavored implementation of `cowsay`","archived":false,"fork":false,"pushed_at":"2024-11-12T14:51:27.000Z","size":74,"stargazers_count":204,"open_issues_count":6,"forks_count":34,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-15T00:05:38.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ferris-says","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE-OF-CONDUCT.md","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-08-14T22:06:31.000Z","updated_at":"2025-05-07T15:25:33.000Z","dependencies_parsed_at":"2024-12-27T23:22:47.609Z","dependency_job_id":"b91f79dd-9122-4c15-a98d-cc8106bd101d","html_url":"https://github.com/rust-lang/ferris-says","commit_stats":null,"previous_names":["mgattozzi/ferris-says"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fferris-says","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fferris-says/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fferris-says/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fferris-says/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/ferris-says/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509477,"owners_count":22082891,"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":"2024-09-24T20:13:53.641Z","updated_at":"2025-05-16T10:06:08.217Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ferris Says\n\nA library for printing out text with Ferris as the mascot!\n\n## Build requirements\n\nYou only need a stable version of the Rust compiler.\n\n## How to use the library\n\nPut the following in your `Cargo.toml`:\n\n```toml\n[dependencies]\nferris-says = \"0.3.2\"\n```\n\nor run:\n\n```sh\ncargo add ferris-says\n```\n\n### Example\n\nThe following bit of code will write the byte string to STDOUT\n\n```rust\nuse ferris_says::say;\nuse std::io::{stdout, BufWriter};\n\nfn main() {\n    let out = \"Hello fellow Rustaceans!\";\n    let width = 24;\n\n    let mut writer = BufWriter::new(stdout());\n    say(out, width, \u0026mut writer).unwrap();\n}\n```\n\nThis will print out this when run:\n\n```plain\n __________________________\n\u003c Hello fellow Rustaceans! \u003e\n --------------------------\n        \\\n         \\\n            _~^~^~_\n        \\) /  o o  \\ (/\n          '_   -   _'\n          / '-----' \\\n```\n\n## How to use the binary\n\nThe binary version is called `fsays` and can be installed with `cargo install`:\n\n```bash\ncargo install fsays\n```\n\nIt reads input from `stdin` and prints it out to the console.\n\n```bash\nfsays 'Hello fellow Rustaceans!'\n```\n\nThis will print out this when run:\n\n```plain\n __________________________\n\u003c Hello fellow Rustaceans! \u003e\n --------------------------\n        \\\n         \\\n            _~^~^~_\n        \\) /  o o  \\ (/\n          '_   -   _'\n          / '-----' \\\n```\n\nA width can also be specified, if desired.\n\n```bash\nfsays --width 12 'Hello fellow Rustaceans!'\n```\n\nwill result in the following output:\n\n```plain\n ______________\n/ Hello fellow \\\n\\ Rustaceans!  /\n --------------\n        \\\n         \\\n            _~^~^~_\n        \\) /  o o  \\ (/\n          '_   -   _'\n          / '-----' \\\n```\n\nYou can also use multiple files as input by using the `-f`/`--files` flag!\n\n## Contributing\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Licensing\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n### Credit\n[Original Ferris ASCII art](https://www.reddit.com/r/rust/comments/52vb6y/animated_ferris_the_rustacean/d7phkyh/) by @Diggsey\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fferris-says","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Fferris-says","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fferris-says/lists"}