This post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED] TriLinder ( @TriLinder@lemmy.ml ) Privacy@lemmy.mlEnglish • edit-28 months ago message-square104fedilinkarrow-up1408
arrow-up1408message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED] TriLinder ( @TriLinder@lemmy.ml ) Privacy@lemmy.mlEnglish • edit-28 months ago message-square104fedilink
minus-square roon ( @roon@lemmy.ml ) linkfedilinkEnglish1•11 months agoShare source code? I’m curious
minus-square TriLinder ( @TriLinder@lemmy.ml ) 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.