19
Imgur and Mastodon ? (sh.itjust.works)

This may be a redundant question. I have tried finding a resource but haven't had luck.

I am planning on setting up a mastodon server, just for me and close family, mostly because I want to see my domain name after the @ , but also because I'm really getting into self hosting again.

The big thing for Mastodon I fear is storage. I have a setup where I use Blackblaze to store content. And retrieve it publicly.

But is there a way to simply replace uploads to directly post to imgur or similar and display the image via a direct link from there ?

I know imgur can just shut down your account anytime, and your images would be lost.

But I have a feeling my family and friends won't be posting anything, let alone anything of importance

Thank you kindly for any assistance

top 2 comments
sorted by: hot top controversial new old
[-] adam@doomscroll.n8e.dev 3 points 11 months ago

Mastodon doesn't just use storage for local image uploads. It pulls, thumbnails and saves images from any incoming posts, including the thumbnails you might see on website links (pulled from the opengraph data most websites implement)

It's possible to set a pretty short timeout for that data though.

[-] blacknails@sh.itjust.works 1 points 11 months ago

Just to validate my thoughts. Could the server, fetch the remote image, duplicate it onto a hosting service, grab the link, and replace the "pulled" image's post with the hosted link ?

I guess it could if you knew how to program that. But I'm wondering what is wrong with the idea that I'm not thinking about.

this post was submitted on 13 Nov 2023
19 points (88.0% liked)

Selfhosted

39683 readers
540 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS