https://github.com/entysec/colorscript
ColorScript is a scripting language for designing custom ASCII banners.
https://github.com/entysec/colorscript
Last synced: 5 months ago
JSON representation
ColorScript is a scripting language for designing custom ASCII banners.
- Host: GitHub
- URL: https://github.com/entysec/colorscript
- Owner: EntySec
- License: mit
- Created: 2023-03-03T21:28:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T09:54:34.000Z (over 1 year ago)
- Last Synced: 2025-04-14T13:14:13.996Z (9 months ago)
- Language: Python
- Size: 70.3 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ColorScript
[](https://entysec.com)
[](https://github.com/EntySec/ColorScript)
[](https://github.com/EntySec/ColorScript/forks)
[](https://github.com/EntySec/ColorScript/stargazers)
[](https://www.codefactor.io/repository/github/EntySec/ColorScript)
ColorScript is a scripting language for designing custom ASCII banners.
## Features
* Support for most common ASCII symbols including special ones.
* Covenient syntax, all colors marked with `%`. (`%red`, `%blue`, `%end`, etc.)
* Supports parsing files as well as just a line.
## Installation
```shell
pip3 install git+https://github.com/EntySec/ColorScript
```
## Examples
```python
from colorscript import ColorScript
cs = ColorScript()
text = """
Roses are %redred%end
Violets are %blueblue%end
Sugar is %whitesweet%end
And so are %greenyou%end
"""
print(cs.parse(text))
```