📖 todo in readme

This commit is contained in:
Baptiste Lemoine 2020-07-20 12:44:10 +02:00
parent 5698ad0a21
commit b4e99712b9
1 changed files with 7 additions and 4 deletions

View File

@ -7,21 +7,24 @@ 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. 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.
```bash ```bash
git clone https://source.joinmastodon.org/tykayn/mastodon-archive-stats.git && cd mastodon-archive-stats git clone https://source.joinmastodon.org/tykayn/mastodon-archive-stats.git && cd mastodon-archive-stats
mkdir source_data yarn && yarn start
yarn
node main.js
``` ```
copy paste the source_data of your linkes.json and outbox.json to the **source_data** folder copy paste the source_data of your linkes.json and outbox.json to the **source_data** folder
open your browser to open your browser to
http://localhost:8088/ http://localhost:8088/
and you will see the result in html. and you will see the result in html.
# TODO
* show avatar of users
* needs a fetch to instance
* keep pictures in cache
## What statistics does this provide ## What statistics does this provide
For the moment: For the moment:
* who you talked to the most, with counters. This uses the object.cc field of a toot. * 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 * link to search on duckduckgo for hashtags and usernames
* what are your most used hashtags * what are your most used hashtags
* options in main.js file
* enable saving of statistics in json
* you can filter: * you can filter:
* only toots with medias * only toots with medias
* change the order of filter * change the order of filter