I would also really like to see this. It would be nice for Fedora to use an all-open source emoji set.
I’m not sure what you mean by the unicode emoji list — since it’s a standard, all of the code-points are the same. And you’ve got a mapping of the names discourse uses to those. So, as a first pass… something like this?
#!/bin/bash
TARGETDIR="./discourse/public/images/emoji/openmoji"
[[ ! -f openmoji-72x72-color.zip ]] && curl -L -O https://github.com/hfg-gmuend/openmoji/releases/latest/download/openmoji-72x72-color.zip
unzip -u -d openmoji-color openmoji-72x72-color.zip
mkdir -p $TARGETDIR
curl -s https://raw.githubusercontent.com/discourse/discourse/main/lib/emoji/db.json |
jq -r '.emojis[] | "\(.code) \(.name)"' |
while read -r codepoint name; do
cp openmoji-color/${codepoint^^}.png ${TARGETDIR}/${name}.png 2>/dev/null || echo "Missing ${name}"
done