Giter VIP home page Giter VIP logo

mastodon-archive-viewer's Introduction

Mastodon Archive Viewer

A python script to take a mastodon archive and convert it into a human-readable webpage for viewing. Currently available as a python script or a hacky html file with some inline JS.

Features:

  • organizes your old posts into a conveniently readable timeline
  • includes media attachments in posts
  • Preserves content warnings/summaries
  • Tries to use the header from the archive as the background
  • Tries to use the avatar from the archive as the avatar next to your old posts

Usage

With Python:

  • To make a webpage to view your archive, just place the html_from_archive.py script in the root of the archive (the folder that has outbox.json and media_attachments in it) and run it using python3
    • From the command line: python3 html_from_archive.py
    • You can also set it as executable and run it directly or, on Windows, right click and open it with python 3.
  • Open the resulting processed_archive.html file in your web browser.

Without Python:

  • Download the attached archive_page.html file and place it in the root of the archive (the folder that has outbox.json and media_attachments in it).
  • Next open archive_page.html in your web browser. It will attempt to load your archive automatically. If it fails you'll just need to browse for and open the outbox.json file from within the page and it will load it.

mastodon-archive-viewer's People

Contributors

dizzy-labs avatar rayquaza01 avatar

Stargazers

David Lapshin avatar Gabriel Nyman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.