Skip to content
Back to search

GEmojiSharp

:octocat: GitHub Emoji for C#, dotnet and beyond

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/hlaueriksson--gemojisharp/badge.svg)](/listings/hlaueriksson--gemojisharp)

HTML

<a href="/listings/hlaueriksson--gemojisharp"><img src="/api/listings/hlaueriksson--gemojisharp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Install:

dotnet tool install -g GEmojiSharp.DotnetTool

Update:

dotnet tool update -g GEmojiSharp.DotnetTool

Uninstall:

dotnet tool uninstall -g GEmojiSharp.DotnetTool

Enable emoji in the terminal:

- Open Settings / Time & Language / Language / Administrative Language Settings / Change system locale... - Check "Beta: Use Unicode UTF-8 for worldwide language support" and click OK - Reboot the PC for the change to take effect

- [Set a process code page to UTF-8](https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page#set-a-process-code-page-to-utf-8)

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 758 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # GEmojiSharp :octocat:<!-- omit in toc -->
  2. [![Build status](https://github.com/hlaueriksson/GEmojiSharp/workflows/build/badge.svg)](https://github.com/hlaueriksson/GEmojiSharp/actions?query=workflow%3Abuild)
  3. [![CodeFactor](https://www.codefactor.io/repository/github/hlaueriksson/gemojisharp/badge)](https://www.codefactor.io/repository/github/hlaueriksson/gemojisharp)
  4. [![GEmojiSharp](https://img.shields.io/nuget/v/GEmojiSharp.svg?label=GEmojiSharp)](https://www.nuget.org/packages/GEmojiSharp)
  5. [![GEmojiSharp.AspNetCore](https://img.shields.io/nuget/v/GEmojiSharp.AspNetCore.svg?label=GEmojiSharp.AspNetCore)](https://www.nuget.org/packages/GEmojiSharp.AspNetCore)
  6. [![GEmojiSharp.Blazor](https://img.shields.io/nuget/v/GEmojiSharp.Blazor.svg?label=GEmojiSharp.Blazor)](https://www.nuget.org/packages/GEmojiSharp.Blazor)
  7. [![GEmojiSharp.DotnetTool](https://img.shields.io/nuget/v/GEmojiSharp.DotnetTool.svg?label=GEmojiSharp.DotnetTool)](https://www.nuget.org/packages/GEmojiSharp.DotnetTool)
  8. [![GEmojiSharp.McpServer](https://img.shields.io/nuget/v/GEmojiSharp.McpServer.svg?label=GEmojiSharp.McpServer)](https://www.nuget.org/packages/GEmojiSharp.McpServer)
  9. > GitHub Emoji for C# and .NET:
  10. >
  11. > - `netstandard2.0`
  12. > - ASP.NET Core
  13. > - Blazor
  14. > - `dotnet` tool
  15. > - PowerToys Run plugin
  16. > - PowerToys Command Palette extension
  17. > - MCP Server
  18. ```txt
  19. 🐙 :octopus:
  20. ➕ :heavy_plus_sign:
  21. 🐈 :cat2:
  22. ⩵
  23. ❤️ :heart:
  24. ```
  25. ## Content<!-- omit in toc -->
  26. - [Introduction](#introduction)
  27. - [`GEmojiSharp`](#gemojisharp)
  28. - [`GEmojiSharp.AspNetCore`](#gemojisharpaspnetcore)
  29. - [`GEmojiSharp.Blazor`](#gemojisharpblazor)
  30. - [`GEmojiSharp.DotnetTool`](#gemojisharpdotnettool)
  31. - [`GEmojiSharp.PowerToysRun`](#gemojisharppowertoysrun)
  32. - [`GEmojiSharp.McpServer`](#gemojisharpmcpserver)
  33. - [Samples](#samples)
  34. - [Attribution](#attribution)
  35. ## Introduction
  36. [Using emojis](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#using-emojis) on GitHub is accomplish with emoji aliases enclosed by colons:
  37. `:+1: This PR looks great - it's ready to merge! :shipit:`
  38. :+1: This PR looks great - it's ready to merge! :shipit:
  39. `GEmojiSharp` make this possible in C#. The library contains a static array of all valid emoji in GitHub Flavored Markdown.
  40. That is the intersection of the [emoji.json](https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json) database and the API with [available emojis](https://api.github.com/emojis).
  41. A visual referense of all GitHub Emoji:
  42. - https://github.com/hlaueriksson/github-emoji
  43. ## `GEmojiSharp`
  44. [![NuGet](https://img.shields.io/nuget/dt/GEmojiSharp)](https://www.nuget.org/packages/GEmojiSharp/)
  45. > GitHub Emoji for C# and .NET 📦
  46. Static methods:
  47. ```csharp
  48. Emoji.Get(":tada:").Raw; // 🎉
  49. Emoji.Get("🎉").Alias(); // :tada:
  50. Emoji.Raw(":tada:"); // 🎉
  51. Emoji.Alias("🎉"); // :tada:
  52. Emoji.Emojify(":tada: initial commit"); // 🎉 initial commit
  53. Emoji.Demojify("🎉 initial commit"); // :tada: initial commit
  54. Emoji.Find("party popper").First().Raw; // 🎉
  55. Emoji.Get("✌️").RawSkinToneVariants(); // ✌🏻, ✌🏼, ✌🏽, ✌🏾, ✌🏿
  56. ```
  57. Extension methods:
  58. ```csharp
  59. ":tada:".GetEmoji().Raw; // 🎉
  60. "🎉".GetEmoji().Alias(); // :tada:
  61. ":tada:".RawEmoji(); // 🎉
  62. "🎉".EmojiAlias(); // :tada:
  63. ":tada: initial commit".Emojify(); // 🎉 initial commit
  64. "🎉 initial commit".Demojify(); // :tada: initial commit
  65. "party popper".FindEmojis().First().Raw; // 🎉
  66. ```
  67. Regular expression pattern to match all emojis:
  68. ```csharp
  69. var text = "Lorem 😂😂 ipsum";
  70. var matches = Regex.Matches(text, Emoji.RegexPattern);
  71. string.Join(string.Empty, matches.Select(x => x.Value)); // 😂😂
  72. Regex.Replace(text, Emoji.RegexPattern, string.Empty); // Lorem ipsum
  73. ```
  74. ## `GEmojiSharp.AspNetCore`
  75. [![NuGet](https://img.shields.io/nuget/dt/GEmojiSharp.AspNetCore)](https://www.nuget.org/packages/GEmojiSharp.AspNetCore/)
  76. > GitHub Emoji for ASP.NET Core 📦
  77. The package includes:
  78. - TagHelpers
  79. - HtmlHelpers
  80. ### TagHelpers<!-- omit in toc -->
  81. Update the `_ViewImports.cshtml` file, to enable tag helpers in all Razor views:
  82. ```cshtml
  83. @addTagHelper *, GEmojiSharp.AspNetCore
  84. ```
  85. Use the `<emoji>` tag or `emoji` attribute to render emojis:
  86. ```html
  87. <span emoji=":tada:"></span>
  88. <emoji>:tada: initial commit</emoji>
  89. ```
  90. Standard emoji characters are rendered like this:
  91. ```html
  92. <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji>
  93. ```
  94. Custom GitHub emojis are rendered as images:
  95. ```html
  96. <img class="emoji" title=":octocat:" alt=":octocat:" src="https://github.githubassets.com/images/icons/emoji/octocat.png" height="20" width="20" align="absmiddle">
  97. ```
  98. Use CSS to properly position the custom GitHub emojis images:
  99. ```css
  100. .emoji {
  101. background-color: transparent;
  102. max-width: none;
  103. vertical-align: text-top;
  104. }
  105. ```
  106. Use the JavaScript from [`g-emoji-element`](https://github.com/github/g-emoji-element) to support old browsers.
  107. > Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.
  108. Add a [`libman.json`](https://docs.microsoft.com/en-us/aspnet/core/client-side/libman/libman-vs?view=aspnetcore-6.0) file:
  109. ```json
  110. {
  111. "version": "1.0",
  112. "defaultProvider": "cdnjs",
  113. "libraries": [
  114. {
  115. "provider": "unpkg",
  116. "library": "@github/g-emoji-element@1.2.0",
  117. "destination": "wwwroot/lib/g-emoji-element/"
  118. }
  119. ]
  120. }
  121. ```
  122. And add the script to the `_Layout.cshtml` file:
  123. ```html
  124. <script src="~/lib/g-emoji-element/dist/index.js"></script>
  125. ```
  126. Do you want to use emoji anywhere, on any tag, in the `body`? Then you can use the `BodyTagHelperComponent`.
  127. Use any tag to render emojis:
  128. ```html
  129. <h1>Hello, :earth_africa:</h1>
  130. ```
  131. [Registration](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/th-components?view=aspnetcore-6.0#registration-via-services-container) via services container:
  132. ```cs
  133. using GEmojiSharp.AspNetCore;
  134. using Microsoft.AspNetCore.Razor.TagHelpers;
  135. var builder = WebApplication.CreateBuilder(args);
  136. builder.Services.AddRazorPages();
  137. builder.Services.AddTransient<ITagHelperComponent, BodyTagHelperComponent>();
  138. ```
  139. [Registration](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/th-components?view=aspnetcore-6.0#registration-via-razor-file) via Razor file:
  140. ```cshtml
  141. @page
  142. @model GEmojiSharp.Sample.Web.Pages.ComponentModel
  143. @using Microsoft.AspNetCore.Mvc.Razor.TagHelpers
  144. @using GEmojiSharp.AspNetCore
  145. @inject ITagHelperComponentManager manager;
  146. @{
  147. ViewData["Title"] = "Component";
  148. manager.Components.Add(new BodyTagHelperComponent());
  149. }
  150. ```
  151. [Registration](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/th-components?view=aspnetcore-6.0#registration-via-page-model-or-controller) via Page Model or controller:
  152. ```cs
  153. using GEmojiSharp.AspNetCore;
  154. using Microsoft.AspNetCore.Mvc.Razor.TagHelpers;
  155. using Microsoft.AspNetCore.Mvc.RazorPages;
  156. namespace GEmojiSharp.Sample.Web.Pages
  157. {
  158. public class ComponentModel : PageModel
  159. {
  160. private readonly ITagHelperComponentManager _tagHelperComponentManager;
  161. public IndexModel(ITagHelperComponentManager tagHelperComponentManager)
  162. {
  163. _tagHelperComponentManager = tagHelperComponentManager;
  164. }
  165. public void OnGet()
  166. {
  167. _tagHelperComponentManager.Components.Add(new BodyTagHelperComponent());
  168. }
  169. }
  170. }
  171. ```
  172. ### HtmlHelpers<!-- omit in toc -->
  173. Update the `_ViewImports.cshtml` file, to enable HTML helpers in all Razor views:
  174. ```cshtml
  175. @using GEmojiSharp.AspNetCore
  176. ```
  177. Use the `Emoji` extension methods to render emojis:
  178. ```cshtml
  179. @Html.Emoji(":tada: initial commit")
  180. @Html.Emoji(x => x.Text)
  181. ```
  182. ## `GEmojiSharp.Blazor`
  183. [![NuGet](https://img.shields.io/nuget/dt/GEmojiSharp.Blazor)](https://www.nuget.org/packages/GEmojiSharp.Blazor/)
  184. > GitHub Emoji for Blazor 📦
  185. The package is a Razor class library (RCL) with a Razor component.
  186. Update the `_Imports.razor` file, to enable the component in all Razor views:
  187. ```cshtml
  188. @using GEmojiSharp.Blazor
  189. ```
  190. > [!NOTE]
  191. > In a Blazor Web App (.NET 8 or later), the component requires an interactive render mode applied either globally to the app or to the component definition.
  192. Set the global render mode in `App.razor`:
  193. ```cshtml
  194. <Routes @rendermode="InteractiveServer" />
  195. ```
  196. or per page/component:
  197. ```cshtml
  198. @rendermode InteractiveServer
  199. ```
  200. Use the `<Emoji>` component to render emojis:
  201. ```html
  202. <Emoji>:tada: initial commit</Emoji>
  203. ```
  204. Standard emoji characters are rendered like this:
  205. ```html
  206. <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji>
  207. ```
  208. Custom GitHub emojis are rendered as images:
  209. ```html
  210. <img class="emoji" title=":octocat:" alt=":octocat:" src="https://github.githubassets.com/images/icons/emoji/octocat.png" height="20" width="20" align="absmiddle">
  211. ```
  212. ## `GEmojiSharp.DotnetTool`
  213. [![NuGet](https://img.shields.io/nuget/dt/GEmojiSharp.DotnetTool)](https://www.nuget.org/packages/GEmojiSharp.DotnetTool/)
  214. > GitHub Emoji `dotnet` tool 🧰
  215. ![GEmojiSharp.DotnetTool](GEmojiSharp.DotnetTool.gif)
  216. ### Installation<!-- omit in toc -->
  217. Install:
  218. ```cmd
  219. dotnet tool install -g GEmojiSharp.DotnetTool
  220. ```
  221. Update:
  222. ```cmd
  223. dotnet tool update -g GEmojiSharp.DotnetTool
  224. ```
  225. Uninstall:
  226. ```cmd
  227. dotnet tool uninstall -g GEmojiSharp.DotnetTool
  228. ```
  229. Enable emoji in the terminal:
  230. - Open Settings / Time & Language / Language / Administrative Language Settings / Change system locale...
  231. - Check "Beta: Use Unicode UTF-8 for worldwide language support" and click OK
  232. - Reboot the PC for the change to take effect
  233. ![Beta: Use Unicode UTF-8 for worldwide language support](Unicode.png)
  234. - [Set a process code page to UTF-8](https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page#set-a-process-code-page-to-utf-8)
  235. ### Usage<!-- omit in toc -->
  236. ```cmd
  237. emoji --help
  238. ```
  239. ```cmd
  240. Description:
  241. GitHub Emoji dotnet tool
  242. Usage:
  243. emoji [command] [options]
  244. Options:
  245. --version Show version information
  246. -?, -h, --help Show help and usage information
  247. Commands:
  248. r, raw <args> Get raw emojis
  249. a, alias <args> Get emoji aliases
  250. e, emojify <args> Replace aliases in text with raw emojis
  251. d, demojify <args> Replace raw emojis in text with aliases
  252. export <args> Export emoji data to <json|toml|xml|yaml>
  253. ```
  254. #### Raw<!-- omit in toc -->
  255. ```cmd
  256. emoji raw --help
  257. ```
  258. ```cmd
  259. Description:
  260. Get raw emojis
  261. Usage:
  262. emoji raw [<args>...] [options]
  263. Arguments:
  264. <args> Find emojis via description, category, alias or tag
  265. Options:
  266. -st, --skin-tones Include skin tone variants
  267. -c, --copy Copy to clipboard
  268. -?, -h, --help Show help and usage information
  269. ```
  270. <details>
  271. <summary>Examples 💁</summary>
  272. Get raw emojis:
  273. ```cmd
  274. emoji raw "grinning cat"
  275. emoji raw grinning cat
  276. emoji r grinning cat
  277. ```
  278. ```cmd
  279. 😺
  280. 😸
  281. ```
  282. Copy to clipboard:
  283. ```cmd
  284. emoji raw "grinning cat" --copy
  285. emoji r grinning cat -c
  286. ```
  287. ```txt
  288. 😺😸
  289. ```
  290. Skin tone variants:
  291. ```cmd
  292. emoji raw "victory" --skin-tones
  293. emoji r victory -st
  294. ```
  295. ```txt
  296. ✌️
  297. ✌🏻
  298. ✌🏼
  299. ✌🏽
  300. ✌🏾
  301. ✌🏿
  302. ```
  303. </details>
  304. #### Alias<!-- omit in toc -->
  305. ```cmd
  306. emoji alias --help
  307. ```
  308. ```cmd
  309. Description:
  310. Get emoji aliases
  311. Usage:
  312. emoji alias [<args>...] [options]
  313. Arguments:
  314. <args> Find emojis via description, category, alias or tag
  315. Options:
  316. -c, --copy Copy to clipboard
  317. -?, -h, --help Show help and usage information
  318. ```
  319. <details>
  320. <summary>Examples 💁</summary>
  321. Get emoji aliases:
  322. ```cmd
  323. emoji alias "grinning cat"
  324. emoji alias grinning cat
  325. emoji a grinning cat
  326. ```
  327. ```cmd
  328. :smiley_cat:
  329. :smile_cat:
  330. ```
  331. Copy to clipboard:
  332. ```cmd
  333. emoji alias "grinning cat" --copy
  334. emoji a grinning cat -c
  335. ```
  336. ```txt
  337. :smiley_cat::smile_cat:
  338. ```
  339. </details>
  340. #### Emojify<!-- omit in toc -->
  341. ```cmd
  342. emoji emojify --help
  343. ```
  344. ```cmd
  345. Description:
  346. Replace aliases in text with raw emojis
  347. Usage:
  348. emoji emojify [<args>...] [options]
  349. Arguments:
  350. <args> A text with emoji aliases
  351. Options:
  352. -c, --copy Copy to clipboard
  353. -?, -h, --help Show help and usage information
  354. ```
  355. <details>
  356. <summary>Examples 💁</summary>
  357. Replace aliases in text with raw emojis:
  358. ```cmd
  359. emoji emojify ":tada: initial commit"
  360. emoji emojify :tada: initial commit
  361. emoji e :tada: initial commit
  362. ```
  363. ```cmd
  364. 🎉 initial commit
  365. ```
  366. Copy to clipboard:
  367. ```cmd
  368. emoji emojify ":tada: initial commit" --copy
  369. emoji e :tada: initial commit -c
  370. ```
  371. </details>
  372. #### Demojify<!-- omit in toc -->
  373. ```cmd
  374. emoji demojify --help
  375. ```
  376. ```cmd
  377. Description:
  378. Replace raw emojis in text with aliases
  379. Usage:
  380. emoji demojify [<args>...] [options]
  381. Arguments:
  382. <args> A text with raw emojis
  383. Options:
  384. -c, --copy Copy to clipboard
  385. -?, -h, --help Show help and usage information
  386. ```
  387. <details>
  388. <summary>Examples 💁</summary>
  389. Replace raw emojis in text with aliases:
  390. ```cmd
  391. emoji demojify "🎉 initial commit"
  392. emoji demojify 🎉 initial commit
  393. emoji d 🎉 initial commit
  394. ```
  395. ```cmd
  396. :tada: initial commit
  397. ```
  398. Copy to clipboard:
  399. ```cmd
  400. emoji demojify "🎉 initial commit" --copy
  401. emoji d 🎉 initial commit -c
  402. ```
  403. </details>
  404. #### Export<!-- omit in toc -->
  405. ```cmd
  406. emoji export --help
  407. ```
  408. ```cmd
  409. Description:
  410. Export emoji data to <json|toml|xml|yaml>
  411. Usage:
  412. emoji export [<args>...] [options]
  413. Arguments:
  414. <args> Find emojis via description, category, alias or tag
  415. Options:
  416. -f, --format <format> Format the data as <json|toml|xml|yaml>
  417. -c, --copy Copy to clipboard
  418. -?, -h, --help Show help and usage information
  419. ```
  420. Formats:
  421. - `json`
  422. - `toml`
  423. - `xml`
  424. - `yaml`
  425. <details>
  426. <summary>Examples 💁</summary>
  427. Export emoji data to `json`:
  428. ```cmd
  429. emoji export "grinning cat" --format json
  430. emoji export grinning cat --format json
  431. emoji export grinning cat -f json
  432. emoji export grinning cat
  433. ```
  434. ```json
  435. [
  436. {
  437. "Raw": "😺",
  438. "Description": "grinning cat",
  439. "Category": "Smileys & Emotion",
  440. "Aliases": [
  441. "smiley_cat"
  442. ],
  443. "Tags": null,
  444. "UnicodeVersion": "6.0",
  445. "IosVersion": "6.0",
  446. "Filename": "1f63a",
  447. "IsCustom": false
  448. },
  449. {
  450. "Raw": "😸",
  451. "Description": "grinning cat with smiling eyes",
  452. "Category": "Smileys & Emotion",
  453. "Aliases": [
  454. "smile_cat"
  455. ],
  456. "Tags": null,
  457. "UnicodeVersion": "6.0",
  458. "IosVersion": "6.0",
  459. "Filename": "1f638",
  460. "IsCustom": false
  461. }
  462. ]
  463. ```
  464. Copy to clipboard:
  465. ```cmd
  466. emoji export "grinning cat" --format json --copy
  467. emoji export "grinning cat" -c
  468. ```
  469. </details>
  470. ## `GEmojiSharp.PowerToysRun`
  471. [![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/hlaueriksson/GEmojiSharp/total)](https://github.com/hlaueriksson/GEmojiSharp/releases/latest)
  472. [![Mentioned in Awesome PowerToys Run Plugins](https://awesome.re/mentioned-badge.svg)](https://github.com/hlaueriksson/awesome-powertoys-run-plugins)
  473. > GitHub Emoji [PowerToys Run](https://docs.microsoft.com/en-us/windows/powertoys/run) plugin 🗂️🔎🔌
  474. ![GEmojiSharp.PowerToysRun](GEmojiSharp.PowerToysRun.gif)
  475. ### Installation<!-- omit in toc -->
  476. The plugin is developed and tested with `PowerToys` `v0.83.0`.
  477. Install:
  478. 0. [Install PowerToys](https://docs.microsoft.com/en-us/windows/powertoys/install)
  479. 1. Exit PowerToys
  480. 2. Download the `.zip` file from the latest [release](https://github.com/hlaueriksson/GEmojiSharp/releases/latest) and extract it to:
  481. - `%LocalAppData%\Microsoft\PowerToys\PowerToys Run\Plugins`
  482. 3. Start PowerToys
  483. ![GEmojiSharp.PowerToysRun](GEmojiSharp.PowerToysRun.png)
  484. ### Usage<!-- omit in toc -->
  485. 1. Open PowerToys Run with `alt + space`
  486. 2. Type `emoji`
  487. - A list of all emojis will be displayed
  488. 3. Continue to type to find emojis via description, category, alias or tag
  489. 4. Use ⬆️ and ⬇️ keys to select an emoji
  490. 5. Press `Enter` to copy the selected raw emoji to clipboard
  491. 6. Press `ctrl + c` to copy the selected emoji aliases to clipboard
  492. 7. Press `ctrl + Enter` to copy the selected raw emoji skin tone variants to clipboard
  493. - For emoji that supports skin tone modifiers
  494. Emojify:
  495. - You can paste a text containing emoji aliases to replace them with raw emojis
  496. Demojify:
  497. - You can paste a text containing raw emojis to replace them with aliases
  498. ### Configuration<!-- omit in toc -->
  499. Change action keyword:
  500. 1. Open PowerToys
  501. 2. Select PowerToys Run
  502. 3. Scroll down to Plugins
  503. 4. Expand `GEmojiSharp`
  504. 5. Change *Direct activation command*
  505. ![GEmojiSharp.PowerToysRun](GEmojiSharp.PowerToysRun-Configuration.png)
  506. ## `GEmojiSharp.McpServer`
  507. [![NuGet](https://img.shields.io/nuget/dt/GEmojiSharp.McpServer)](https://www.nuget.org/packages/GEmojiSharp.McpServer/)
  508. > GitHub Emoji MCP Server 🤖
  509. ### all<!-- omit in toc -->
  510. > Returns all emojis.
  511. ![GEmojiSharp.McpServer - all](GEmojiSharp.McpServer-all.png)
  512. ### get<!-- omit in toc -->
  513. > Gets the emoji associated with the alias or raw Unicode string.
  514. ![GEmojiSharp.McpServer - get](GEmojiSharp.McpServer-get.png)
  515. ### find<!-- omit in toc -->
  516. > Returns emojis that match the Description, Category, Aliases or Tags.
  517. ![GEmojiSharp.McpServer - find](GEmojiSharp.McpServer-find.png)
  518. ### emojify<!-- omit in toc -->
  519. > Replaces emoji aliases with raw Unicode strings.
  520. ![GEmojiSharp.McpServer - emojify](GEmojiSharp.McpServer-emojify.png)
  521. ### demojify<!-- omit in toc -->
  522. > Replaces raw Unicode strings with emoji aliases.
  523. ![GEmojiSharp.McpServer - demojify](GEmojiSharp.McpServer-demojify.png)
  524. ## Samples
  525. The [`samples`](/samples) folder contains...
  526. - `GEmojiSharp.Sample.BlazorWeb`, a Blazor Web App (InteractiveServer render mode)
  527. - `GEmojiSharp.Sample.BlazorWebAssembly`, a Blazor WebAssembly App
  528. - `GEmojiSharp.Sample.Web`, a ASP.NET Core Web App (Razor Pages)
  529. The Blazor WebAssembly app is showcased here:
  530. - https://hlaueriksson.github.io/GEmojiSharp/
  531. [![GEmojiSharp.Sample.BlazorWebAssembly](GEmojiSharp.Sample.BlazorWebAssembly.png)](https://hlaueriksson.github.io/GEmojiSharp/)
  532. ## Attribution
  533. Repositories consulted when building this:
  534. - https://github.com/github/gemoji
  535. - https://github.com/github/g-emoji-element
  536. - https://github.com/dotnet/command-line-api
  537. - https://github.com/microsoft/PowerToys

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.