Download Mastodon favourites. In Rust.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.5 KiB

5 years ago
# DOWNload FAVourites
3 years ago
`downfav` is a simple application to download your Mastodon favourites, either
in Org or Markdown formats.
5 years ago
## Running
3 years ago
At first, running `downfav` should display nothing. The reason is that there
are no accounts or storage options for those accounts.
5 years ago
3 years ago
To create an account you need to run `downfav <accountalias> create`. This will
start the registration process for that account.
5 years ago
3 years ago
Next, you need to define where you want your favourites to be saved. To do
this, use `downfav <accountalias> storage add <storagetype>`. Currently, there
are two storage types: `markdown` and `org`.
5 years ago
3 years ago
### The Markdown Storage
5 years ago
3 years ago
The Markdown storage uses a directory structure based on the account name and
toot id. This means that, if you favourited a toot by "someuser@server"
identified by "123123", a tree like `<base storage
directory>/someuser@server/123123` will be created and the content will be
saved there.
5 years ago
3 years ago
(This storage is usually recommended if you normally favourite content with
lots of attachments, as each toot attachment -- image/video -- will be stored
alongside the toot text.)
5 years ago
3 years ago
### The Org Storage
5 years ago
3 years ago
The Org storage is similar to the Markdown storage, but instead of creating a
new file for each toot, every favourite will be added to a `<base storage
directory>/<date>.org` file; any attachments will be stored (and properly
linked) in `<base storage directory>/date/` directory.
5 years ago
3 years ago
(This storage is usually recommended if you normally favourite content with
lots of text and not much of attachments.)
5 years ago
## License
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.