For Gemini

Publish what Gemini builds

Host Gemini Canvas HTML and Gemini CLI builds at a live URL: paste the code, drop the folder, or connect the anyshare MCP server and let Gemini CLI publish.

Paste or drop what Gemini built

Canvas HTML, a single file or a build folder

By uploading you agree to the Terms and Acceptable Use.

Two Geminis, two paths

In the Gemini app, Canvas writes and previews web pages, but a preview isn’t something you can send. Copy the HTML from Canvas, paste it into the box above, and anyshare publishes it as a live page at its own address.

Gemini CLI works in your terminal and writes files to disk. Add the anyshare MCP server to its settings and it gains a publish tool: point it at a file or a build folder and it hands back the link. Run /mcp inside Gemini CLI to check the server is connected.

Setup

Connect Gemini CLI

Add the local server to settings.json, or add the remote server with one command. Either way, run /mcp in Gemini CLI to confirm it’s connected.

Pick one

Add to ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project). Reads files from disk.

{
  "mcpServers": {
    "anyshare": {
      "command": "npx",
      "args": ["-y", "@anyshare/cli", "mcp"]
    }
  }
}

What exists for Gemini

There’s no Gemini extension for anyshare yet. Gemini Canvas output goes in by paste or upload; Gemini CLI connects to the standard anyshare MCP server, local or remote.

Then just ask

  • “share index.html with anyshare and give me the link”
  • “build the app and share the dist folder with anyshare”
  • “write a summary of this repo as notes.md and share it”

When it’s shared

What Gemini output looks like when shared

Canvas pages run exactly as written. Notes and docs that Gemini CLI writes in Markdown get a reading page with highlighted code and tables.

  • Canvas HTML as a live page
  • CLI builds as full websites
  • Markdown with code and tables
  • No Google account for viewers

How it works

Publish Gemini’s work

  1. Step 1:

    Get the code

    From Canvas, copy the HTML. From Gemini CLI, note the file or folder it wrote, such as index.html or dist/.

  2. Step 2:

    Publish it

    Paste or drop it into the box above, or, once the MCP server is set up, tell Gemini CLI “share it with anyshare”.

  3. Step 3:

    Send the link

    You get a live HTTPS link that opens on any device. Without an account a link lasts 1 hour; keep it with a free account and it lasts 30 days from the upload.

The details

What you get

  • Canvas pages, live

    Paste the code and it’s a real web page in seconds, without a hosting account or a code editor.

  • Gemini CLI publishes from disk

    With the local server, Gemini CLI passes a path and the files are uploaded directly, so big builds never go through the model.

  • Nothing to sign in to

    Viewers don’t need a Google account or any app. The link is an ordinary web page.

  • Multi-file builds

    A folder or .zip with an index.html becomes a website with working links, styles and scripts.

  • Free limits

    50 MB and 1,000 files per upload, no account to publish. Links last 1 hour, or 30 days once kept in a free account.

FAQ

Questions, answered.

Can I host a Gemini Canvas page without downloading anything?
Yes. Copy the code from Canvas and paste it into the box above. anyshare detects the HTML and publishes it; there’s no file to save first.
How do I connect Gemini CLI?
Add the anyshare entry to ~/.gemini/settings.json for the local server, or run gemini mcp add --transport http anyshare with the remote server URL. Restart Gemini CLI and check with /mcp.
What does Gemini CLI reply with after publishing?
The URL of the new page, plus the slug. The local server keeps the update token on your machine, so you can ask Gemini CLI to update the same link later.
Is there an official anyshare extension for Gemini?
Not yet. Gemini CLI uses the standard MCP server, which gives it the same tools an extension would.
Who can see the page?
Anyone with the link. Free pages aren’t indexed by search engines and each one lives on its own subdomain, but don’t publish anything you need to keep private.

Your next link is one drop away.

No signup, no setup. Drop it above and share it in seconds. Links last 1 hour; keep them 30 days with a free account.