Giter Club home page Giter Club logo

alfred-emoji's Introduction

Hi there πŸ‘‹

I am a core contributor and maintainer of both Pino and Fastify. I also publish a lot of personal code as open source. Take a look around. Maybe you'll find something useful.

alfred-emoji's People

Contributors

adamkiss avatar glennmen avatar graysoncash avatar jsumners avatar kemayo avatar oscard0m avatar rmm5t avatar sz-hankus avatar vitorgalvao 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  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  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  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  avatar  avatar  avatar  avatar  avatar

alfred-emoji's Issues

Error while building

Not sure if I'm installing this correctly but I cloned the repo and did npm install then npm run build
This is where I'm getting the error:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @1.6.0 build: `./build.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @1.6.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/tony/.npm/_logs/2018-04-18T17_41_12_062Z-debug.log

Running on old macOS (10.11)

Hi guys,

I had a trouble running this probably due to node bundled with osascript on macOS 10.11? I am not sure. I made it work by:

  • running it with local node (not osascript)
  • putting back removing first two process.argv
  • and let Alfred do the filtering

This isn't as much as issue, as maybe something for other users to know or put to your readme? I am not sure. If you want, I can also change the updater URLs and do a separate release, though I am not sure how replicable my setup is β€” I was simply running yarn load until I got it working :D

My modifications are here: https://github.com/adamkiss/alfred-emoji

Improve automated build and release system

The current method of downloading an artifact and uploading it is insufficient. We should use the github scripts action to automatically create new releases and upload the artifacts to them.

Automatic update notification keeps popping up, but failing

All of a sudden every time I use the (wonderful) emoji workflow, I get a OS notification saying the workflow is updating. I ran debug and am seeing this error at the very end of the console output:
[12:02:17.759] ERROR: Emoji search[Run Script] The file /var/folders/v7/0gb14sxs36x6m_pydm5whnbm0000gn/T/tmp.YriP7MDg.alfredworkflow does not exist.

keyboard shortcut mapping

The keyboard shortcuts you have are a little different than most of the other packages I've used (including some built in ones as well).

I believe "return" should paste the emoji into the current text field
"cmd-c" should copy to clipboard

I don't believe the other commands have commonly used equivalents so they can either stay as is or adapt accordingly

Overall love the workflow!

To add skin_tone `random` value

To add random as an option so every time an emoji with skin-tone is selected with a random skin-tone (from 1 to 5).

If you think this is an interesting feature I would be happy to open a PR so I get familiar with Alfred workflows :)

Insert by default and `:` keyword

Hi there,

I've been trying to do these things:

  • Use colon (:) as the keyword, without a space (for consistency with, say, Notion, GitHub, and to speed things up) So as to look for, say, :clown.
    • It works... to a limit: results include (distracting) non-emoji results, e.g.: :a will return both "Activity monitor" and other programs, along a couple of emojis. Any option to not fall back to non-emoji results?
  • Make insert ("Paste {query} into frontmost application") the default behavior to speed things up.
    • I was successful making the change (just unticked the 'Command' modifier key in the workflow on the one brand, to tick it and set modifier subtext "Copy "{query}" to clipboard" on the other brand.) Problems are: the default text still remains "Copy ... to clipboard", and it copies it to clipboard anyway, which is not desirable.)
    • I tried editing the plist (and then restarting Alfred) to edit the phrasings, but it's been without impact. What did I miss?

Thanks for the help!

Some emojis can only be copied as line pictograph

First of all, thanks for this great Alfred workflow; using it every day! :)

With a small subset of emojis, I noticed a weird hiccup: instead of the usual emoji symbol, a smaller b/w line pictogram is suggested and copied upon pressing Enter:

alfred emoji workflow

Any idea what this might be due to? The emoji is definitely available on my system (macOS 10.15.7) and it also shows up right in the item preview, but what is copied is the symbol in the subtitle…
I'm happy to assist in tracking down the error and/or fixing it.

