pianotell / flarum-ext-flamoji
Simple emoji manager for Flarum. Fork of the-turk/flarum-flamoji, originally created for PianoTell, but now available to all.
Package info
github.com/PrimateCoder/flarum-flamoji
Language:JavaScript
Type:flarum-extension
pkg:composer/pianotell/flarum-ext-flamoji
Requires
- php: ^8.3
- flarum/core: ^2.0.0-beta
Requires (Dev)
- flarum/testing: ^2.0.0-beta
Suggests
- flarum/emoji: Recommended companion. Parses standard emoji shortcodes (e.g. :smile:) typed in posts and renders unicode emoji as Twemoji for visual consistency. When this extension is enabled, Flamoji's picker matches it by serving Twemoji sprites; when disabled (and `picker_set` is on `auto`), the picker switches to native OS rendering so the picker preview matches the post output.
Conflicts
Replaces
README
This is a simple but intuitive emoji picker for Flarum 1.x and 2.x.
About this fork: This is a fork of
the-turk/flarum-flamoji(originally by Hasan Özbey). This fork is published aspianotell/flarum-ext-flamojiand was originally created for 🎹 Piano | Tell, but now available to all. It has substantial changes from the original including replacing emoji-button with emoji-mart. All credit for the original extension belongs to the original author.
Screenshot:
Features
- Built on emoji-mart (Missive, MIT). Originally based on joeattardi/emoji-button — migrated in this fork after the upstream picker was archived.
- Add an emoji picker to the text editor (compatible with dark mode).
- Picker style is configurable — choose Twemoji glyphs (sourced from a jsDelivr-hosted spritesheet) or your operating system's native emoji font, or leave the picker on
Autoto mirror what posts actually display (Twemoji whenflarum/emojiis enabled, native otherwise). - Add custom emojis to the picker.
- Import and export custom emoji configurations.
- Picker code and emoji data load lazily on first open (no impact on initial page load); when Twemoji is selected, the image spritesheet is fetched from jsDelivr on first picker render. Native mode adds zero image bytes.
Installation
composer require pianotell/flarum-ext-flamoji php flarum extension:enable pianotell-flamoji
Updating
composer update pianotell/flarum-ext-flamoji php flarum migrate php flarum assets:publish php flarum cache:clear
