#color #ffxiv #fantasy #final #xiv #chocobo #plumage

chocodye

A Rust library for changing the color of the chocobos' plumage in Final Fantasy XIV

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

Download history 24/week @ 2024-07-29 16/week @ 2024-09-23 2/week @ 2024-10-14 2/week @ 2024-11-04 83/week @ 2024-11-11

85 downloads per month

MIT/Apache

81KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments FreeMarker 561 SLoC

chocodye

A Rust library for changing the color of the chocobos' plumage in Final Fantasy XIV.

Current version License Minimum Supported Rust Version Documentation

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

Result of running the truecolor example

Sample menu:

cargo run --example menu -- en

Result of running the menu example

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

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