Yet another powerful customizable ActivityPub relay server written in Go.
Find a file
2021-10-17 23:22:09 +09:00
.github Add release build step. 2021-09-17 10:24:36 +09:00
api Update middlewares. 2021-09-16 23:30:56 +09:00
control Use logrus. 2021-09-14 21:22:38 +09:00
deliver Fix log style. 2021-09-18 18:57:38 +09:00
docs Version 0.0.1 2018-11-07 02:31:24 +09:00
misc Support AMQP Protocol. 2021-10-17 22:41:53 +09:00
models Support AMQP Protocol. 2021-10-17 22:41:53 +09:00
.gitignore Go version update and fix tests. () 2021-06-17 00:39:35 +09:00
config.yml.example Fix config.yaml to config.yml. Improve docker-compose.yml. 2021-06-21 09:58:13 +09:00
docker-compose.yml Update compose. 2021-10-17 23:22:09 +09:00
Dockerfile Fix Dockerfile 2021-06-19 11:08:19 +09:00
go.mod Update middlewares. 2021-09-16 23:30:56 +09:00
go.sum Update middlewares. 2021-09-16 23:30:56 +09:00
LICENCE Version 0.0.1 2018-11-07 02:31:24 +09:00
main.go Support AMQP Protocol. 2021-10-17 22:41:53 +09:00
readme.md Support AMQP Protocol. 2021-10-17 22:41:53 +09:00

Activity Relay Server

Yet another powerful customizable ActivityPub relay server written in Go.

GitHub Actions codecov FOSSA Status

Powered by Ayame

Packages

  • github.com/yukimochi/Activity-Relay
  • github.com/yukimochi/Activity-Relay/api
  • github.com/yukimochi/Activity-Relay/deliver
  • github.com/yukimochi/Activity-Relay/control
  • github.com/yukimochi/Activity-Relay/models

Requirements

Run

API Server

relay --config /path/to/config.yml server

Job Worker

relay --config /path/to/config.yml worker

CLI Management Utility

relay --config /path/to/config.yml control

Config

YAML Format

ACTOR_PEM: /var/lib/relay/actor.pem
# BROKER_URL: amqp://guest:guest@rabbitmq:5672 # IF EMPTY, USE REDIS_URL
REDIS_URL: redis://redis:6379

RELAY_BIND: 0.0.0.0:8080
RELAY_DOMAIN: relay.toot.yukimochi.jp
RELAY_SERVICENAME: YUKIMOCHI Toot Relay Service
JOB_CONCURRENCY: 50
# RELAY_SUMMARY: |

# RELAY_ICON: https://
# RELAY_IMAGE: https://

Environment Variable

This is Optional : When config.yml not exists, use environment variable.

  • ACTOR_PEM
  • BROKER_URL
  • REDIS_URL
  • RELAY_BIND
  • RELAY_DOMAIN
  • RELAY_SERVICENAME
  • JOB_CONCURRENCY
  • RELAY_SUMMARY
  • RELAY_ICON
  • RELAY_IMAGE

Document

See GitHub wiki to build / install / manage relay.

License

FOSSA Status

Project Sponsors

Thank you for your support.

Monthly Donation

My Donator List

Donation Platform