6 stable releases
new 1.1.2 | Nov 17, 2024 |
---|---|
1.1.1 | Mar 17, 2024 |
1.1.0 | Sep 29, 2023 |
1.0.2 | Jul 2, 2023 |
1.0.1 | Jun 9, 2023 |
#274 in Text processing
85 downloads per month
81KB
1.5K
SLoC
chocodye
A Rust library for changing the color of the chocobos' plumage in Final Fantasy XIV.
This repository also includes language-agnostic files such as dyes.xml
and Fluent translation lists.
Furthermore, a live version using WebAssembly is available on this web page.
Documentation
Latest version: https://docs.rs/chocodye/
Cargo Features
fluent
: enables localization through Fluent.truecolor
: enables text to be colored in the terminal.
Examples
List of colors:
cargo run --example truecolor -- en
Sample menu:
cargo run --example menu -- en
The displayed language can be changed by replacing en
with fr
, de
or jp
.
Please note that for colors to be displayed under Windows, this command must first be run:
set COLORTERM=truecolor
See the documentation for chocodye::ansi_text
.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~1.4–2MB
~43K SLoC