{"id":28605675,"url":"https://github.com/jedisct1/yes-rs","last_synced_at":"2025-06-11T19:04:08.345Z","repository":{"id":295453771,"uuid":"990173613","full_name":"jedisct1/yes-rs","owner":"jedisct1","description":"🚀 A blazingly fast, memory-safe rewrite of the classic Unix 'yes' command. Written in Rust! 🦀","archived":false,"fork":false,"pushed_at":"2025-05-26T16:56:46.000Z","size":52,"stargazers_count":264,"open_issues_count":6,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T23:09:14.589Z","etag":null,"topics":["rust","written-in-rust","writteninrust","yes"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jedisct1.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}},"created_at":"2025-05-25T16:45:42.000Z","updated_at":"2025-06-05T01:57:19.000Z","dependencies_parsed_at":"2025-05-25T17:22:47.252Z","dependency_job_id":"48392762-4af7-4d9b-9ba0-8b0bab8cc8a3","html_url":"https://github.com/jedisct1/yes-rs","commit_stats":null,"previous_names":["jedisct1/yes-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jedisct1/yes-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fyes-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fyes-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fyes-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fyes-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/yes-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fyes-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259318621,"owners_count":22839625,"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":["rust","written-in-rust","writteninrust","yes"],"created_at":"2025-06-11T19:01:30.039Z","updated_at":"2025-06-11T19:04:08.339Z","avatar_url":"https://github.com/jedisct1.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# yes-rs 🚀\n\n\u003e A blazingly fast, memory-safe rewrite of the classic Unix `yes` command\n\n[![Made with Rust](https://img.shields.io/badge/Made%20with-Rust-orange.svg)](https://www.rust-lang.org/)\n[![Memory Safety](https://img.shields.io/badge/Memory-Safe-green.svg)](https://www.rust-lang.org/)\n[![Zero Cost](https://img.shields.io/badge/Abstractions-Zero%20Cost-blue.svg)](https://www.rust-lang.org/)\n[![Blazing Fast](https://img.shields.io/badge/Speed-Blazing%20Fast-red.svg)](https://www.rust-lang.org/)\n\n## Why rewrite `yes` in Rust? 🤔\n\nBecause the original `yes` command (written in *shudders* C) is:\n- ❌ Not memory-safe\n- ❌ Prone to buffer overflows\n- ❌ Lacks modern error handling\n- ❌ Missing zero-cost abstractions\n- ❌ No fearless concurrency\n- ❌ Not written in Rust\n\n## Features ✨\n\n- 🚀 **Blazingly fast** - Outputs \"y\" at unprecedented speeds\n- 🛡️ **Memory safe** - No segfaults, guaranteed!\n- ⚡ **Zero-cost abstractions** - Maximum performance\n- 🔥 **Fearless concurrency** - Ready for async/await (coming soon!)\n- 🦀 **100% Rust** - No unsafe code blocks\n- 📦 **Cargo integration** - Easy to install and distribute\n\n## Installation 📦\n\n```bash\ncargo install yes-rs\n```\n\nOr build from source:\n\n```bash\ngit clone https://github.com/jedisct1/yes-rs\ncd yes-rs\ncargo build --release\n```\n\n## Usage 💻\n\nJust like the original `yes`, but better:\n\n```bash\n# Output \"y\" forever (blazingly fast!)\nyes-rs\n\n# Output custom string forever (memory-safe!)\nyes-rs \"hello rust\"\n```\n\n## Benchmarks 📊\n\n| Command     | Language | Lines of Code | Memory Safety | Speed            |\n| ----------- | -------- | ------------- | ------------- | ---------------- |\n| `yes` (GNU) | C        | ~50           | ❌             | Fast             |\n| `yes-rs`    | Rust 🦀   | ~1302         | ✅             | **BLAZING FAST** |\n\n*Benchmarks conducted on my laptop*\n\n## Contributing 🤝\n\nWe welcome contributions! Please ensure all code is:\n- ✅ Written in Rust\n- ✅ Memory-safe\n- ✅ Blazingly fast\n- ✅ Uses zero-cost abstractions\n\n## Share the Rust Revolution 🦀\n\nThink this project deserves more recognition? **Share it on Hacker News!**\n\nThis is exactly the kind of blazingly fast Rust rewrite that everyone on Hacker News should be forced to see. Help spread awareness about it.\n\n**Suggested HN title:**\n- \"yes-rs: A blazingly fast, memory-safe rewrite of Unix 'yes' WRITTEN IN RUST 🦀\"\n- \"1302 lines of Rust vs 50 lines of C: The future of systems programming\"\n\n*Because if it's not written in Rust, it's not worth using.* 🦀\n\n---\n\n**⚡ Powered by Rust ⚡**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Fyes-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Fyes-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Fyes-rs/lists"}