Skip to content

Turning your favorite emojis into the world of ASCII ※\(^o^)/※

License

Notifications You must be signed in to change notification settings

GEROGIANNIS/Limoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

|==========================================|
 ██╗     ██╗███╗   ███╗ ██████╗      ██╗██╗
 ██║     ██║████╗ ████║██╔═══██╗     ██║██║
 ██║     ██║██╔████╔██║██║   ██║     ██║██║
 ██║     ██║██║╚██╔╝██║██║   ██║██   ██║██║
 ███████╗██║██║ ╚═╝ ██║╚██████╔╝╚█████╔╝██║
 ╚══════╝╚═╝╚═╝     ╚═╝ ╚═════╝  ╚════╝ ╚═╝
|==========================================|

Turning your favorite emojis into the world of Unicode

Releases License Contributors Merged PRs CI

📖 Introduction

Limoji is an open source tool that makes it easy to choose between hundreds of cool Unicode emoticons and share them with your friends, all done using the terminal!

All you have to do is pick the right one or let Limoji choose it for you!

Features

  • Hundreds of available emoticons to choose from
  • Automatic copy to the clipboard
  • Random emoticon generator
  • 100% free and open source
  • Lightweight and responsive
  • Wayland support
  • Tiny footprint (less than 30KB!)

⬇️ Installation

Debian / Ubuntu-based distributions (Officially supported)

Repository Automatic Updates How to install
GitHub Download the .deb file
GitHub (deb-get) ✔️ Follow the instructions below
Gemfury ✔️ Follow the instructions below

APT repository (Gemfury):

Run the following commands to add it:

# Add the repository
echo "deb [trusted=yes] https://apt.fury.io/lefterisgar/ * *" | sudo tee /etc/apt/sources.list.d/limoji.list

# Update the package indexes
sudo apt update

# Install Limoji
sudo apt install limoji

Installation using deb-get:

  • Download and install deb-get.
  • Run deb-get install limoji

Note: deb-get is 3rd party software, not to be associated with apt-get.

Other GNU/Linux distributions

Requirements:

  • xclip (X11) or wl-clipboard (Wayland)
  • git

To install it:

Depending on your session type (X11 or Wayland) you will need the appropriate package for copying items to the clipboard. It is recommended that you install both.

xclip (X11):

# Arch:
sudo pacman -S xclip

# Fedora:
sudo dnf install xclip

wl-clipboard (Wayland):

# Arch Linux:
sudo pacman -S wl-clipboard

# Fedora:
sudo dnf install wl-clipboard

Clone this repository:

git clone https://github.com/GEROGIANNIS/Limoji ~/Limoji

Add Limoji's directory to your path (NOTE: You must restart your session after that):

echo export PATH="~/Limoji:$PATH" | tee -a ~/.bashrc

You can update Limoji using:

cd ~/Limoji && git pull

📄 Usage

limoji <emoticon-name>

Example:

$ limoji happy
  [✓] happy was copied to the clipboard successfully:
  :‑)

Available commands

-e, --emoticons Show a list of the available emoticons
-h, --help Show this list
-i, --info Show info about the project
-r, --random Print a random emoticon
-v, --version Display Limoji's version

By default, limoji --version will query GitHub's API to check if a new version is available. If you wish to disable this check, use the --no-update-check flag:

$ limoji --version --no-update-check

# Shortened version:
$ limoji -v -nu

🔨 Development

Contributing to the project

  1. Fork Limoji
  2. Apply your proposed changes to the fork
  3. Open a pull request

Deployment

When everything is ready for a release, the version number needs to be incremented:

# Limoji 1.0.0

limoji_version="1.0.0"

Then run publish.sh:

./publish.sh

This script will automatically do the following:

  • Generate a changelog for the new release
  • Create the release commit
  • Tag the new release
  • Push everything to GitHub

GitHub actions is configured to build the package afterwards and draft a release.

💬 Todo:

  • Localization
  • Search Command
  • Emoticon Creator
  • Chrome OS Support
  • Packaging
  • Help Page
  • Update README.md
  • Make A Release
  • Add Option To Receive Another Emoticon
  • Add Info Command