Giter VIP home page Giter VIP logo

alfred-emoji-workflow.py's Introduction

Search Emoji codes and symbols using Alfred 2

This simple workflow lets you search emoji codes and their symbols.

I ported this from ruby to python from my fork of the original alfred-emoji-workflow. Many thanks to carlosgaldino for his original work on this Alfred workflow.

Copy the emoji code to use on Campfire, GitHub, etc.

Usage: emoji [query]

After you hit enter the code of the selected emoji will be copied to your clipboard.

Copy the actual emoji symbol to use on any OS X app.

Usage: symoji [query]

After you hit enter the symbol of the selected emoji will be copied to your clipboard.

Customizing the keywords:

If you don't like the keywords that are used for triggering the search you can customize it directly on Alfred. Some suggested using : for searching the emoji code and emoji for the actual symbols.

Last but not least:

  • The query argument is optional for both commands. If you don't specify a query, the whole list of emoji will be presented.

  • __You can also search an emoji using related words. Check the full list

  • You can add your own related words by editing custom_related.json and re-running generate.py.

DOWNLOAD

Developing

There are two steps to developing...

  1. Run the generate.py script to produce related.json & symbols.json (and any new images)

     python generate.py
    
  2. Install data files into Alfred

Generating the Emoji and Related Words

The generate.py script pulls the official full emoji list from the unicode.org website and...

  • Extracts the Apple icons
  • Generates the symbols.json file with a map of names to symbols
  • Generates the related.json file with a map of names to annotation keywords & custom related words from custom_related.json

Installing data files into Alfred

  1. Open Alfred preferences and navigate to this workflow
  2. Open the configuration for either of the script actions
  3. Click Open Workflow Folder
  4. Copy the changed symbols.json & related.json into the workflow folder
  5. If there are any new images in the images/ folder, copy those as well
  6. Enjoy!

alfred-emoji-workflow.py's People

Contributors

louiszuckerman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.