Jump to content

GoToSocial: Difference between revisions

From Official NixOS Wiki
Klinger (talk | contribs)
Onny (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
[https://gotosocial.org/ GoToSocial] is an ActivityPub social network server.  
[https://gotosocial.org/ GoToSocial] is an ActivityPub social network server.  


It is documented in the [https://nixos.org/manual/nixos/stable/#module-services-gotosocial NixOS manual].
== Setup ==
Minimal configuration example.<syntaxhighlight lang="nix">
services.gotosocial = {
  enable = true;
  setupPostgresqlDB = true;
  settings = {
    application-name = "My GoToSocial";
    host = "gotosocial.example.com";
    protocol = "https";
    bind-address = "127.0.0.1";
    port = 8080;
  };
};
</syntaxhighlight>
 
== Usage ==
To create users, following utility and commands can be used.<syntaxhighlight lang="bash">
sudo gotosocial-admin account create --username <nickname> --email <email> --password <password>
sudo gotosocial-admin account confirm --username <nickname>
</syntaxhighlight>Promote a specific user to an administrator.<syntaxhighlight lang="bash">
sudo gotosocial-admin account promote --username <nickname>
</syntaxhighlight>
 
== See also ==
 
* Upstream documentation in the [https://nixos.org/manual/nixos/stable/#module-services-gotosocial NixOS manual].
* Blog post describing how to migrate from Mastodon to GoToSocial https://fedihost.co/blog/slug/migrating-to-gotosocial-from-mastodon


[[Category:ActivityPub]]
[[Category:ActivityPub]]

Latest revision as of 10:13, 3 August 2026

GoToSocial is an ActivityPub social network server.

Setup

Minimal configuration example.

services.gotosocial = {
  enable = true;
  setupPostgresqlDB = true;
  settings = {
    application-name = "My GoToSocial";
    host = "gotosocial.example.com";
    protocol = "https";
    bind-address = "127.0.0.1";
    port = 8080;
  };
};

Usage

To create users, following utility and commands can be used.

sudo gotosocial-admin account create --username <nickname> --email <email> --password <password>
sudo gotosocial-admin account confirm --username <nickname>

Promote a specific user to an administrator.

sudo gotosocial-admin account promote --username <nickname>

See also