Refactoring to use frantic from paranoia.wf's format. Greentext is back
This commit is contained in:
6
archive/reactions/fetch-latest-format.sh
Executable file
6
archive/reactions/fetch-latest-format.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
base="https://raw.githubusercontent.com/milesj/emojibase/master/packages/data/en"
|
||||
for file in compact.raw.json data.raw.json; do
|
||||
echo "$file:"
|
||||
curl -sf "$base/$file" | jq '.[] | select(.hexcode == "2721")' || exit $?
|
||||
done
|
24
archive/reactions/generate.sh
Executable file
24
archive/reactions/generate.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
# Run fetch-latest-format.sh for the most up-to-date emojibase format. Target is raw.json
|
||||
reactions="$(yq . /dev/stdin < reactions.yaml)"
|
||||
jq -n --argjson reactions "$reactions" \
|
||||
'[
|
||||
$reactions[] | {
|
||||
annotation: .emoji,
|
||||
label: .emoji,
|
||||
emoticon: .emoji,
|
||||
hexcode: "2721",
|
||||
unicode: .emoji,
|
||||
shortcodes: (.tags? + [ .emoji ]),
|
||||
tags: (.tags? + [ .emoji ]),
|
||||
emoji: .emoji,
|
||||
text: .emoji,
|
||||
type: 0,
|
||||
order: 0,
|
||||
group: 8,
|
||||
subgroup: 93,
|
||||
version: 0.7
|
||||
}
|
||||
]'
|
||||
|
||||
|
33
archive/reactions/reactions.yaml
Normal file
33
archive/reactions/reactions.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
- emoji: based
|
||||
- emoji: cringe
|
||||
- emoji: yikes
|
||||
- emoji: cope
|
||||
- emoji: seethe
|
||||
- emoji: dilate
|
||||
- emoji: '>'
|
||||
- emoji: 't. jewish'
|
||||
- emoji: 't. tard'
|
||||
- emoji: '>implying'
|
||||
- emoji: '>she'
|
||||
- emoji: '>her'
|
||||
- emoji: 'tard moment'
|
||||
- emoji: 'woman moment'
|
||||
- emoji: Yes.
|
||||
- emoji: No.
|
||||
- emoji: (You)
|
||||
- emoji: lol
|
||||
- emoji: RAPE
|
||||
- emoji: F
|
||||
- emoji: vaggot
|
||||
- emoji: vaxnigger
|
||||
- emoji: Fag
|
||||
- emoji: simp
|
||||
- emoji: piss
|
||||
- emoji: jelq
|
||||
- emoji: coom
|
||||
- emoji: booba
|
||||
- emoji: sinner
|
||||
- emoji: repent
|
||||
- emoji: 卐
|
||||
tags:
|
||||
- swastika
|
Reference in New Issue
Block a user