Relays: Difference between revisions

From Join the Fediverse
Line 78: Line 78:
== How to install your own Fediverse relay for beginners ==
== How to install your own Fediverse relay for beginners ==


Soon as I get a relay running myself I'll write a guide for absolute beginners here.<br>
I'm going to write a guide on how to install Activity-Relay for beginners, but first I have to manage to install it myself.<br>
Until then here are just a few links:
Here is how far I've come


https://github.com/yukimochi/Activity-Relay/wiki/01.-Install
==== Create a server ====
 
To be written
 
==== Log in to your server ====
 
To be written
 
==== Install dependencies ====
 
Dependencies are apps you need to install before you can install the app you want.
 
1. sudo apt install vim
* confirm with yes when asked
2. sudo apt install git
* confirm with yes when asked
3. sudo apt install docker
* confirm with yes when asked
4. sudo apt install docker-compose
* confirm with yes when asked
 
==== Install the relay with docker ====
 
Now you need to copy the app to your server
 
1. git clone https://github.com/yukimochi/Activity-Relay.git -b v1.0.0
2. vim config.yml
* make the file look like [https://github.com/yukimochi/Activity-Relay#yaml-format this].
* openssl genrsa | tee actor.pem
* chmod 600 actor.pem
 
====

Revision as of 15:23, 13 July 2022

This article is a draft!
A lot of info might still be missing and the page might change at any time.


A relay is a piece of software that increases federation between instances that subscribe to that relay.
It is a great way for smaller instances to populate their federated timeline.

How to subscribe to a relay

Only instance admins can subscribe to a relay. In Mastodon you can do that by going to Settings > Administration > Relays. There you can enter the url of the relay - add "/inbox" at the end of it.
Then you just have to wait for your instance to be accepted by the relay owners.

List of ready to use Fediverse relays

Comparison of Fediverse relay software

relay name source works with
diaspora* Mastodon Misskey Pleroma
Activity relay https://github.com/yukimochi/Activity-Relay ✖️ ✔️ ✔️ ✔️
ActivityRelay https://git.pleroma.social/pleroma/relay ✖️ ✔️ ✔️ ✔️
Pub relay https://source.joinmastodon.org/mastodon/pub-relay ✖️ ✔️ ✔️ ✔️
Seattle relay https://gitlab.com/jankysolutions/social.seattle.wa.us/relay ✖️ ✔️ ✔️ ✔️
Social relay https://github.com/jaywink/social-relay ✔️ ✖️ ✖️ ✖️

How to install your own Fediverse relay for beginners

I'm going to write a guide on how to install Activity-Relay for beginners, but first I have to manage to install it myself.
Here is how far I've come

Create a server

To be written

Log in to your server

To be written

Install dependencies

Dependencies are apps you need to install before you can install the app you want.

1. sudo apt install vim

  • confirm with yes when asked

2. sudo apt install git

  • confirm with yes when asked

3. sudo apt install docker

  • confirm with yes when asked

4. sudo apt install docker-compose

  • confirm with yes when asked

Install the relay with docker

Now you need to copy the app to your server

1. git clone https://github.com/yukimochi/Activity-Relay.git -b v1.0.0 2. vim config.yml

  • make the file look like this.
  • openssl genrsa | tee actor.pem
  • chmod 600 actor.pem

==