un outil web pour avoir une vue html de son archive d'exportation de compte Mastodon
Go to file
2020-07-20 12:39:47 +02:00
express_gen add express app generator files 2020-07-19 16:47:39 +02:00
output add gitkeep for folders 2020-07-20 12:39:47 +02:00
public/stylesheets 📖 some more doc 2020-07-20 12:39:01 +02:00
source_data add gitkeep for folders 2020-07-20 12:39:47 +02:00
views 📖 some more doc 2020-07-20 12:39:01 +02:00
.gitignore add express app generator files 2020-07-19 16:47:39 +02:00
conversion.js 📖 some more doc 2020-07-20 12:39:01 +02:00
main.js 📖 some more doc 2020-07-20 12:39:01 +02:00
package.json limit to some toots 2020-07-19 15:48:31 +02:00
README.md 📖 some more doc 2020-07-20 12:39:01 +02:00
yarn.lock limit to some toots 2020-07-19 15:48:31 +02:00

NodeJS Converter of Mastodon export to HTML files

install dependencies Run the main.js file

It will create a file showing your longest posts if you want.

initialize this project with its dependencies, copy paste the source_data of your linkes.json and outbox.json to get an HTML export on a node server.

git clone https://source.joinmastodon.org/tykayn/mastodon-archive-stats.git && cd mastodon-archive-stats
mkdir source_data
yarn
node main.js

copy paste the source_data of your linkes.json and outbox.json to the source_data folder

open your browser to http://localhost:8088/ and you will see the result in html.

What statistics does this provide

For the moment:

  • who you talked to the most, with counters. This uses the object.cc field of a toot.
  • link to search on duckduckgo for hashtags and usernames
  • what are your most used hashtags
  • you can filter:
    • only toots with medias
    • change the order of filter
    • min length of toot content
  • what toots are containing at least a certain number of characters. You can use this to retrieve some long posts you made, to post them on a worthy place where you would develop your subject deeper. Somewhere like on your personal website, thats an easy way to find your longests posts. But be careful, it could also show how much you talk with trolls :D

configuration

Change vars in the main.js file.

Format restriction

this viewer works with archives exported at the time of this writing, July 2020.

That is messy code with a bad UI and you should feel bad

it is, yes! Feel free to contribute with a merge request.

#Contact me Tykayn on mastodon, on my own instance: https://mastodon.cipherbliss.com/@tykayn

Other works about web and drawings: https://www.cipherbliss.com https://tykayn.fr