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.
Julio Biason 90314f9482 Updated readme 3 years ago
src Removed references to Joplin 3 years ago
.gitignore Generic'fied the storage, so we can make the Joplin storage work 5 years ago
.rustfmt.toml Screw 100 column lines 3 years ago
AUTHORS License 5 years ago
COPYING License 5 years ago
Cargo.lock Log-derive 3 years ago
Cargo.toml Log-derive 3 years ago
README.md Updated readme 3 years ago

README.md

DOWNload FAVourites

downfav is a simple application to download your Mastodon favourites, either in Org or Markdown formats.

Running

At first, running downfav should display nothing. The reason is that there are no accounts or storage options for those accounts.

To create an account you need to run downfav <accountalias> create. This will start the registration process for that account.

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.

The Markdown Storage

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.

(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.)

The Org Storage

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.

(This storage is usually recommended if you normally favourite content with lots of text and not much of attachments.)

License

GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.