Crystal
for the tinkerers

Make something people will use.

Crystal Studio is where you design cosmetics, write bots and build extensions, with the docs, previews and tools in one app.

Crystal Studio

One app for designing and coding.

Open it from Settings in Crystal, or at /studio in your browser. Your projects are plain files on your computer, and nothing is uploaded until you submit.
  • A design editor

    Pen, brushes, shapes and text, procedural materials, glows and shaders, with snapping and unlimited undo.

  • A timeline for animation

    Animate nameplates and profile effects on a proper timeline, up to 12 seconds long.

  • Real previews

    See your work on Crystal’s actual renderers: a real profile card, a real member list.

  • A code workbench

    Monaco editor, file tree, terminal and git, with the SDK types and Crystal’s lint rules built in.

  • Docs where you work

    Step-by-step guides and a full API reference generated from the SDKs, right inside Studio.

  • Bring your AI tools

    Every project comes with an AGENTS.md and a local MCP server, so Claude Code, Cursor or Codex can read the guides and help. They can’t publish for you.

Bots · @crystal/bot

A bot in a dozen lines.

The SDK has no dependencies and runs on Node 18 or newer. Make a bot in Studio, copy its token, and this is all it takes to answer !ping.
yes, really, that’s the whole thing →
index.ts
import { Client, Events } from "@crystal/bot";

const client = new Client(); // reads CRYSTAL_BOT_TOKEN and CRYSTAL_SIGNING_SECRET

client.on(Events.Ready, (c) => {
  console.log("Online as " + c.user?.name + " in " + c.communities.size + " communities.");
});

client.on(Events.MessageCreate, async (message) => {
  if (message.fromBot) return; // never answer bots, or two bots will talk forever
  if (message.content === "!ping") await message.reply("pong");
});

await client.login(); // checks the token, loads the communities, shows the bot online
  • Events for everything

    Messages, reactions, members, channels, voice and button clicks, delivered as they happen.

  • Slash commands and buttons

    Register up to 25 commands, and reply with embeds and rows of buttons.

  • Only the powers it’s given

    A bot can do what its community granted and no more. It can never be made an administrator.

  • End-to-end encryption

    Bots have their own keys and decrypt messages themselves, so encrypted chats stay encrypted.

  • Run it anywhere

    You host your bot. By default it polls for events, so it works on a laptop with no public address.

  • Any language

    Prefer Python or Go? The HTTP Bot API at api.usecrystal.app does everything the SDK does.

extension.ts
import { Extension, Panel, storage, ui } from "@crystal/extension";

const ext = new Extension();

const panel = new Panel(
  (s: { count: number }) =>
    ui.column([
      ui.heading("Hello from my extension"),
      ui.text("Clicked " + s.count + " times"),
      ui.row([ui.button("Click me", "click"), ui.button("Reset", "reset", { variant: "secondary" })]),
    ]),
  { count: 0 },
);

ext.onOpen(async () => {
  panel.setState({ count: (await storage.get<number>("count")) ?? 0 });
});

ext.onAction("click", async () => {
  const count = panel.state.count + 1;
  await storage.set("count", count);
  panel.setState({ count });
});

Extensions · @crystal/extension

Add a panel to Crystal.

Extensions are small apps that open inside Crystal. Their code runs on the user’s own computer in a locked-down sandbox: no access to the page, no network except the sites they list, and a UI built from Crystal’s own components so it always fits in.

They can keep a little storage, call the sites they’ve declared, and send notifications. Every version is read by a person before anyone can install it.

Extensions are in early access: you can build and test them in Studio today, and we’re opening publishing to everyone soon.

The shop

Get paid for what you make.

Design something people want on their profile and sell it to everyone on Crystal.
  • Make it in Studio

    Avatar decorations, stickers, nameplates, profile effects, lounge scenes and theme packs.

  • We review every item

    A person checks each submission before it goes on sale, and again when you update it.

  • Set your price

    Free, or anywhere from 0.50 to 500 in USD, AUD, EUR or GBP. Bundle up to 8 items in a pack.

  • Keep 80%

    Paid out through Stripe. Sales made before you set up payouts are held for you, not lost.

Run a YouTube or Twitch channel?

Creator communities are coming soon: link your channel, turn memberships into roles, and keep your uploads and streams in a newsfeed. Pair them with your own cosmetics in the shop.

See creator features

Start building.

Studio is free. Open it in your browser or from Settings in the desktop app.