qjcg / horeb

Speaking in tongues via stdout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Horeb

Build Status Go Report Card License

Mt. Horeb

"Speaking in tongues via stdout."

Horeb is a CLI tool for generating random sequences of characters from various Unicode blocks.

One source of inspiration for this tool is the TempleOS oracle.

Install

go install github.com/qjcg/horeb@latest

Usage

Print 1000 random dominos:

$ horeb -n 1000 dominos

Print 500 random characters drawn from the emoji, geometric and math_alnum code blocks:

$ horeb -n 500 emoji geometric math_alnum

List all Unicode block names horeb knows about along with their corresponding codepoint ranges:

$ horeb -l
10100 1013f  aegean_nums
10140 1018f  ancient_greek_nums
 20a0  20cf  currency

[...]

Dump all characters from all blocks horeb knows about:

$ 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 to render a given glyph on Linux, try gucharmap.

License

MIT.

About

Speaking in tongues via stdout

License:MIT License


Languages

Language:Go 70.5%Language:Nix 16.2%Language:Makefile 11.9%Language:Dockerfile 1.3%