lupinia / awi

Full Lupinia/Awi website, built with Django
https://www.lupinia.net/
2 stars 1 forks source link

Publish to Mastodon functionality #101

Open lupinia opened 1 year ago

lupinia commented 1 year ago

As a content creator, I want to be able to post to my Mastodon account directly from my own website. I need to look into the ActivityPub API/protocol more, because I suspect it can open a lot more opportunities than I'm currently imagining. But, for now, I want the following functionality:

lupinia commented 1 year ago

Making a note here, because I don't have a better place to put this thought at the moment: In theory, the work I did to implement OpenGraph tags in #61 should negate the need for embedding the images into a post as attachments, because that's kinda the whole point. However, unless Mastodon gets a whole lot better and a whole lot more reliable at showing the link previews, redundant image attachments will probably still be necessary. Which sucks, because unlike Twitter, Mastodon storage is at the direct expense of instance admins, and I don't really want to consume more of it than I have to (even if my own personal usage is an insignificant drop in the bucket relative to the size of my current primary instance, it's about the principle of the matter!). Additionally, as of this writing, Mastodon doesn't include the alt text for link preview images, even though the OpenGraph specs support this; a ticket tracking that is here: https://github.com/mastodon/mastodon/issues/18555

EDIT: Also, the link preview images on older toots just stop working after a while, apparently. Neat.