The quickstart guide provides instructions for using hosted Y-Sweet on Jamsocket, but if you prefer to host it on your own you have several options.
If you have npm, the fastest way to run a local server is with npx:
npx y-sweet@latest serveThis will download the Y-Sweet server if you do not already have it, and run it.
By default, y-sweet serve does not write data to disk. You can specify a directory to persist data to, like this:
npx y-sweet@latest serve /path/to/dataIf the directory starts with s3://, Y-Sweet will treat it as an S3-compatible bucket path. In this case, Y-Sweet will pick up your local AWS credentials from the environment. If you do not have AWS credentials set up, you can set them up with aws configure.
Run the Y-Sweet server on Jamsocket's session backends. Check out the quickstart guide to get up and running in just a few minutes.
The latest Docker image is available as ghcr.io/jamsocket/y-sweet:latest. You can find a list of images here.