update README and emojis

This commit is contained in:
kaiyuran 2024-11-20 18:01:51 -05:00
parent 36dcb98c18
commit d9edc071c6
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#Emojify Server
This is a simple server that takes a string as input and returns the string with emojis. The server is written in Python and uses Flask as the web framework and I am running this on Hackclub's nest server.
I have added a bunch of emojis manually but in the future I plan to use AI to predict the emojis based on the text.

45
app.py
View file

@ -208,6 +208,51 @@ def emojify(message):
"meat": "🍖", "meat": "🍖",
"bacon": "🥓", "bacon": "🥓",
"sad": "😢",
"angry": "😡",
"mad": "😡",
"fury": "😡",
"rage": "😡",
"disgust": "🤢",
"sick": "🤢",
"vomit": "🤢",
"gross": "🤢",
"nausea": "🤢",
"unhappy": "😞",
"depressed": "😞",
"miserable": "😞",
"gloomy": "😞",
"despair": "😞",
"spy": "🕵️",
"detective": "🕵️",
"sleuth": "🕵️",
"investigate": "🕵️",
"search": "🕵️",
"inspect": "🕵️",
"dance": "💃",
"dancer": "💃",
"ballerina": "💃",
"tango": "💃",
"dancing": "🕺",
"twin": "👯",
"sisters": "👯",
"twins": "👯",
"ballet": "🩰",
"pointeshoes": "🩰",
"balletshoes": "🩰",
"shoes": "👟",
"heels": "👠",
"finish": "🏁",
"sign": "🚩",
"leaf": "🍃",
"plant": "🌱",
"flower": "🌸",
"blossom": "🌸",
"rose": "🌹",
"tulip": "🌷",
"sunflower": "🌻",
"daisy": "🌼",
"hibiscus": "🌺",
} }
message = message.strip('"') message = message.strip('"')