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

https://github.com/pierrechevalier83/find_unicode

Find Unicode characters the easy way: from the command line
https://github.com/pierrechevalier83/find_unicode

cli command-line command-line-app command-line-tool easy rust unicode unicode-characters

Last synced: about 1 year ago
JSON representation

Find Unicode characters the easy way: from the command line

Awesome Lists containing this project

README

          

Find Unicode
===

Find Unicode characters, the easy way!
A simple command line application to find unicode characters with minimum effort.

![alt tag](https://github.com/pierrechevalier83/find_unicode/blob/master/demo/demo.svg)

Installation
===

`cargo install find_unicode`

Usage
===

* Run `fu` from your terminal:
```
fu
```

* Start typing. `fu` will show the unicode characters for which the description matches your query.
* If you're looking for a single character, hit Enter to select it and exit.
* If you're looking for multiple characters, hit Tab to select one and keep searching.
* By default, the searching expression is a regular expression.

Advanced usage
===

For more advanced configuration options, check out the help:
```
fu --help
```

```
fu 0.1.0
Pierre Chevalier

Find Unicode characters with ease.

Simply type a description of the character you are looking for. Once you found the character you were after, hit Enter.
Selecting multiple characters is also possible: hit tab to select a character and continue browsing.

USAGE:
fu [OPTIONS] [initial_query]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
--height Height of fu's window relative to the terminal window [default: 50%]
--layout Position of fu's window relative to the prompt [default: Below] [possible values: Above,
Below]
--search Search mode [default: Regex] [possible values: Regex, Exact, Fuzzy]

ARGS:
Initial query, if any
```

To regenerate the data
===

* Download the UCD Data:
```
curl https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt > src/UnicodeData.txt
```
* Download the Nerd Fonts Data:
```
curl https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/css/nerd-fonts-generated.css > src/NerdFontsData.css
```
* Regenerate the prettified data:
```
cargo run --bin gen_data
```
* Copy the generated data to src and commit it.