package mastodon-archive-viewer

Build not checked
  1. Overview
  2. Docs
View your Mastodon archive offline

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=e411c36958e0645bf9b51cb59de4f26e3c9f57d3d0cc1c2b7faae2c02615f837
md5=441249ff5f2e5849795570b3c886fe61

Description

Tags

mastodon ActivityPub

Added to opam-repository:

README

How to install mastodon-archive-viewer

First you need an initialized OPAM installed If you don't have it installed, it can be fetched from your system packages manager. Then to initialize it, do opam init -a, then eval $(opam config env)

Now, to install mastodon-archive-viewer, do opam pin add mastodon-archive-viewer .

How to use mastodon-archive-viewer

Now that mastodon-archive-viewer is installed you just need to download the archive you want to view, extract it in a new directory, then do:

$ cd <the archive directory>
$ mastodon-archive-viewer outbox.json

The mastodon-archive-viewer tool has also some options to filter out some items for example. Check out the available options with mastodon-archive-viewer --help

Hidden feature

mastodon-archive-viewer can detect gifs vs. videos and thus display them differently. However this feature for now requires the devel version of the ffmpeg OCaml bindings. If you want this feature you'll have to install the dev version manually using:

$ opam pin add ffmpeg git://github.com/kit-ty-kate/ocaml-ffmpeg.git

Troubleshootings

If the installation fails somewhere while building the dependencies, you might miss one of these tools on your systems: make, gcc, m4, libc-dev. This might happen on a newly installed Alpine Linux, for instance.

TODO

  • Testing (I guess I missed some heuristics, help welcome!!)
  • Documentation
  • Clean code and better errors

Dependencies (7)

  1. cmdliner < "2.0.0"
  2. tyxml
  3. ptime
  4. ezjsonm >= "0.4.0"
  5. containers
  6. jbuilder >= "1.0+beta7"
  7. ocaml >= "4.02.3"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building mastodon-archive-viewer with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure