|
1 |
| -# uni [](https://semaphoreci.com/sourcefoundry/uni) |
| 1 | +# uni |
2 | 2 |
|
3 |
| -[](https://goreportcard.com/report/github.com/source-foundry/uni) |
| 3 | +[](https://semaphoreci.com/sourcefoundry/uni) [](https://goreportcard.com/report/github.com/source-foundry/uni) |
4 | 4 |
|
5 |
| -Unicode code point search |
| 5 | +## About |
| 6 | + |
| 7 | +uni is an application that displays Unicode code points for glyphs included as arguments on the command line. |
| 8 | + |
| 9 | +## Install |
| 10 | + |
| 11 | +uni is developed in Go and compiled to the command line executable `uni`. A variety of cross-compiled binaries are available for use on Linux, macOS, and Windows systems, or you can download the source and compile the application yourself. Instructions for both approaches follow. |
| 12 | + |
| 13 | +### Install a pre-compiled binary |
| 14 | + |
| 15 | +Download the appropriate archive file for your system from the repository releases. Unpack the `.zip` archive and move the `uni` executable to the desired directory. For *.nix users (including macOS), the `uni` executable can be placed on your system PATH (e.g. `/usr/local/bin`) to enable use system-wide use with the following: |
| 16 | + |
| 17 | +``` |
| 18 | +$ uni [args] |
| 19 | +``` |
| 20 | + |
| 21 | +If you do not install on your system PATH, navigate to the directory where you saved the `uni` executable and use the following: |
| 22 | + |
| 23 | +``` |
| 24 | +$ ./uni [args] |
| 25 | +``` |
| 26 | + |
| 27 | +### Compile from source files and install |
| 28 | + |
| 29 | +If you would prefer to build the application from the source, follow these instructions: |
| 30 | + |
| 31 | +- Install [Go](https://golang.org/doc/install) |
| 32 | +- [Define your GOPATH](https://github.com/golang/go/wiki/Setting-GOPATH) |
| 33 | +- `go get github.com/source-foundry/uni` |
| 34 | +- `go install $GOPATH/src/github.com/source-foundry/uni` |
| 35 | + |
| 36 | +## Usage |
| 37 | + |
| 38 | +uni takes glyph arguments and displays the associated Unicode code points. You can include the glyphs in a single string or separate them with spaces. Use quotes around special shell characters. |
| 39 | + |
| 40 | +``` |
| 41 | +$ uni [glyph 1]...[glyph n] |
| 42 | +``` |
| 43 | + |
| 44 | +#### Example |
| 45 | + |
| 46 | +``` |
| 47 | +$ uni Aa1Ø€βф▀र༩↵√ナ |
| 48 | +U+0041 'A' |
| 49 | +U+0061 'a' |
| 50 | +U+0031 '1' |
| 51 | +U+00D8 'Ø' |
| 52 | +U+20AC '€' |
| 53 | +U+03B2 'β' |
| 54 | +U+0444 'ф' |
| 55 | +U+2580 '▀' |
| 56 | +U+0930 'र' |
| 57 | +U+0F29 '༩' |
| 58 | +U+21B5 '↵' |
| 59 | +U+221A '√' |
| 60 | +U+30CA 'ナ' |
| 61 | +``` |
| 62 | + |
| 63 | +## Issues |
| 64 | + |
| 65 | +Please [file an issue report](https://github.com/source-foundry/uni/issues/new) on the repository for any problems that arise with use. |
| 66 | + |
| 67 | +## Contributing |
| 68 | + |
| 69 | +Contributions to the project are encouraged and welcomed. |
| 70 | + |
| 71 | +## License |
| 72 | + |
| 73 | +[MIT License](https://github.com/source-foundry/uni/blob/master/LICENSE) |
0 commit comments