@[email protected] to [email protected]English • edit-211 months agoThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]message-square141fedilinkarrow-up1620arrow-down122file-text
arrow-up1598arrow-down1message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]@[email protected] to [email protected]English • edit-211 months agomessage-square141fedilinkfile-text
minus-square@[email protected]OPlinkfedilinkEnglish2•1 year agoIt’s just a simple Flask server. I parse the user-agent using the user_agents Python library, apply some conditionals upon the result, render the image using Pillow and send it to the user.
Share source code? I’m curious
It’s just a simple Flask server. I parse the user-agent using the
user_agents
Python library, apply some conditionals upon the result, render the image using Pillow and send it to the user.