@vaartis@a1ba@vertka >"import emoji from filesystem" button in the pleroma admin panel,
it broke existing emoji for me twice, so i avoid using it :vanShrug:
>You can also use `mix pleroma.emoji gen-pack PACK-URL` (or pleroma_ctl) to input data for it interactively
main reason why people think it's difficult. emoji creators just want to have a zip file with just emoji and optional manifest and admins want endpoint to upload said zip file and be done with it
@hj@a1ba@vertka you don't "need" to write it, you can put them in the emoji directory on the server and it will work like that, just without special metadata. If after that you press the "import emoji from filesystem" button in the pleroma admin panel, it will generate a pack for you. This will only create a pack if it didn't have a json before, so after that you gotta use the admin panel to add emojis or delete the json and press the button again.
You can also use `mix pleroma.emoji gen-pack PACK-URL` (or pleroma_ctl) to input data for it interactively. For that you need to upload a zip file with all the images somewhere (literally anywhere, just how it was coded, maybe i oughta fix that part) and put PACK-URL as that place you uploaded it to. It will then ask you a few questions, download the file, and make a pack for you.
Unfortunately the entire thing did not get almost any adoption and therefore not enough people saying that it's difficult to use or interested about doing anything about it. Lack of developer interest in that one as well (usual pleroma problem), it was mostly just me with various fixes from others.
There is also a manifest system for hosting emoji pack repositories and there is exactly 2 of those, so that's not exactly well known either.
@hj@a1ba@vertka > it broke existing emoji for me twice you should have at least told me or someone about this. i guess it doesn't really matter either way. i don't think anyone else besides me would work on anything related to that feature since it barely got any adoption
> main reason why people think it's difficult. emoji creators just want to have a zip file with just emoji and optional manifest and admins want endpoint to upload said zip file and be done with it
The only thing missing right now from this is to make this a thing in the emoji admin panel instead of only CLI. Actually, that CLI task can be made better as well. And it's literally only me who both cares about this and has any ability to do anything about it. I ought to get to it some time but when that time is I can't say. Sorry
@hj@a1ba@vertka i see. maybe something changed since then, maybe not. it should not break things like that if the shortcode doesn't change. it shouldn't, ordinarily. oh well.