{"id":13598640,"url":"https://github.com/azorng/material","last_synced_at":"2025-04-10T09:31:48.104Z","repository":{"id":55491605,"uuid":"523096520","full_name":"azorng/material","owner":"azorng","description":"A material design color palette for the terminal ","archived":false,"fork":false,"pushed_at":"2024-01-18T09:10:15.000Z","size":32,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T20:15:35.489Z","etag":null,"topics":["binary","cli","color","material-design","rust","terminal","tui","tui-rs"],"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/azorng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-08-09T20:18:16.000Z","updated_at":"2025-03-09T23:46:09.000Z","dependencies_parsed_at":"2024-01-16T23:26:20.678Z","dependency_job_id":null,"html_url":"https://github.com/azorng/material","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"92e7d6ece238ab93683e342daa2d73b1c85fe3c5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azorng%2Fmaterial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azorng%2Fmaterial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azorng%2Fmaterial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azorng%2Fmaterial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azorng","download_url":"https://codeload.github.com/azorng/material/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248191751,"owners_count":21062563,"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":["binary","cli","color","material-design","rust","terminal","tui","tui-rs"],"created_at":"2024-08-01T17:00:54.538Z","updated_at":"2025-04-10T09:31:43.086Z","avatar_url":"https://github.com/azorng.png","language":"Rust","funding_links":[],"categories":["💻 Apps"],"sub_categories":["⌨️ Development Tools"],"readme":"# Material\n\nA material design color palette for the terminal\n\n\u003cimg src=\"https://i.ibb.co/2MDKmh7/Screenshot-2022-08-02-at-16-43-12.png\" alt=\"drawing\" width=\"400\"/\u003e\n\n## Installation\n\n### Homebrew\n\n```bash\nbrew tap azorng/material\nbrew install material\n```\n\n### Cargo\n\nFirst, install [Rust](https://www.rust-lang.org/tools/install) (using the recommended `rustup` installation method) and then\n\n```bash\ncargo install material --locked --features=cli\n```\n\n## Usage\n\nRun the command ``material`` in the terminal.\nType the color code to copy its hex color to the clipboard. Type Esc to exit.\n\n## As a library\n\nThis crate can also be used as a library in your own apps.\n\n```bash\ncargo add material\n```\n\n```rust\nuse material_colors::colors;\n\nassert_eq!(colors::RED_50.to_string(), \"#ffebee\");\nassert_eq!(colors::RED_100.to_string(), \"#ffcdd2\");\n```\n\n### From Ratatui\n\nColors provided by the library can be converted to [Ratatui](https://ratatui.rs) colors. Just\nenable the `ratatui` feature.\n\n```bash\ncargo add material --features=ratatui\n```\n\n```rust\nuse material_colors::colors;\nuse ratatui::prelude::*;\n\nlet line = Line::styled(\"hello world\", Style::new().fg(colors::RED_50.into()));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazorng%2Fmaterial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazorng%2Fmaterial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazorng%2Fmaterial/lists"}