Sharkey Fediverse Instance

I am running Sharkey as my fediverse instance. Sharkey as a Misskey clone that has the advantage to support the Mastodon client API. This allows to use many clients that are developed for Mastodon.

Info

Please also have a look at section HowTo Enable a Mozhi Translation Service.

Install Sharkey

Note

For details on how to install Sharkey, please refer to Fresh Installation - With Docker of the Sharkey Documentation. The description is maintained by the Sharkey development team. Basically all I did is following those instructions.

Installing Sharkey is self-explaining if you follow the above mentioned instructions. So I omit all further instructions that would not improve the provided information of the development team.

Caddy Setup

Sharkey is providing the webpage at port 3000. To make the service publicly available Caddy needs to be configured with an additional entry in its Caddyfile. I assume you have created the domain sharkey.example.com that can be used for providing the Sharkey on the internet.

Note

For a detailed documentation pleaser refer to the Caddy website.

Now you need to add following lines in the file /etc/caddy/Caddyfile:

sharkey.example.com {
    reverse_proxy localhost:3000
}

With following commands Caddy will read the new configuration and you can check for the status:

cd /etc/caddy
sudo caddy reload
sudo service caddy status

Caddy will provide the Sharkey GUI as website with the address https://sharkey.example.com. An SSL certificate will be assigned and updated automatically.

HowTo Enable a Mozhi Translation Service

Sharkey can use a LibreTranslate server to translate posts. In my opinion, LibreTranslate delivers not that kind of quality as for example Mozhi. Unfortunately, Sharkey does not provide the option to use a Mozhi server for translation. I programmed a proxy that translates LibreTranslate API calls into Mozhi API calls. This proxy is available in my libre-to-mozhi git repository. There is also a docker image for amd64 targets available. How to setup the translation service is described in the HOWTO.