Crates.io | fediback |
lib.rs | fediback |
version | 0.2.0 |
source | src |
created_at | 2022-12-05 06:27:55.742869 |
updated_at | 2022-12-05 19:35:52.376703 |
description | A mastodon account backup program |
homepage | |
repository | https://github.com/Canop/fediback |
max_upload_size | |
id | 730039 |
size | 409,524 |
A Mastodon instance can go down, and can die. This happens.
That's why users should always have essential information backuped on their own computer, most essentially their list of following and of followers.
With those lists, they can start a new account if necessary, even if their old one is unreachable, and follow again the same users, and notify people who were following them of their new account.
You must have the Rust environnement installed: https://rustup.rs
Run
cargo install fediback
Executables for Windows and Linux are included in the releases published on GitHub.
You first tell Fediback what account(s) you want to save, with fediback add <user>
where user can be a user url or @user@instance
:
You can add who you want: only public data is fetched.
To backup all selected accounts, run fediback update
:
Accounts are fetched in parallel.
This operation can be done manually but there's no harm in having a cron rule if you can.
For each account 4 JSON files are saved on disk:
user.json
with the core account datafollowers.json
with a list of usersfollowing.json
with a list of users toofeatured.json
with a list of "pinned" messagesMIT - Enjoy