@[email protected] to [email protected]English • edit-21 year agoThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]message-square131fedilinkarrow-up1589arrow-down122file-text
arrow-up1567arrow-down1message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]@[email protected] to [email protected]English • edit-21 year agomessage-square131fedilinkfile-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.