{"id":22079961,"url":"https://github.com/naokim03/tiny-ansi-rs","last_synced_at":"2025-03-23T20:43:59.180Z","repository":{"id":57727609,"uuid":"517702318","full_name":"NaokiM03/tiny-ansi-rs","owner":"NaokiM03","description":"TinyAnsi is a dead simple library that allows basic coloring of terminal characters.","archived":false,"fork":false,"pushed_at":"2022-07-25T17:06:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-15T07:49:29.372Z","etag":null,"topics":["ansi-terminal","color","rust"],"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/NaokiM03.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":"2022-07-25T14:38:13.000Z","updated_at":"2022-07-27T00:40:35.000Z","dependencies_parsed_at":"2022-08-30T09:11:37.417Z","dependency_job_id":null,"html_url":"https://github.com/NaokiM03/tiny-ansi-rs","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/NaokiM03%2Ftiny-ansi-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaokiM03%2Ftiny-ansi-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaokiM03%2Ftiny-ansi-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaokiM03%2Ftiny-ansi-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NaokiM03","download_url":"https://codeload.github.com/NaokiM03/tiny-ansi-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168810,"owners_count":20571799,"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-terminal","color","rust"],"created_at":"2024-11-30T23:11:47.229Z","updated_at":"2025-03-23T20:43:59.150Z","avatar_url":"https://github.com/NaokiM03.png","language":"Rust","readme":"# TinyAnsi\n\n## About\n\nTinyAnsi is a dead simple library that allows basic coloring of terminal characters.\n\nThere are many crates for the ansi terminal that have been created and abandoned, but none of them solve the following problem.\nIf that is the case, I do not need complex functionality, so I built the library on a scale such that the code can be read at a glance.\n\nhttps://github.com/jam1garner/owo-colors/issues/45\n\n## How to use\n\n```toml\n# Cargo.toml\n\n[dependencies]\ntiny-ansi = \"0.1.0\"\n```\n\n```rust\nuse tiny_ansi::TinyAnsi;\nprintln!(\"{}\", \"red\".red());\nprintln!(\n    \"{}\",\n    \"bold italic red on green\".bold().italic().red().on_green()\n);\n```\n\n## License\n\ntiny-ansi is released under the MIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaokim03%2Ftiny-ansi-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaokim03%2Ftiny-ansi-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaokim03%2Ftiny-ansi-rs/lists"}