mastotool/README.md

100 lines
4.5 KiB
Markdown
Raw Normal View History

2018-11-22 04:35:51 +01:00
statootstics
============
2018-11-22 04:23:24 +01:00
Mastodon Statistics Generator
2018-11-22 04:35:51 +01:00
## Installation
2018-11-22 04:41:24 +01:00
Make sure you have a working Go environment (Go 1.8 or higher is required).
2018-11-22 04:35:51 +01:00
See the [install instructions](http://golang.org/doc/install.html).
To install statootstics, simply run:
go get github.com/muesli/statootstics
## Usage
```
$ statootstics -help
Usage of ./statootstics:
-columns int
displays tables with N columns (default 80)
-config string
uses the specified config file (default "mastodon.json")
-recent int
only account for the N most recent toots (excl replies & boosts)
-top int
shows the top N items in each category (default 10)
2018-11-22 04:42:35 +01:00
```
## Example
2018-11-22 04:35:51 +01:00
2018-11-22 04:42:35 +01:00
```
2018-11-22 04:35:51 +01:00
$ statootstics
Which instance to connect to: https://mastodon.social
Username (email): some_user@domain.tld
Password: ********
2018-11-22 04:35:51 +01:00
Loading toots for some_user 100 of 100 [#>---------------------------] 100.00%
Total toots: 100 (excluding replies & boosts)
Toots per day: 1.00 (account created 100 days ago)
Ratio toots/replies: 0.33
New followers per day: 7.41
New followings per day: 3.67
Likes per toot: 9.00 (total likes: 900)
Boosts per toot: 2.50 (total boosts: 250)
Replies per toot: 3.40 (total replies: 340)
2018-11-22 04:35:51 +01:00
Users you mentioned most Interactions
----------------------------------------------------------------------------------
abc 9
def 3
2018-11-22 04:35:51 +01:00
Users you boosted most Interactions
----------------------------------------------------------------------------------
xyz 7
zyx 2
2018-11-22 04:35:51 +01:00
Users that responded most Interactions
----------------------------------------------------------------------------------
def 11
fed 9
2018-11-22 04:35:51 +01:00
Most replied-to toots Replies
----------------------------------------------------------------------------------
Some toot 20
Another toot 7
2018-11-22 04:35:51 +01:00
Most liked toots Likes
----------------------------------------------------------------------------------
Some toot 50
Another toot 8
2018-11-22 04:35:51 +01:00
Most boosted toots Boosts
----------------------------------------------------------------------------------
Some toot 10
Another toot 4
2018-11-22 04:35:51 +01:00
Highest scoring toots Score
----------------------------------------------------------------------------------
Some toot 80
Another toot 20
2018-11-22 04:35:51 +01:00
Tags used that got the most likes Likes
----------------------------------------------------------------------------------
Some tag 10
Another tag 4
2018-11-22 04:35:51 +01:00
Tags used that got the most boosts Boosts
----------------------------------------------------------------------------------
Some tag 5
Another tag 1
2018-11-22 04:35:51 +01:00
```
## Development
2018-11-22 04:36:20 +01:00
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/github.com/muesli/statootstics)
2018-11-22 04:35:51 +01:00
[![Build Status](https://travis-ci.org/muesli/statootstics.svg?branch=master)](https://travis-ci.org/muesli/statootstics)
[![Go ReportCard](http://goreportcard.com/badge/muesli/statootstics)](http://goreportcard.com/report/muesli/statootstics)