{"id":33930984,"url":"https://github.com/rk3141/rainbow","last_synced_at":"2026-03-11T03:03:57.547Z","repository":{"id":57652259,"uuid":"313005372","full_name":"rk3141/rainbow","owner":"rk3141","description":"Write text in rainbow colors!","archived":false,"fork":false,"pushed_at":"2020-12-08T02:58:41.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T18:40:11.246Z","etag":null,"topics":["rainbow","rainbow-colors","rust","rust-crate"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/rk3141.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}},"created_at":"2020-11-15T10:21:28.000Z","updated_at":"2021-09-16T02:22:03.000Z","dependencies_parsed_at":"2022-08-28T02:12:06.587Z","dependency_job_id":null,"html_url":"https://github.com/rk3141/rainbow","commit_stats":null,"previous_names":["rishit-khandelwal/rainbow","rk3141/rainbow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rk3141/rainbow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rk3141%2Frainbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rk3141%2Frainbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rk3141%2Frainbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rk3141%2Frainbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rk3141","download_url":"https://codeload.github.com/rk3141/rainbow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rk3141%2Frainbow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30368620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":["rainbow","rainbow-colors","rust","rust-crate"],"created_at":"2025-12-12T12:24:15.494Z","updated_at":"2026-03-11T03:03:57.527Z","avatar_url":"https://github.com/rk3141.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rainbow\r\n\r\nA crate for writing text in rainbow colors.\r\n\r\n# Examples\r\n\r\n### Write text with foreground colors\r\n```rust\r\nuse rainbow_text::Rainbow;\r\n\r\nfn main() -\u003e std::io::Result\u003c()\u003e\r\n{\r\n    let rain = Rainbow::default();\r\n    \r\n    rain.write(\"Hello, World\")?;\r\n    \r\n    Ok(())\r\n}\r\n```\r\n\r\n### Write text with background colors\r\n```rust\r\nuse rainbow_text::Rainbow;\r\n\r\nfn main() -\u003e std::io::Result\u003c()\u003e\r\n{\r\n    let rain = Rainbow::default();\r\n    \r\n    rain.write_bg(\"Hello, World\")?;\r\n    \r\n    Ok(())\r\n}\r\n```\r\n\r\n### Custom Rainbows!\r\n```rust\r\nuse rainbow_text::{ Rainbow, Color };\r\n\r\nfn main() -\u003e std::io::Result\u003c()\u003e\r\n{\r\n    let rain = Rainbow::custom(\r\n        vec![\r\n            Color::Rgb(255,0,0),\r\n            Color::Rgb(0,255,0),\r\n            Color::Rgb(0,0,255),\r\n        ]\r\n    );\r\n    \r\n    rain.write(\"Hello, World\")?;\r\n    \r\n    Ok(())\r\n}\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frk3141%2Frainbow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frk3141%2Frainbow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frk3141%2Frainbow/lists"}