Code Monkey home page Code Monkey logo

gemojisharp's Introduction

Hej! ๐Ÿ‘‹

My name is Henrik Lau Eriksson and I live in Stockholm, Sweden.

I work with:

I write code for the Web ๐ŸŒ

  • Usually backend ๐Ÿด
  • Sometimes frontend ๐Ÿฆ„

Let's get in touch:

gemojisharp's People

Contributors

hlaueriksson avatar msftgits avatar pilgrimlyieu avatar timheuer 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

Watchers

 avatar  avatar  avatar

gemojisharp's Issues

unEmoji

Hi,

I like the ability to go from text to an emoji, but can you also do the reverse? (I have a few 3rd party integrations that blow up when they encounter an emoji, but I'd like to keep the meaning around.

blazor webassembly = erro

I didn't see anything in the documentation about something to register the dll in program.cs so that these files can be recognized

GET https://localhost:5001/_content/GEmojiSharp.Blazor/style.css net::ERR_ABORTED 404
GET https://localhost:5001/_content/GEmojiSharp.Blazor/script.js net::ERR_ABORTED 404

image

Size?

Is there a way to make emoji bigger ?

Crash in PowerToys

Hello, I met an issue recently. When I use Alt + Space to open the Run window, type something like emoji laugh, select one of emojis and press Enter or Ctrl + C, an error will be thrown like below.

The version of GEmojiSharp is 3.1.0, latest in release. The version of PowerToys is 0.74.0, also the latest.

Version: 0.74.0.0
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 2023/10/03 11:01:59
Exception:
System.Runtime.InteropServices.COMException (0x800401D0): OpenClipboard ๅคฑ่ดฅ (0x800401D0 (CLIPBRD_E_CANT_OPEN))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
   at System.Windows.Clipboard.Flush()
   at GEmojiSharp.PowerToysRun.Main.CopyToClipboard(String value)
   at GEmojiSharp.PowerToysRun.Main.<>c__DisplayClass16_3.<Query>b__6(ActionContext _)
   at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass30_0.<OpenResultsEvent>b__0()
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at PowerLauncher.ViewModel.MainViewModel.OpenResultsEvent(Object index, Boolean isMouseClick)
   at PowerLauncher.ViewModel.MainViewModel.<InitializeKeyCommands>b__31_10(Object index)
   at PowerLauncher.ViewModel.RelayCommand.Execute(Object parameter)
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Since other Run plugin works normal, I'm wondering that if I've done something wrong on this plugin or I've missed something. I couldn't find similar cases and solution in internet so I open an issue for help.

If I've done something wrong, please inform me! Thanks for your wonderful plugin!

Skin Tones not supported

It looks like the Emoji.Emojify method doesn't support skin tones.

Passing "smiley" wrapped in colons to this method returns the unicode character for a smiley as expected.

However, passing the string "smiley" wrapped in quotes with ":skin-tone-6:" appended to it returns ๐Ÿ˜ƒ:skin-tone-6: (i.e. Smiley unicode character + ":skin-tone-6")

Am I doing something wrong or are skin tones not supported in the current version?

N.B. Please forgive the weird syntax in this issue. When I try to write the strings as they are used, github is converting the colon syntax to emojis which makes it difficult to describe the issue. Hopefully, the above is clear.

GemojsSharp Version 2.0.0 missing some symbols

Hello:
I am using the repo to replace all the Emoji I don't want. The current version I am using is: Version 2.0.0
There are something missing.
I have the following:

  1. Unicode Character โ€œ๐Ÿ—ฃโ€ (U+1F5E3)
  2. Unicode Character โ€œโ—โ€ (U+2757)
    Please check!
    Thanks

some are missing in 1.4.0

I'm maybe mistaking or this list (https://github.com/hlaueriksson/github-emoji) is outdated but I was not able to find the following emojis that are in the list in version 1.4.0

  • :magic_wand:
  • :rock:
  • :roller_skate:

here is s small repro

var wand = Emoji.Raw(":magic_wand:"); // ๐Ÿช„
WriteLine($"wand: {wand}");
var roller = Emoji.Find(":roller_skate:").FirstOrDefault(); // ๐Ÿ›ผ
WriteLine($"roller: {roller?.Raw}");
var rock = Emoji.Find("rock").FirstOrDefault(); // ๐Ÿชจ
WriteLine($"rock: {rock?.Raw}");

var thisIsDefined = Emoji.Find("horse").FirstOrDefault();
WriteLine($"horse: {thisIsDefined?.Raw}");

Cheers

Fail to load plugin: GEmojiSharp

When starting PowerToys, I get the following message:

Power Toys Run - Plugin Loading Error

Fail to load plugin: GEmojiSharp
Please report the bug to https://aka.ms/powerToysReportBug. (For
third-party plugins, please contact the plugin author.)

image

Option to Auto-Send

I'd like the ability to Auto-Send the emoji when selecting the one you want. It would save me having to do a paste action. Maybe not everyone will want to have this on, so a toggle would be best. Flow Launcher's 'Emoji+' plugin has a similar feature (although it doesn't work any more, atm).

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.