Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
pleroma
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 153
    • Issues 153
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 22
    • Merge Requests 22
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Pleroma
  • pleroma
  • Wiki
  • How to add custom emoji

How to add custom emoji

Last edited by Haelwenn Aug 20, 2018
Page history

To add custom emoji:

  • Add the image file(s) to priv/static/emoji/custom
  • In case of conflicts: add the desired shortcode with the path to config/custom_emoji.txt, comma-separated and one per line
  • Force recompilation (mix clean && mix compile)

Example:

image files (in /priv/static/emoji/custom): happy.png and sad.png

content of config/custom_emoji.txt:

happy, /emoji/custom/happy.png
sad, /emoji/custom/sad.png

The files should be PNG (APNG is okay with .png for image/png Content-type) and under 50kb for compatibility with mastodon.

Clone repository
  • Admin tasks
  • Backup your instance
  • Easy Onion Federation (Tor)
  • General tips for customizing Pleroma FE
  • Hacking Pleroma: Elixir, Phoenix and a bit of ActivityPub
  • Hardening your instance
  • How to activate mediaproxy
  • How to activate user recommendation (Who to follow panel)
  • How to add custom emoji
  • How to change the port or IP Pleroma listens to
  • How to configure upstream proxy for federation
  • How to contribute
  • I2P Federation
  • Installing on Alpine Linux
  • Installing on Arch Linux
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.