A wee tool to count the current number of users in the fediverse
Find a file
2018-08-19 00:00:05 +01:00
doc Initial commit 2018-08-18 23:50:16 +01:00
src/mastodonusers Initial commit 2018-08-18 23:50:16 +01:00
test/mastodonusers Initial commit 2018-08-18 23:50:16 +01:00
.gitignore Initial commit 2018-08-18 23:50:16 +01:00
CHANGELOG.md Initial commit 2018-08-18 23:50:16 +01:00
LICENSE Initial commit 2018-08-18 23:50:16 +01:00
project.clj Upversioned to 0.1.0 2018-08-19 00:00:05 +01:00
README.md Upversioned to 0.1.0 2018-08-19 00:00:05 +01:00

mastodonusers

A Clojure app to report and log the current number of users in the fediverse.

This app depends on the API provided by instances.social; I have not investigatged the methodology by which they assemble their list of instances. In any case it's impossible to tell how many of those accounts represent real individual human users, and I don't currently do anything to establish how many of those accounts are active.

Please don't use this app to DDoS instances.social; it really shouldn't be necessary to run it more than once a day.

Configuring

You should obtain a key from instances.social and write it (just the file, nothing else) into resources/secret.txt.

Building

lein uberjar

Usage

To print the current number of users:

java -jar mastodonusers-[version]-standalone.jar

To log the current users in an EDN file:

java -jar mastodonusers-[version]-standalone.jar path-to-edn-file

License

Copyright © 2018 Simon Brooke

Distributed under the GNU General Public License either version 2.0 or (at your option) any later version.