User's banner
Avatar

TriLinder

TriLinder@lemmy.ml
Joined
4 posts • 20 comments
Direct message

Oh, how did I not notice that before? Now should be fixed.

permalink
report
parent
reply

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.

permalink
report
parent
reply

If you wanted to target a specific user, you could always send a DM with the image

permalink
report
parent
reply

Looks like your home instance hexbear.net is filtering external images.

permalink
report
parent
reply

That’s weird. The extension should definitely work with the image, as that’s what I used when building this quick demo. Does the content of a site like this update?

permalink
report
parent
reply

Thought about adding the user’s location, but was worried PythonAnywhere could somehow cache the image between multiple people.

permalink
report
parent
reply