A simple Mastodon client written in JavaFX.
Why? Because I can. And because the pretty powerful desktop client I am using has some things that annoy me — and as far as I can tell, there is no source code available for it.
To use it, you need to list your Mastodon servers in a file in your home directory, called .mastoFx.json
.
If you want to use a server with authentication (where you can also post new statuses),
you need to go to your Mastodon account and in the developer
section get an access token.
Below is an example of the file with two servers listed.
[
{
"name": "mastodon.social", (1)
"token": "HulaToken",
"description": "Home server"
},
{
"name": "ijug.social", (2)
"description": "Server without auth, only read local timelines from"
}
]
-
This server has a Token, so you can also post to it
-
This server has no Token. MastoFX will show the local timeline of it only
Then on the command line run mvn javafx:run