Skip to content

NickLavrov/big-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Big Message!

CircleCI

📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢
📢🔔📢📢📢📢📢🔔🔔📢📢📢🔔🔔📢📢🔔📢📢🔔📢
📢🔔📢📢📢📢🔔📢📢🔔📢🔔📢📢🔔📢🔔📢🔔📢📢
📢🔔📢📢📢📢🔔📢📢🔔📢🔔📢📢🔔📢🔔🔔📢📢📢
📢🔔📢📢📢📢🔔📢📢🔔📢🔔📢📢🔔📢🔔📢🔔📢📢
📢🔔🔔🔔🔔📢📢🔔🔔📢📢📢🔔🔔📢📢🔔📢📢🔔📢
📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢📢

Turn a phrase into emoji pixel font! Perfect for any mono-spaced emoji!

Requirements

Python 2 or 3

Usage

Simply call python bigmessage.py HELLO to get your copy-pastable message! It is recommended to pipe this into pbcopy for quick usage.

◼️◻️◻️◼️◻️◼️◼️◼️◼️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◻️◼️◼️◻️
◼️◻️◻️◼️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◼️
◼️◼️◼️◼️◻️◼️◼️◼️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◼️
◼️◻️◻️◼️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◻️◻️◼️◻️◻️◼️
◼️◻️◻️◼️◻️◼️◼️◼️◼️◻️◼️◼️◼️◼️◻️◼️◼️◼️◼️◻️◻️◼️◼️◻️

You can specify the emoji to use (or any string, such as :+1: or :party_parrot:) for the background and the foreground with the -b and -f tags respectively. You can also surround the text with an optional border with the -B tag, as shown below:

python bigmessage.py SUP -b 🍏 -f 😎 -B

🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏
🍏🍏😎😎😎🍏😎🍏🍏😎🍏😎😎😎🍏🍏
🍏😎🍏🍏🍏🍏😎🍏🍏😎🍏😎🍏🍏😎🍏
🍏🍏😎😎🍏🍏😎🍏🍏😎🍏😎😎😎🍏🍏
🍏🍏🍏🍏😎🍏😎🍏🍏😎🍏😎🍏🍏🍏🍏
🍏😎😎😎🍏🍏🍏😎😎🍏🍏😎🍏🍏🍏🍏
🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏🍏

You can pass an entire phrase, and each word will appear on a new line. Make sure to use quotes!

python bigmessage.py "FRUIT SALAD" -b 🍉 -f 🥝 -B

🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉
🍉🥝🥝🥝🥝🍉🥝🥝🥝🍉🍉🥝🍉🍉🥝🍉🥝🥝🥝🍉🥝🥝🥝🥝🥝🍉
🍉🥝🍉🍉🍉🍉🥝🍉🍉🥝🍉🥝🍉🍉🥝🍉🍉🥝🍉🍉🍉🍉🥝🍉🍉🍉
🍉🥝🥝🥝🍉🍉🥝🥝🥝🍉🍉🥝🍉🍉🥝🍉🍉🥝🍉🍉🍉🍉🥝🍉🍉🍉
🍉🥝🍉🍉🍉🍉🥝🍉🥝🍉🍉🥝🍉🍉🥝🍉🍉🥝🍉🍉🍉🍉🥝🍉🍉🍉
🍉🥝🍉🍉🍉🍉🥝🍉🍉🥝🍉🍉🥝🥝🍉🍉🥝🥝🥝🍉🍉🍉🥝🍉🍉🍉
🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉
🍉🍉🥝🥝🥝🍉🍉🥝🥝🍉🍉🥝🍉🍉🍉🍉🍉🥝🥝🍉🍉🥝🥝🥝🍉🍉
🍉🥝🍉🍉🍉🍉🥝🍉🍉🥝🍉🥝🍉🍉🍉🍉🥝🍉🍉🥝🍉🥝🍉🍉🥝🍉
🍉🍉🥝🥝🍉🍉🥝🥝🥝🥝🍉🥝🍉🍉🍉🍉🥝🥝🥝🥝🍉🥝🍉🍉🥝🍉
🍉🍉🍉🍉🥝🍉🥝🍉🍉🥝🍉🥝🍉🍉🍉🍉🥝🍉🍉🥝🍉🥝🍉🍉🥝🍉
🍉🥝🥝🥝🍉🍉🥝🍉🍉🥝🍉🥝🥝🥝🥝🍉🥝🍉🍉🥝🍉🥝🥝🥝🍉🍉
🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉🍉

View options with python bigmessage.py -h

usage: bigmessage.py [-h] [-b BACKGROUND] [-f FOREGROUND] [-B] [-v] phrase

Turn a phrase into emoji pixel font.

positional arguments:
  phrase

optional arguments:
  -h, --help            show this help message and exit
  -b BACKGROUND, --background BACKGROUND
                        Emoji to use for background (default: ◻️)
  -f FOREGROUND, --foreground FOREGROUND
                        Emoji to use for the foreground font (default: ◼️)
  -B, --border          Surround output with a border (default: False)
  -v, --version         show program's version number and exit

Testing

python test.py

The expected test results are hardcoded to the originally-provided "font." If you change the font, tests may fail unless you update them accordingly.

Customizing

Characters are encoded as a list with (height*width) elements. A 1 indicates a foreground pixel and a 0 indicates a background pixel. If you wish to modify the style of these characters, you can find them in alphabet.py. You can change the value of height if your design is not 5 pixels tall. All characters must have the same height.

About

Turn a phrase into emoji pixel font!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages