GoToSocial on

more hosting options


GoToSocial on

more hosting options

GoToSocial running on

There's been a recent trend of people turning from Twitter to the Fediverse, mostly mastodon, but since it's an open ecosystem centered around the ActivityPub protocol, there are other options, like plemora.

Mastodon is a Rails app with lots of dependencies, Plemora is an Elixir app that's not much better.

GoToSocial is a project that covers just the server side of ActivityPub, exposing client side communications via a Mastodon compatible API. Deployment is easy-ish, a single binary + web assets. takes your container image and runs it as a firecracker-based vm. It's an interesting halfway point in between VMs and containers in terms of deployment. What's more attractive though is their 3x 256MB shared cpu vm free tier.

To run GoToSocial, we're taking their prebuilt docker image, and deploying it.

Create the app and volume

$ fly apps create estherian
$ fly volumes create gotosocial_data -s 1 -r lhr

Flip GTS_LETSENCRYPT_ENABLED to false in the below config, then run fly deploy.

Get the IP address, set the DNS A/AAAA records, flip the GTS_LETSENCRYPT_ENABLED back to true and redeploy.

app = "estherian"

  image = "superseriousbusiness/gotosocial:latest"

  GTS_PORT = "8443"
  GTS_HOST = ""
  GTS_DB_TYPE = "sqlite"
  GTS_DB_ADDRESS = "/gotosocial/storage/db.sqlite"

  source = "gotosocial_data"
  destination = "/gotosocial/storage"

  internal_port = 8080
  protocol = "tcp"
    port = 80
  internal_port = 8443
  protocol = "tcp"
    port = 443

Once it's running, create your user following the standard documentation.

$ fly ssh console
# gotosocial admin account create --username some_username --email --password 'some_very_good_password'
# gotosocial admin account confirm --username some_username
# gotosocial admin account promote --username some_username

And done. Find a frontend, use the actual hosting domain to login.