@[email protected] to [email protected]English • edit-28 months agoThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]message-square132fedilinkarrow-up1599arrow-down123file-text
arrow-up1576arrow-down1message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]@[email protected] to [email protected]English • edit-28 months agomessage-square132fedilinkfile-text
minus-square@[email protected]OPlinkfedilinkEnglish2•11 months 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.