Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleksis/myrich
Shell-like using Rich for render rich text content
https://github.com/oleksis/myrich
console emoji markdown ouput rich rich-text shell syntax-highlighting terminal
Last synced: about 1 month ago
JSON representation
Shell-like using Rich for render rich text content
- Host: GitHub
- URL: https://github.com/oleksis/myrich
- Owner: oleksis
- License: mit
- Created: 2020-09-08T12:14:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T15:48:15.000Z (9 months ago)
- Last Synced: 2024-10-04T08:08:03.637Z (3 months ago)
- Topics: console, emoji, markdown, ouput, rich, rich-text, shell, syntax-highlighting, terminal
- Language: Python
- Homepage: https://oleksis.github.io/myrich/
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyRich
[![PyPI version](https://badge.fury.io/py/myrich.svg)](https://badge.fury.io/py/myrich)
![Tests](https://github.com/oleksis/myrich/workflows/Tests/badge.svg)Shell-like using [Rich](https://rich.readthedocs.io/en/latest/) for render rich text content
## Installing
Install with pip
```bash
$ pip install myrich
```## Use
Execute the command `myrich`
```bash
$ myrich
(rich) /home/user $
```You use the internal command `markdown` for render a Markdown file
```bash
$ myrich
(rich) /home/user $ markdown -y README.md
```You use the internal command `syntax` for render a file using syntax highlighting
```bash
$ myrich
(rich) /home/user $ syntax -l code.py
```### Using the Console
You can render the ouput the any command over rich terminal content
```bash
$ myrich
(rich) /home/user $ cat code.py
```You can run several commands through pipes
```bash
$ myrich
(rich) /home/user $ python -m myrich -S -l --path code.py | cat
```### Using Emoji
You can render the ouput with Emojis
```bash
$ myrich
(rich) /home/user $ echo :smiley:
```# License
[MIT](LICENSE)