As far as I know Lemmy stores only text locally and images and such will be linked to the external instance. Text doesn't use much disk space, so that shouldn't be a big a problem. Sometimes when you browse Lemmy, you notice posts that have broken links to images. It's because the other instance is down, but you can still see the text portion of the posts on your home instance.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I think it stores thumbnails in the pictrs directory by default.
The full firehose of the lemmyverse will grow your DB by about 2GB per day, plus an additional 8GB per day in thumbnails. And the rate is growing frantically. It's not necessarily trivial, depending on how much you subscribe to.
AFAIK the cached images are only of thumbnail size and get deleted after a few months
May be worth having a look at the ActivityPub protocol. It’s the way Lemmy instances (and other stuff!) communicate with one another. From there I think it will be clearer how a single Lenny instance could behave. https://activitypub.rocks
I have just setup an instance of Lemmy on my server. So if I federate to a community, all its posts will be stored on my server, also images and so on?
The terminology is that you federate with an instance and subscribe to a community.
And yes, if you sub a community, your instance will mirror posts and comments to your local DB and re-serve them to the public unauthenticated internet. On a single-user instance, anyone can browse the communities on your server and infer what your account subscribes to, including whatever porn, piracy, and other legally questionable shenanigans based on what gets replicated to your server.
Thank you. What about comments and posts that get updated/changed? Will my instance also reflect those changes?
Yeah, they get federated as a new edit message. Not sure whether they get stored in the db as edit entries, or if the DB actually just modifies the original... but edits federate.