Edit: I guess a first step would be to build the workflow from source and see if it still occurs? πŸ€”

Better multi-word search support

This was suggested in the forums:

Also it would be nice if this matched for open_book. So you are not forced to type the underscore every time.

5a58c8c0cabe2_2018-01-12at15_39 png 6479a4fb068551fd02337d6e0363d38a

I tend to agree, but I also think it would be beneficial to be able to search for book open and get the same result as open_book. In other words, multi-word queries.

Right now, we just strip whitespace, but I think we can do better. I'm going to play with a PR to improve this soon.

Add hotkey input

Nice workflow πŸ˜ƒ

Could you add hotkey input like below, so that we can easily invoke the workflow?

screenshot 2018-01-12 at 13 12 03

workflow not finding new macOS 11 emoji

When I search using this workflow, it does not find the new emoji added to macOS 11. Does the workflow need an update to handle them and is that update coming?

Thank you!

macOS 10.15 (Catalina) emoji update

I am certain there are new emoji in the latest macOS release, 10.15. I'm not sure when I will update to the new OS. When I do, I will issue a new workflow release with the added emoji. It could be quite some time, however. I'm not keen to update to 10.15 any time soon.

Sort by recently used / most used

Most of the stuff in Alfred is sorted by recently used. It would be cool if this workflow could remember which emoji was recently used and sort based on that.

(Maybe save the number of invocations per emoji to a cache file and use that when sorting?)

Swapping Usage behaviours?

Hi!

Just wondering how it would be possible for me to change the return and cmd+return gestures. Instead, I would like return to simply paste the symbol, and cmd+return to copy the symbol.

Thanks for your work!

skin tone

Hi, wondering if there is anyway we can change the skin tone used in the emoji through this workflow?
Thanks

No thumbs up?

When I search for "thumb," neither thumbs up nor thumbs down comes up.

macOS 10.14 emoji update

With macOS 10.14 being released today there should be an updated release of alfred-emoji to go along with it so that the new emoji in the OS is included. However, I do not currently have a system that I will be able to install 10.14 on and issue an updated build from.

@rmm5t do you have a system available for this?

[Improvement] Add command to change emoji skin tone

Recently the new emoji skin tone PR #31 was merged that allows you to set change the emoji skin tone in the Workflow Environment Variables.

Now a nice addition to this feature would be to add a "settings" command to set the skin tone.
I would like to work on this PR but before I do I would like to check what you think about this and maybe feedback about my proposed solution.

Honestly I am not sure about the keyword πŸ˜… all suggestions are welcome.
After keyword trigger it will list all 5 skin tones and the default yellow no skin tone.
The one selected (enter) will be set in Workflow Environment Variables.

Build requires `jq`

The build script uses jq, but that's a command line tool that not everyone may have installed. The script also doesn't abort straight away when jq isn't found.

Missing emojis in latest version

This emoji is missing: β˜•οΈ

Probably more.

I also cloned it and built on my machine (btw step npm genpack is missing from the README) and I have the same issue.

Missing emoji icons

The following emoji are missing icons due the Apple emoji font not recognizing them:

  • octocat
  • shipit
  • bowtie
  • neckbeard
  • trollface
  • godmode
  • goberserk
  • finnadie
  • feelsgood
  • rage1
  • rage2
  • rage3
  • rage4
  • suspect
  • hurtrealbad

They will need special consideration if they are to work correctly. I'm not an artist, so someone else will have to step up.

Auto update support

There is a discussion in https://www.alfredforum.com/topic/11126-alfred-emoji-search-emojis-by-name-or-keyword/ about adding auto update support. I agree that this is desirable. However, as @rmm5t pointed out in the thread, this is functionally that should come from Alfred itself, ideally.

Even if it is to come from a third party add on, this add on needs to support the way releases are currently done for this workflow. Which is to say, it should be able to acquire the latest binary from the tagged release. The only binaries that should be in this repository are the rendered emoji images.

