| Post Reply | RetroFed Forum Forum Index » Request creation of free software missing from the 🄯ommons 🗽🐧🐃 |
| Author | Message | ||
|---|---|---|---|
|
nonserf
libretechni.ca
nonserf@libretechni.ca Joined: 2025-09-09 |
Update: this announcement over the loss of endlesstalk.org reinforces the need for a backup tool. A good fedi server should not be fragile and dependent on the admin maintaining backups. Update 2: This post gives some of the API calls that would be useful: |
||
| 2 Original | |||
|
PlzGibHugs
piefed.ca
PlzGibHugs@piefed.ca Joined: 2026-04-08 |
I'm probably not going to undertake this, but I'm considering it. Do you just mean download all your submitted posts, and attached images? If so, it seems very simple. |
||
| 2 | |||
|
nonserf
Moderator
nonserf@libretechni.ca Joined: 2025-09-09 |
I'm probably not going to undertake this, but I'm considering it. Do you just mean download all your submitted posts, and attached images? If so, it seems very simple.
The mastodon-archive man page gives an idea of what it does: man pageusage: mastodon-archive.py [-h] [--quiet] Archive your toots, favourites and bookmarks, and work with them. positional arguments: options: Once you have created archives in the current directory, you can use 'all' Something that merely performs the backup function would be a great start, and the most useful function. But from there it could get quite complex with useful features. Mastodon-archive goes as far as to fetch content by others when it is a direct reply to something the user said. But I would favor going further and grab the whole thread of any thread the user spoke in. Some non-essential but useful features in a Lemmy variant might be:
In any case, a simple one-off backup would not need a huge effort. I suspect it would start with this API call: https://lemmy.readme.io/reference/get_user The natural next advancement would be to run the same job multiple times and expect it to not re-fetch already fetched content. For some reason that’s a little messy on Mastodon.. not sure about Lemmy. On mastdodon, Kensanada’s code decides that after seeing an already archived msg 5 times that it need not crawl deeper. Feels a bit ad hoc / non-deterministic. |
||
| 1 | |||
| Post Reply |
Back to top |