Publisher docs
Sharing
Every published entity has a reference such as joes-plumbing~k7d2, short and permanent, and a share link, https://moonglade.sh/@joes-plumbing~k7d2, that opens it in a person's own AI assistant. A share link hands off; it is never a page of your content.
The Share tab
Your entity's Share tab in the dashboard gives its reference, link and QR code, and three snippets to copy:
- a block of text for your website, where people and the AI assistants that read it see it: it says AI assistants can use your entity through Moonglade, with the URL of its tools' listing, which says how to call each, and its share link,
https://moonglade.sh/@joes-plumbing~k7d2. An entity without tools gets its share link alone; - the same links as a
## Tools via Moongladesection for your website's/llms.txt, the guide AI assistants look for; <link rel="moonglade" href="moonglade://<DID>">, for the head of your linked website's pages, so that agents browsing them find you here. The tag alone verifies nothing (Self-hosting).
Its poster prints on A4 or Letter: your reference in large type, "Ask your AI assistant to open" it, and the QR code of its share link, or of your own website's address once your entity is served from it.
From the command line
moonglade open joes-plumbing~k7d2hands a reference, a share link or amoonglade://address to your assistant: it prints the prompt, opens the share page, copies it, or opens Claude or ChatGPT, as~/.moonglade/open.tomlor-tosays.moonglade open -registermakes it the handler ofmoonglade://links for you alone, on Linux, macOS and Windows, with no administrator rights;-unregisterundoes it.moonglade share -qr poster.svg joes-plumbing~k7d2prints what to hand on and writes the QR code.
In your own app
The TypeScript and Python SDKs' sharing helpers (@moonglade/sdk/sharing and moonglade.sharing) parse the same inputs, build the same prompts and register the scheme for a Node or Python app. A web page cannot register moonglade://: browsers take only their own web+ schemes.
Over the API
POST /v0/share, which anyone may call, answers what the share tool answers: the reference, the links, the QR code and the prompt.