Coffin emoji returns glyph-like emoji and not emoji show in box

Currently receiving the wrong emoji in most application.

As shown in the screenshot below, the coffin icon differs between the actual expected coffin emoji and what is shown in the "Copy (coffin) to clipboard"

Screenshot_2021-06-11__12_00_PM

Interestingly, github changes the emoji to the "correct" one when using the workflow here

skin_tone not applied to all emojis that support skin tones

First, thank you for this workflow, and @Glennmen's work on supporting skin tones #38

I noticed that the skin_tone setting is not applied to all emojis that support skin tones.

My skin tone setting is 1:

CleanShot 2022-05-17 at 12 18 19@2x

This works great for hand gestures:

CleanShot 2022-05-17 at 12 18 14@2x

However, the skin tone setting is not applied to emojis that contain faces (my preliminary observation):

CleanShot 2022-05-17 at 12 19 11@2x

The shrug emoji for instance, should have supported the following skin tones:

CleanShot 2022-05-17 at 12 20 50@2x

Is this a known issue, or intended behaviour?

Feature to add random emojis

Would be cool if this could generate a number of random emojis e.g. emoji random 2 could generate 2 random emojis to be pasted in.

Set default action on ENTER

This workflow is great.

Suggested improvement: set default action on pressing ENTER.

I'm used to actioning items in Alfred with ENTER, and by default I'd like the emoji pasted into app I'm using (rather than copied into the clipboard).

Thanks!

Query defaults to Google search

I got this workflow working on one machine, but am having issues with another! Maybe a setting I've missed? The workflow seems to be installed correctly, and the beer icon appears as I type "emoji", but when I hit enter to invoke the emoji search Alfred takes me to its standard Google search. Any ideas?

Reverse search

I'd like to be able to lookup an emojis name by pasting it into a query. Visually searching for emojis is tedious, and many inputs allow users to enter :emojiname: for the same result.

Sample Alfred query: "emoji πŸ‘ "
Expected output: :+1:

Would this be possible? From looking at the emojilib this should be relatively simple, both in v2 and in v3, correct?

Search results should be scored

Example of issue:

image

Brief issue as a note for myself because I'll do a PR.

Note for myself: use a TDD approach for that one.

Local builds should skip auto-updating

We should add a mechanism to disable the automatic update checking and upgrading feature for workflows built locally. When someone build the workflow locally, it is likely because they want icons we are unable to provide due to our build system not being on the latest macOS. At the moment, they have to manually remove the update checking to prevent their build from being overwritten.

Gitmoji support

Hey! Would it be too out of scope of a project to support gitmoji keywords? :) Like suggesting ⚑️ on queries "improve" and "perfomance".
I could probably do it myself if it's appropriate, though I'm not well-versed in JS.

I do know that there are some other Alfred workflows for gitmojis, but I don't like them.

Probably it would be okay to enable this as a feature flag (variable) disabled by default.

Commonly used emoji no longer showing in list on update

I updated to v1.11.0 yesterday, and the list of recently/commonly used emoji no longer appears when I use the hotkey. I have selected specific emoji several times since then and the list has not repopulated in any way.

This was the method that I would use to select my most commonly used emoji easier than having to type a keyword for them.

Is this a feature purposefully removed, or a bug, or me using the tool incorrectly?

Missing emoji aliases

I couldn't tell if this was related to #76, but it looks like common aliases might have been dropped in the last update.

An example is searching for coffee which brings up brown "brown heart" 🀎 and "coffin" ⚰️.

TIL that it's labeled as "hot beverage" which search can't quite narrow down with either "hot beverage" or "hotbeverage". I can eventually get there by searching for "beverage" finding it.

Anyways, not a huge deal, but passing it along just in case this wasn't intended.

Add option to copy the emojis codepoint

There are situation where I'd like to access the codepoint instead of directly copying the emoji.

I'd be happy to provide a PR, assuming somebody can give me some pointers on how to get started. πŸ™‚

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.