Skip to main content

GoToSocial Setup Guide

GoToSocial is an ActivityPub social network server, hosted on the Web Application VM.

Installation (Binary)

  1. Download

    curl -L https://github.com/superseriousbusiness/gotosocial/releases/latest/download/gotosocial-linux-amd64 -o gotosocial
    chmod +x gotosocial
  2. Directories

    • Binary: /opt/gotosocial/gotosocial
    • Data: /opt/gotosocial/storage
    • Config: /opt/gotosocial/config.yaml
  3. Systemd Service Service file located at /etc/systemd/system/gotosocial.service.

    sudo systemctl enable gotosocial
    sudo systemctl start gotosocial

Configuration (config.yaml)

Key settings include:

  • Host: <PUBLIC_DOMAIN>
  • Bind Address: 127.0.0.1 (or internal IP)
  • Port: 8080 (or similar, proxied by Caddy)
  • Storage Path: /opt/gotosocial/storage

Administration

Create Admin Account

./gotosocial --config-path ./config.yaml admin account create --username <username> --email <email> --password <password> --admin