Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lareii/colorify
🎨 A package that allows you to produce colorful output using ANSI codes for the Jule programming language.
https://github.com/lareii/colorify
color jule julec julelang package
Last synced: about 1 month ago
JSON representation
🎨 A package that allows you to produce colorful output using ANSI codes for the Jule programming language.
- Host: GitHub
- URL: https://github.com/lareii/colorify
- Owner: lareii
- License: mit
- Created: 2023-07-08T13:11:12.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-07T16:48:02.000Z (10 months ago)
- Last Synced: 2024-04-08T02:16:03.587Z (5 months ago)
- Topics: color, jule, julec, julelang, package
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# colorify
**colorify** is a package that allows you to produce colorful output using ANSI codes. This package is designed to simplify the process of generating colorful outputs using the [Jule Programming Language](https://jule.dev/).
## Features
- Simple and straightforward package written in Jule.
- Support for text and background coloring, formatting and graphic settings using ANSI codes.
- Runs in any console-based environment that supports ANSI codes.## Installation & Usage
To use the colorify package, follow these steps:
1. Download or clone the colorify package from the GitHub repository.
2. Add the colorify directory to the root directory of your project.
3. Include the colorify package in your project's source files.
4. Ta-da!## Usage
Below is an example showcasing the basic usage of the colorify package:
```rs
// include the package
use colorify::colorify::{Style, Foreground, Font, colorify}fn main() {
// create a variable named "style" using the Style struct
let style = Style{
fg: Foreground.BrightBlack,
fonts: [Font.Bold]
}// colorify your text with your style and print it
outln(
colorify("Hello, world!", style)
)}
```## Contributing
We welcome contributions to the colorify package! To contribute, simply fork the repository, make your desired changes, and submit a pull request.## License
This project is licensed under the MIT License. For more information, see the [LICENSE](https://github.com/lareii/colorify/blob/master/LICENSE) file.## Contact
If you have any questions or suggestions open an issue on the [GitHub Issues](https://github.com/lareii/colorify/issues) page.