https://github.com/qjcg/horeb
Speaking in tongues via stdout
https://github.com/qjcg/horeb
characters runes stdout stdout-stream templeos unicode
Last synced: 6 months ago
JSON representation
Speaking in tongues via stdout
- Host: GitHub
- URL: https://github.com/qjcg/horeb
- Owner: qjcg
- License: mit
- Created: 2015-02-23T01:59:38.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T06:49:49.000Z (almost 2 years ago)
- Last Synced: 2025-04-03T22:23:15.979Z (7 months ago)
- Topics: characters, runes, stdout, stdout-stream, templeos, unicode
- Language: Go
- Homepage:
- Size: 8.62 MB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Horeb

[](https://goreportcard.com/report/github.com/qjcg/horeb)
![Mt. Horeb][mt-horeb]
*"Speaking in tongues via stdout."*
Horeb is a CLI tool for generating random sequences of characters from various
[Unicode blocks](https://en.wikipedia.org/wiki/Unicode_block).One source of inspiration for this tool is the [TempleOS](https://templeos.org)
[oracle].## Install
```sh
go install github.com/qjcg/horeb@latest
```## Usage
Print 1000 random dominos:
```sh
$ horeb -n 1000 dominos
```Print 500 random characters drawn from the `emoji`, `geometric` and `math_alnum`
code blocks:```sh
$ horeb -n 500 emoji geometric math_alnum
```List all Unicode block names `horeb` knows about along with their corresponding
[codepoint](https://en.wikipedia.org/wiki/Code_point) ranges:```sh
$ horeb -l
10100 1013f aegean_nums
10140 1018f ancient_greek_nums
20a0 20cf currency[...]
```Dump all characters from all blocks `horeb` knows about:
```sh
$ horeb -L
10100 1013f aegean_nums
𐄀 𐄁 𐄂 𐄇 𐄈 𐄉 𐄊 𐄋 𐄌 𐄍 𐄎 𐄏 𐄐 𐄑 𐄒 𐄓 𐄔 𐄕 𐄖 𐄗 𐄘 𐄙 𐄚 𐄛 𐄜 𐄝 𐄞 𐄟 𐄠 𐄡 𐄢 𐄣 𐄤 𐄥 𐄦 𐄧 𐄨 𐄩 𐄪 𐄫
𐄬 𐄭 𐄮 𐄯 𐄰 𐄱 𐄲 𐄳 𐄷 𐄸 𐄹 𐄺 𐄻 𐄼 𐄽 𐄾 𐄿10140 1018f ancient_greek_nums
𐅀 𐅁 𐅂 𐅃 𐅄 𐅅 𐅆 𐅇 𐅈 𐅉 𐅊 𐅋 𐅌 𐅍 𐅎 𐅏 𐅐 𐅑 𐅒 𐅓 𐅔 𐅕 𐅖 𐅗 𐅘 𐅙 𐅚 𐅛 𐅜 𐅝 𐅞 𐅟 𐅠 𐅡 𐅢 𐅣 𐅤 𐅥 𐅦 𐅧
𐅨 𐅩 𐅪 𐅫 𐅬 𐅭 𐅮 𐅯 𐅰 𐅱 𐅲 𐅳 𐅴 𐅵 𐅶 𐅷 𐅸 𐅹 𐅺 𐅻 𐅼 𐅽 𐅾 𐅿 𐆀 𐆁 𐆂 𐆃 𐆄 𐆅 𐆆 𐆇 𐆈 𐆉 𐆊 𐆋 𐆌 𐆍 𐆎20a0 20cf currency
₠ ₡ ₢ ₣ ₤ ₥ ₦ ₧ ₨ ₩ ₪ ₫ € ₭ ₮ ₯ ₰ ₱ ₲ ₳ ₴ ₵ ₶ ₷ ₸ ₹ ₺ ₻ ₼ ₽ ₾[...]
```## Test
```
make test
```## Font Support
For information about fonts supporting specific Unicode blocks, see [fileformat.info].
To determine what font is being used via
[fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/) to render
a given glyph on Linux, try
[gucharmap](https://fedoraproject.org/wiki/Identifying_fonts).[mt-horeb]: http://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Francis_Frith_%28English_-_Mount_Horeb%2C_Sinai_-_Google_Art_Project_%286787000%29.jpg/306px-Francis_Frith_%28English_-_Mount_Horeb%2C_Sinai_-_Google_Art_Project_%286787000%29.jpg "Mt. Horeb"
[oracle]: https://youtu.be/zCPSsuON8Gk?t=96
[fileformat.info]: http://www.fileformat.info/info/unicode/block/index.htm## License
MIT.