Skip to content

docs: document storage backends and self-hosting infrastructure - #128

Merged
EthanThatOneKid merged 1 commit into
mainfrom
self-host-storage-backends
Aug 18, 2026
Merged

docs: document storage backends and self-hosting infrastructure#128
EthanThatOneKid merged 1 commit into
mainfrom
self-host-storage-backends

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

Closes #50. Expands \contribute/self-host.mdx\ to cover:

  • Storage backends: @worlds/libsql\ (LibSQL/Turso) and @worlds/postgres\ (pgvector) with usage examples.
  • VPS deployment: \worlds-vps\ Terraform + Docker Compose composition.
  • Adds \worlds-vps\ to the current status component list.

Verification:
pm run precommit\ (prettier check + mintlify validate) passes.

@EthanThatOneKid
EthanThatOneKid merged commit 334cd65 into main Aug 18, 2026
4 checks passed
@EthanThatOneKid
EthanThatOneKid deleted the self-host-storage-backends branch August 18, 2026 21:11
Comment thread contribute/self-host.mdx
import { createLibsqlSdk } from "@worlds/libsql";

const databaseClient = createClient({ url: ":memory:" });
const client = await createLibsqlSdk({ client: databaseClient });

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const client = await createLibsqlSdk({ client: databaseClient });
const sdk = await createLibsqlSdk({ client: databaseClient });

To prevent confusion from now on it might be necessary to add a new rule to the AGENTS.md file along the lines of:

Variable naming conventions... Instance (non-iterable) should be the singular lowercased camelCased variant of the class/interface name it implements. i.e. client = new Client; sdk = new Sdk; etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: document storage backends and self-hosting infrastructure (worlds-postgres, worlds-libsql, worlds-vps)

1 participant