Why? Because its a great emoji font! I want to see them all over my desktop.
First you need to make sure the required tools are installed:
nushell
(probably could have made it without, but I like to write nushell scripts¯\_(ツ)_/¯
)python
(and its virtualenv/venv and pip)git
of course
- Make sure you have the submodules. Either clone this repo with
--recursive
or dogit submodule update --init
- Create a python virtual environment and activate it, like:
python -m venv venv
then source the activation file for your shell (for nushell just run./tools/pyvenv.nu
) - Run
./build_ttf.nu -i cbdt
this produces the font file inout/build/MutantStandardEmoji-CBDT.ttf
(Note: you can build other font formats too, check./build_ttf.nu -h
or the script for more info) - On linux, you could also copy the font and its license to the system fonts by running
sudo ./install.nu
If you want to pick a specific emoji from the Mutant Standard set, take a look at ./mutant_table.txt (generated by tools/export_memoji_codes.nu)
There is an example fuzzy finder script (module) using skim and wl-clipboard at tools/_memoji.nu.
Use it like use ./tools/_memoji.nu *
then memoji copy
to pick and copy to clipboard.
It may look like this: (rendering still has to be supported by your terminal in ways...)
Or in the extremely likely scenario when you want to touch 3 files named as different emoji, run this after the use: for $ in 1..3 { memoji | touch $in }
Everything in this repository is licensed under a MIT license, except the materials used under the repositories in the following folders have their own licensing:
mutant_standard
: Mutant Standard emoji are licensed CC BY-NC-SA 4.0 Internationalorxporter
: Orxporter is licensed under the Cooperative Non-Violent License (CNPL) v4nanoemoji
: nanoemoji is licensed under the Apache-2.0 license
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.