tangyuan/meme-tangyuan

Meme sticker picker for Flarum - insert memes directly into posts with per-user favorites and custom names.

Maintainers

Package info

github.com/Little100/meme-tangyuan

Homepage

Issues

Language:TypeScript

Type:flarum-extension

pkg:composer/tangyuan/meme-tangyuan

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.0 2026-04-26 15:35 UTC

This package is auto-updated.

Last update: 2026-04-26 15:40:25 UTC


README

Latest Stable Version Total Downloads License

A Flarum extension that adds a meme/sticker picker to the post composer. Ships with a curated library of 280+ expressive stickers, and supports per-user favorites and custom names.

Features

  • Meme picker button in the post composer toolbar
  • Search by filename / custom name
  • Per-user favorites (right-click an item to favorite)
  • Per-user custom display names (right-click → Set Custom Name)
  • Images served through a cached static path for fast delivery
  • Ships with 280+ webp stickers out of the box
  • BBCode [tangyuan-meme src="..."][/tangyuan-meme] rendered as an inline image in posts

Installation

composer require tangyuan/meme-tangyuan:"*"

Then enable the Meme Tangyuan extension in your Flarum admin panel.

Updating

composer update tangyuan/meme-tangyuan
php flarum cache:clear
php flarum migrate

Adding your own memes

Place additional .png, .jpg, .jpeg, .gif, or .webp files into the extension's meme/ directory:

vendor/tangyuan/meme-tangyuan/meme/

Then clear the Flarum cache:

php flarum cache:clear

Files are copied into public/assets/meme-cache/ on first request.

Usage

  1. Start writing a post.
  2. Click the sticker icon in the composer toolbar.
  3. Click a meme to insert it into your post.
  4. Right-click a meme to favorite it or set a custom display name (max 15 chars).
  5. Switch to the Favorites tab to see only your starred memes.

Development

# JS build
cd js
npm install
npm run build     # production build
npm run dev       # watch mode

License

MIT

Links