Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wasi-master/showfile

A tool to view files with their proper syntax highlighting in the console
https://github.com/wasi-master/showfile

coding console file high-performance highlighting syntax syntax-highlighting terminal

Last synced: 4 days ago
JSON representation

A tool to view files with their proper syntax highlighting in the console

Awesome Lists containing this project

README

        

# ShowFile


Contributors
Forks
Stargazers
Issues
MIT License
Say Thanke
Downloads last Month
Downloads last Week
Downloads last Day
Version
Build
Code style: black

A tool to show files with their proper syntax highlighting in the console

- 🌟 Supports Over [250 languages](https://pygments.org/languages/)
- 🚀 Blazingly Fast
- 👶 Extremely Easy to Use
- 🤖 Automatically detects File Types
- 😏 Really Lightweight (3.55 KB)
- 😍 Beautiful Syntax Highlighting using the [Monokai Pro](https://monokai.pro) theme

[View Demo](https://wasi-master.github.io/showfile/demo.html)

## Installation

First make sure you have [python](https://python.org) installed and added to path then run the following command

```sh
python -m pip install showfile
```

## Usage

To show the contents of a file simply use

```sh
showfile file.py
```

[![python.gif](https://raw.githubusercontent.com/wasi-master/showfile/main/demos/gifs/python.gif)](demos/files/demo.py)