{"id":18876679,"url":"https://github.com/ferhatgec/colodot","last_synced_at":"2025-04-14T18:31:31.873Z","repository":{"id":57608439,"uuid":"351928202","full_name":"ferhatgec/colodot","owner":"ferhatgec","description":"Colo[dot]rs, Powerful Rust implementation of Colorized library.","archived":false,"fork":false,"pushed_at":"2021-04-02T07:38:09.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:01:33.772Z","etag":null,"topics":["ansi","color","colorized","fegeya","rs","rust","rust-lang","rust-library","term","terminal"],"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/ferhatgec.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":"2021-03-26T22:32:47.000Z","updated_at":"2021-06-11T17:36:12.000Z","dependencies_parsed_at":"2022-09-03T10:01:30.665Z","dependency_job_id":null,"html_url":"https://github.com/ferhatgec/colodot","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/ferhatgec%2Fcolodot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferhatgec%2Fcolodot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferhatgec%2Fcolodot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferhatgec%2Fcolodot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferhatgec","download_url":"https://codeload.github.com/ferhatgec/colodot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506195,"owners_count":21115397,"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":["ansi","color","colorized","fegeya","rs","rust","rust-lang","rust-library","term","terminal"],"created_at":"2024-11-08T06:14:49.704Z","updated_at":"2025-04-14T18:31:31.602Z","avatar_url":"https://github.com/ferhatgec.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Colo[dot]rs\nEasy-to-use, powerful Rust implementation of Colorized library.\n\n```rust\ncolodot!(DotTypes::Bold, DotColors::Red,   \"Hello, red!\\n\",   true);\ncolodot!(DotTypes::Light,DotColors::Green, \"Hello, green!\\n\", true);\ncolodot!(DotTypes::Blink,DotColors::Blue,  \"Hello, blue!\\n\",  true);\n\nred()  ; println!(\"{}\", \"Hello, red!\"  );\ngreen(); println!(\"{}\", \"Hello, green!\");\nblue() ; println!(\"{}\", \"Hello, blue!\" );\n\ncolodot!  (colodot::dot::DotTrueColor{r: 255, g: 255, b: 255}, \"Hello, world!\\n\");\ncolodottc!(colodot::dot::DotTrueColor{r: 12 , g: 50, b: 40  }, \"Hello, world!\"  );\n\ncolodot!  (from_hex(0xffffff), \"Hello, world!\\n\");\n\ncolodottc!(colodot::dot::DotTrueColor{r: 200, g: 100, b: 12 }, \"Hello, world!\", true);\n        \ntrue_color   (1  , 1 , 1 , \u0026[\"Hello\", \" , \", \"world\", \"!\"]);\nbg_true_color(230, 15, 60, \u0026[\"Hello\", \" , \", \"world\", \"!\"]);\n\nbasic_true_color   (colodot::dot::DotTrueColor{r: 5  , g: 5 , b: 5 }, \"Hello, world!\");\nbasic_bg_true_color(colodot::dot::DotTrueColor{r: 235, g: 20, b: 65}, \"Hello, world!\");\n```\n\n### How to use?\nAdd this code-block to your ``Cargo.toml``\n\n```toml\n[dependencies]\ncolodot = \"0.1.5\"\n```\n\nand *Do not forget* to add this to your ``main.rs`` or ``lib.rs``\n\n```rust\n#[macro_use]\nextern crate colodot;\n\nuse colodot::dot::*;\n\nfn main() {\n    colodot!(colodot::dot::DotTrueColor{r: 255, g: 255, b: 255}, \"Huhuuu ^-^!\\n\");\n}\n```\n\n\n### TODO:\n  * Formatter  support.\n  * PowerShell support. (Windows)\n  * More tests.\n\n### Colo[dot]rs licensed under the terms of MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferhatgec%2Fcolodot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferhatgec%2Fcolodot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferhatgec%2Fcolodot/lists"}