nimoji

๐Ÿ•๐Ÿบ emoji support for Nim ๐Ÿ‘‘ and the world ๐ŸŒ

Pure Nim score 15/100 ยท tests present ยท no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install nimoji
choosenim install nimoji
git clone https://github.com/pietroppeter/nimoji

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimoji โœ“ โœ“ โœ“ - - - - - - -

Source

Repository https://github.com/pietroppeter/nimoji
Homepage https://github.com/pietroppeter/nimoji
Registry Source nimble_official

README

nimoji

๐Ÿ•๐Ÿบ emoji support for Nim ๐Ÿ‘‘ and the world ๐ŸŒ.

Inspired by kyokomi and carpedm20. Emojis codemap is from muan.

Go to Emoji searcher for a searchable list of supported emojis.

Usage

From command line:

nimoji - ๐Ÿ•๐Ÿบ emoji support for Nim ๐Ÿ‘‘ and the world ๐ŸŒ.
Usage: nimoji ARGUMENT

If ARGUMENT is an existing file, it will use as input the file,
otherwise it will use ARGUMENT as input.
Output is input with keywords delimited by ':' rendered as emoji.

Example usage:
  nimoji :wave:
    ๐Ÿ‘‹
  nimoji "hello :earth_africa:"
    hello ๐ŸŒ
  nimoji hello.nim
    let ๐Ÿ‘‹ = "hello"

    echo ๐Ÿ‘‹ & " ๐ŸŒ"

For a searchable list of supported emoji keywords: https://emoji.muan.co/

From Nim:

import nimoji

assert "I :heart: :pizza: and :beer:".emojize == "I โค๏ธ ๐Ÿ• and ๐Ÿบ"
assert "The emoji for spaghetti: :spaghetti:".emojize, "The emoji for spaghetti: ๐Ÿ"

# substitution is style insensitive
assert "you say :to_ma_to: I say :ToMaTo:".emojize == "you say ๐Ÿ… I say ๐Ÿ…"