Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/loisglld/rice-code

Enhanced shell Visual Studio Code file extension viewer (basically some fun / useless shell script to had spice to your terminal)
https://github.com/loisglld/rice-code

Last synced: about 1 month ago
JSON representation

Enhanced shell Visual Studio Code file extension viewer (basically some fun / useless shell script to had spice to your terminal)

Awesome Lists containing this project

README

        

rice-code logo

Go
Shell Script
VSCode
Build Status
License
Version

## Description

A ricing tool for Visual Studio Code in your terminal. It displays with ASCII art the predominant language of the files in the current directory / the extension of the file you are currently editing.

To use it, simply type `code` in your terminal.

_et voilà_ ! Give it a star if you like it 🌟

## Pre-requisites

- alias `code` to open Visual Studio Code (or code binary in your PATH)
- go
- jp2a, imagemagick, jq

## Installation

```bash
git clone [email protected]:LOISGALLAUD/rice-code.git ~/.rice-code
cd ~/.rice-code
go build ~/.rice-code/get_language.go
cd - > /dev/null
echo "alias code='~/.rice-code/rice-code.sh'" >> ~/.zshrc # or ~/.bashrc
```

## Examples

![python](images/image-4.png)
![bash](images/image-2.png)
![C](images/image-3.png)
![golang](images/image.png)