No description
Find a file
tg:@mars_hall 5339ec202f
Update README.md
add a high res gif
2025-03-09 21:04:06 +05:00
pkg initial commit 2025-03-08 20:51:35 +05:00
src initial commit 2025-03-08 20:51:35 +05:00
.editorconfig initial commit 2025-03-08 20:51:35 +05:00
.eslintignore initial commit 2025-03-08 20:51:35 +05:00
.eslintrc initial commit 2025-03-08 20:51:35 +05:00
.gitignore initial commit 2025-03-08 20:51:35 +05:00
.npmrc initial commit 2025-03-08 20:51:35 +05:00
Cargo.lock initial commit 2025-03-08 20:51:35 +05:00
Cargo.toml initial commit 2025-03-08 20:51:35 +05:00
emoji_data_english.json initial commit 2025-03-08 20:51:35 +05:00
emoji_data_russian.json initial commit 2025-03-08 20:51:35 +05:00
esbuild.config.mjs final fixes before the release 2025-03-09 20:20:25 +05:00
LICENSE initial commit 2025-03-08 20:51:35 +05:00
main.ts final fixes before the release 2025-03-09 20:20:25 +05:00
manifest.json update manifest 2025-03-09 17:48:55 +05:00
package-lock.json initial commit 2025-03-08 20:51:35 +05:00
package.json some tiny tweaks 2025-03-08 21:08:13 +05:00
README.md Update README.md 2025-03-09 21:04:06 +05:00
styles.css initial commit 2025-03-08 20:51:35 +05:00
tsconfig.json final fixes before the release 2025-03-09 20:20:25 +05:00
version-bump.mjs initial commit 2025-03-08 20:51:35 +05:00
versions.json initial commit 2025-03-08 20:51:35 +05:00

Obsidian Emoji Search Plugin

demo

This plugin provides a fast and intuitive way to insert emojis into your Obsidian notes. By typing a trigger character (":" by default) followed by a keyword, you get an instant suggestion list of matching emojis, complete with optional keyword hints. The plugin also includes a command to insert a random emoji, plus it tracks your most used emojis.

Features

  1. Telegram-Style Emoji Search

    • Type : followed by a keyword (e.g., :love) to see relevant emoji suggestions.
    • Keywords are based on Telegram translations in multiple languages (currently hardcoded).
  2. Multiple Language Support

    • Switch the default language for keywords (e.g., English, Russian).
    • Uses data inspired by Telegrams emoji translations.
  3. Fast Performance with Rust + WebAssembly

    • The core emoji search is implemented in Rust, compiled to WebAssembly for speed.
    • TypeScript provides type safety and works seamlessly with the Obsidian plugin API.
  4. Customizable Settings

    • Default Language: Choose which languages keywords to use.
    • Trigger Character: Change the character that initiates the emoji search (default is :).
    • Show Keywords in Suggestions: Toggle the display of each emojis keyword in the suggestion list.
    • Reset Emoji Popularity: Clears out the plugins usage statistics if you want to start fresh.
    • Your Most Used Emojis: Shows the top 10 of most used emojis with this plugin by you.

Usage

  1. Insert Emoji by Keyword

    • In any note, type : followed by a keyword (e.g., :smile).
    • A suggestion list of matching emojis appears.
    • Press Enter or click on the desired emoji to insert it.
  2. Insert Random Emoji

    • Open the Command Palette (default shortcut: Ctrl/Cmd + P).
    • Search for "Insert random emoji".
    • Run the command to insert a random emoji at your cursor position.
  3. Check Most Used Emojis

    • Go to the plugins settings page to see which emojis youve used the most.
    • Reset this data anytime using Reset Emoji Popularity.

How It Works

  • The plugin uses TypeScript to interface with Obsidians plugin API and manage settings, commands, and UI interactions.
  • A Rust + WebAssembly module powers the emoji search for improved performance, especially when searching through a large set of emoji data.

Acknowledgements

  • Built on Obsidians sample plugin structure.
  • Emoji keywords data is adapted from Telegrams translations:

Contributing

Contributions are welcome! Feel free to open an issue or a pull request if you have suggestions or would like to add more languages.

License

This project is distributed under the 0BSD License.


Enjoy faster and friendlier emoji insertion in your Obsidian notes with the Obsidian Emoji Search Plugin!