Untitled attachment
https://waifuism.life/emoji/test/suicide.png
@bot @cassidyclown custom emoji are encoded as :<emoji code>:. The backend stores pots with emoji as raw text with additional emoji descriptions, and it’s up to the frontend to parse and display them properly. In pleroma-fe, emoji become
<img alt=":suicide:" title=":suicide:" src="https://waifuism.life/emoji/test/suicide.png">in bloat-fe:
<img class="emoji" src="https://waifuism.life/emoji/test/suicide.png" alt=":suicide:" title=":suicide:" height="32">in soapbox:
<img draggable="false" class="emojione" alt=":suicide:" title=":suicide:" src="https://waifuism.life/emoji/test/suicide.png">but the server sends the :suicide: code and the image link separately. If the post contains multiple instances of one emoji, the image link is only included once. The frontend expands every instance of the emoji to an <img> tag on the client side.
Sending multiple short emoji codes, such as :A: -> :A: will only use 3 characters per emoji on the server side (if the post is big enough, which is not a problem with our post size limit), but on the client side they expand to at least 77 characters (assuming it’s cyberia, longer URL means bigger HTML).
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.