• Stars
    star
    743
  • Rank 61,046 (Top 2 %)
  • Language
    JavaScript
  • Created over 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Alfred workflow for searching and copying emoji

alfred-emoji

Build Status

An Alfred workflow that makes it easy to search for emoji and copy them to the clipboard ๐Ÿค˜.

screenshot

Note About Available Emoji

The workflow is built against the latest available macOS within the GitHub continuous integration infrastructure. This means some emoji may be missing until the GitHub infrastructure is updated. It also means that some emoji may be present in the workflow that do not exist on your system if your system is running an earlier version of macOS.

If this is not desired, follow the instructions below for generating the workflow on your own system.

Installing the Workflow

Download the provided Alfred workflow.

Notice: This workflow relies on JXA (JavaScript for Automation) that is built into macOS.

Usage

emoji [query]

Press return (โ†ต): Copy the symbol of the selected emoji (e.g. ๐Ÿคฃ) to your clipboard.

Press alt+return (โŒฅโ†ต): Copy the code of the selected emoji) (e.g. :rofl:) to your clipboard.

Press ctrl+return (โŒƒโ†ต): Copy the codepoint of the selected emoji) (e.g. U+1F923) to your clipboard.

Press shift+return (โ‡งโ†ต): Copy the default symbol of the selected emoji) (e.g. ๐Ÿคฃ) to your clipboard without skin tone modifier.

Press cmd+return (โŒ˜โ†ต): Paste the symbol of the selected emoji (e.g. ๐Ÿคฃ) directly to your frontmost application.

Set skin tone

To change the emoji skin tone for supported emoji set the skin_tone environment variable in Alfred:

screenshot skin tone settings

Options:

  • No value => ๐Ÿ‘
  • 0 => ๐Ÿ‘๐Ÿป
  • 1 => ๐Ÿ‘๐Ÿผ
  • 2 => ๐Ÿ‘๐Ÿฝ
  • 3 => ๐Ÿ‘๐Ÿพ
  • 4 => ๐Ÿ‘๐Ÿฟ
  • random => ๐Ÿ‘๐Ÿป | ๐Ÿ‘๐Ÿผ | ๐Ÿ‘๐Ÿฝ | ๐Ÿ‘๐Ÿพ | ๐Ÿ‘๐Ÿฟ

After setting skin tone you can still quickly copy the default emoji with the shift modifier.

Automatic Updates

This workflow will automatically check for updates at most once per day. If a new release is found, it automatically downloads and installs the latest version of the workflow. All downloads come directly from official GitHub releases.

Optional Hotkey and Snippet Triggers

Trigger the workflow with either a custom hotkey or a custom snippet.

Building the Workflow

  1. Clone this repository
  2. npm install
  3. npm run build

Loading the Workflow into Alfred

  1. npm run load

Inspiration

This is based on the original work by Carlos Galdino. His project seems to be unmaintained (some emoji don't copy and some newer are missing). Whereas his project is based on the Ruby language, this one is based on JavaScript.

Other

License

MIT License

More Repositories

1

node-activedirectory

ActiveDirectory is an Node.js ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations. Originally forked from gheeres/node-activedirectory.
JavaScript
51
star
2

abstract-logging

A noop logger interface for Node.js modules
JavaScript
32
star
3

abstract-cache

JavaScript
21
star
4

fastify-server-session

JavaScript
16
star
5

fastify-no-icon

JavaScript
12
star
6

autox

C
11
star
7

gh-action-hugo-deploy

An action to deploy Hugo based sites to GitHub organization repos
Shell
8
star
8

udm-dns

A Dnsmasq Docker container that polls a UDM-PRO for a list clients to serve as hostnames
Go
8
star
9

self-cert

A simple library to generate self-signed x509 certs
JavaScript
7
star
10

abstract-cache-redis

JavaScript
6
star
11

hapi-cas

A Hapi framework plugin to provide authentication via servers implementing Apereo's CAS protocol
JavaScript
5
star
12

JBSSettings

An alternative to NSUserDefaults
Objective-C
4
star
13

njs-di-example

An example of using Dependency Injection and Inversion of Control in a Node.js application
JavaScript
4
star
14

WinLN

C#
3
star
15

dotfiles

Shell
3
star
16

simple-cas-interface

A class for interacting with servers implementing Apereo's CAS protocol
JavaScript
3
star
17

adldap

JavaScript
3
star
18

isDebug

A simple Node.js module for determining the runtime environment
JavaScript
3
star
19

hapi-marko

JavaScript
2
star
20

dhcpd-lease-logger

Parses a DHCPD leases file and stores the data in a PostgreSQL database
JavaScript
2
star
21

cloob

A database migration tool and API
JavaScript
2
star
22

nodebb-plugin-sso-discord-alt

JavaScript
2
star
23

spring-session-test

Java
1
star
24

wp-to-static

JavaScript
1
star
25

ansible-role-node-lts

1
star
26

goji

A templating system for Node.js that is inspired by Thymeleaf
JavaScript
1
star
27

nixconfig

A simple to use configuration file loader
JavaScript
1
star
28

node-lich

JavaScript
1
star
29

generator-ansible-bare

JavaScript
1
star
30

ucarp-rhel7

A better UCarp package for RHEL 7
Shell
1
star
31

go-rfc3339

A utility library to make dealing with RFC 3339 date-time and full-date representations easier.
Go
1
star
32

fjs-ajv-experiment

JavaScript
1
star
33

dynamo-wrap

JavaScript
1
star
34

clean-up-circleci-org

JavaScript
1
star
35

mvn-repo

A Maven repository for my releases.
1
star
36

nixconfig-yaml

JavaScript
1
star
37

docker-dynamodb-local-sample

Shell
1
star
38

fastify-async-nonasync-compare

Simple test to compare performance of async handlers
Shell
1
star
39

haproxy-rhel7

An alternate RPM for HAProxy on RHEL 7
Shell
1
star
40

gdns

Go
1
star
41

ice-lotto-njs

JavaScript
1
star
42

sqsiphon

Originally published via knockaway/sqsiphon.
JavaScript
1
star
43

prior-inventions-list

JavaScript
1
star
44

hapi-easy-session

JavaScript
1
star
45

freeradius-rpm

A build script to create Freeradius RPMs from upstream
Shell
1
star
46

hapi-marko-lasso

JavaScript
1
star
47

node-gw2spidy

JavaScript
1
star
48

jrfom.com

HTML
1
star
49

go-zone

A loose DNS zone master file parser
Go
1
star