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.
- Free
- Up to 50 MB
- No signup to share
- Keep links 30 days with a free account
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"]
}
}
}No Node.js needed. Streamable HTTP, no auth.
gemini mcp add --transport http anyshare https://anyshare.ai/mcpShare a file or a whole folder (dist/, build/, out/). Prints the link; run login once to keep links in your account.
npx @anyshare/cli ./distWhat 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
- Step 1:
Get the code
From Canvas, copy the HTML. From Gemini CLI, note the file or folder it wrote, such as
index.htmlordist/. - 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”.
- 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.htmlbecomes 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?
How do I connect Gemini CLI?
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?
Is there an official anyshare extension for Gemini?
Who can see the page?
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.







