prideful

Crates.ioprideful
lib.rsprideful
version0.1.0
sourcesrc
created_at2022-02-16 05:40:45.122093
updated_at2022-02-16 05:40:45.122093
descriptionA YAML-configurable command-line Pride flag generator.
homepagehttps://github.com/angelofallars/prideful
repositoryhttps://github.com/angelofallars/prideful
max_upload_size
id533097
size62,408
Angelo Fallaria (angelofallars)

documentation

https://github.com/angelofallars/prideful/blob/main/README.md

README

🌈 prideful (in development)

A CLI-based pride flag generator written in Rust.

flags

How to run

Install the project using cargo.

cargo install prideful

Usage

To display a flag, run prideful with the flag of your choice. For example, prideful classic. To get the list of command-line options, run prideful --help. Run prideful --list to list available flags.

List of default flags:

  • classic
  • pastel
  • les
  • gay
  • bi
  • trans
  • enby
  • agen
  • ace
  • aro
  • pan
  • queer

Config

The config file is located in $XDG_CONFIG_HOME/prideful/prideful.yml, usually ~/.config/prideful/prideful.yml. Flags are defined using YAML syntax, which means that adding new flags should be very easy.

Example snippets from the default config:

  # Left is the color code in hexadecimal notation, right is the height of the stripe.
  classic:
    - [ "#E50000", 2 ]
    - [ "#FF8D00", 2 ]
    - [ "#FFEE00", 2 ]
    - [ "#028121", 2 ]
    - [ "#004CFF", 2 ]
    - [ "#770088", 2 ]

  bi:
    - [ "#D60270", 4 ]
    - [ "#9B4F96", 3 ]
    - [ "#0038A8", 4 ]

  trans:
    - [ "#5BCFFB", 2 ]
    - [ "#F5ABB9", 2 ]
    - [ "#FFFFFF", 2 ]
    - [ "#F5ABB9", 2 ]
    - [ "#5BCFFB", 2 ]

Contributors

Supporting this project

This project is free and open-source and will always be that way.

Development takes time and resources. If you like this project, consider donating as even a small amount goes a long way.

Buy Me A Coffee

License

This program is written under the GPLv3 license.

Commit count: 72

cargo fmt