Giter Club home page Giter Club logo

alfred-gitmoji's Introduction

Gitmoji Workflow for Alfred

GitHub release GitHub All Releases GitHub Gitmoji GitHub Sponsors

Search for Gitm:stuck_out_tongue_winking_eye:jis using Alfred.

demo

Installation

  1. Download the latest version
  2. Install the workflow by double-clicking the .alfredworkflow file
  3. You can add the workflow to a category, then click "Import" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.

Usage

Just type gm followed by your search query.

gm update

Either press ⌘Y to Quick Look the result, or press <enter> copy it to your clipboard.

Modifier keys

  • return (↵): Copy the code of the selected gitmoji (e.g. :bug:) directly to your front-most application.
  • option+return (⌥↵): Copy the symbol of the selected emoji) (e.g. "🐛") to your clipboard.
  • ctrl+return (⌃↵): Copy the hexadecimal HTML Entity of the selected emoji) (e.g. &#x1f41b;) to your clipboard.
  • shift+return (⇧↵): Copy the Python source of the selected emoji) (e.g. u"\U0001F41B") to your clipboard.
  • shift+ctrl+return (⇧⌃↵): Copy the formal Unicode notation of the selected emoji) (e.g. U+1F41B) to your clipboard.
  • cmd+return (⌘↵): Copy the code of the selected emoji (e.g. :bug:) to your clipboard.

Notes

Kudos to leolabs/alfred-gitmoji for the initial inspiration.

The gitmoji index was built from carloscuesta/gitmoji. The displayed emoji images are from joypixels/emoji-assets. The lightning fast search is powered by Algolia using the same index as gimoji.dev.

alfred-gitmoji's People

Contributors

dependabot[bot] avatar techouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alfred-gitmoji's Issues

"gm" can't be opened because Apple cannot check it for malicious software

I met an issue with the workflow:

Once installed, as soon as I try it, I get a MacOS exception regarding the developer verification

verification

I had to go to the Security & Privacy pane of the System Preferences, then allow the gm execution

I triggered the workflow again, and I had to allow the script execution from the popup displayed.

Now everything works fine 👍🏻

I opened this issue in order to give a clue for anyone having trouble with this useful workflow which was not working since python2 is deprecated on mac.
Thank you so much @techouse for rewriting it using dart 👌🏻

✨ Copy actual emoji to clipboard

Is there some way we could have an option to copy the actual emoji to the clipboard? So, ⚡️ and not :zap:. Perhaps this is configurable, since different users may have varying needs? (If this is already possible, my apologies! I'm new to Alfred packs.)

Bad CPU type in executable

Alfred closes whenever I write "gm" only.

[10:39:00.272] Logging Started...
[10:39:04.877] Gitmoji[Script Filter] Queuing argument ''
[10:39:04.968] Gitmoji[Script Filter] Script with argv '(null)' finished
[10:39:04.976] ERROR: Gitmoji[Script Filter] Code 1: arch: posix_spawnp: ./workflow: Bad CPU type in executable
[10:39:56.214] Gitmoji[Script Filter] Queuing argument ''
[10:39:56.222] Gitmoji[Script Filter] Script with argv '(null)' finished
[10:39:56.224] ERROR: Gitmoji[Script Filter] Code 1: arch: posix_spawnp: ./workflow: Bad CPU type in executable
[10:40:42.176] Gitmoji[Script Filter] Queuing argument ''
[10:40:42.197] Gitmoji[Script Filter] Script with argv '(null)' finished
[10:40:42.199] ERROR: Gitmoji[Script Filter] Code 1: arch: posix_spawnp: ./workflow: Bad CPU type in executable
[10:40:43.591] Gitmoji[Script Filter] Queuing argument 'update'
[10:40:43.611] Gitmoji[Script Filter] Script with argv '(null)' finished
[10:40:43.616] ERROR: Gitmoji[Script Filter] Code 1: arch: posix_spawnp: ./workflow: Bad CPU type in executable

[Feature Request] List all gitmojis

Hi, is it possible to add a feature for displaying a list of all gitmojis (with descriptions) when there is no query (like in the emoji workflow)?

Current:
CleanShot 2022-11-06 at 05 07 06@2x

Expected:
CleanShot 2022-11-06 at 05 09 08@2x

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.