Interactive HTML

Share an interactive HTML prototype with one link

Turn one self-contained HTML file into a temporary browser link that preserves its source and interaction.

share interactive HTMLMarkdown · HTML · PDFUpdated 27 September 2026
The problem

An interactive HTML file is awkward to share. Attachments make people download it, chat can alter it, and deploying a site is too much work for a quick review.

Share the file, not a new website

ArtifactPass turns one HTML file into a temporary browser link. The recipient can preview it, inspect the exact source, download it, and decide whether its JavaScript runs.

One source fileThe exact uploaded HTML remains available for source review and download.
One browser linkThe recipient does not need an ArtifactPass account to open a live link.
A clear expiryChoose 1 hour, 1 day, or 7 days for the public service.
Controlled JavaScriptThe file opens with JavaScript disabled until the recipient enables it.

Prepare a self-contained HTML file

The strongest handoff is a single file that carries its own markup, styles, and scripts. Inline the CSS and JavaScript that belong to the demo. Avoid runtime dependencies on APIs, remote fonts, CDNs, analytics, or external images.

This is not only about portability. ArtifactPass blocks network access inside the enabled JavaScript preview. A demo that depends on a remote endpoint may still display its static shell, but the network-dependent behavior will not complete.

Check the file before publishing

  • Open it locally and confirm the core interaction works without a build server.
  • Keep the file at or below the public service limit of 25 MB.
  • Remove secrets, tokens, private endpoints, and data that should not leave the project.
  • Use embedded sample data when the interaction normally depends on an API.
  • Give the file a meaningful name, such as artifactpass-project-pulse-demo.html.

Publish from the browser or your agent

For a one-off share, open the ArtifactPass upload page, choose the HTML file, select its lifetime, and create the temporary link.

If the file was produced inside an agent workspace, ask the connected agent to publish it. The request can stay natural and specific:

Share ./artifactpass-project-pulse-demo.html for 1 day.

The agent uses the ArtifactPass MCP tool to read the approved local file, publish it, and return the temporary HTTPS link. If the project is not connected yet, follow the AI agent setup guide first.

ArtifactPass upload page with a fictional project-status demo selected and a one day lifetime chosen
The browser flow confirms the exact file and lifetime before publishing.
ArtifactPass confirmation page showing that a temporary link is live
After publishing, ArtifactPass presents the temporary link and its exact cutoff.

What the recipient sees

The viewer keeps the important actions close together: the filename, Preview and Source controls, Download, and the JavaScript control when the file contains a script.

The first preview is passive. JavaScript is disabled, so the recipient can inspect the page before allowing code to run. The banner states that the file contains JavaScript and offers a direct Enable JavaScript action. After enabling it, the same control lets the recipient disable it again.

ArtifactPass HTML viewer with JavaScript disabled and an Enable button
The initial viewer state names the JavaScript clearly and leaves execution off.
ArtifactPass viewer running a fictional project-status demo after JavaScript is enabled
Once enabled, the prototype behaves normally inside the isolated preview.

Source remains available during either state. That matters for review because a recipient can compare the rendered result with the exact HTML that produced it. Download returns the original uploaded bytes rather than a rewritten preview copy.

ArtifactPass source view showing the exact uploaded HTML
Source view stays beside Preview so the rendered behavior can be checked against the uploaded HTML.
ActionWhat it is forWhat runs
Preview with JavaScript disabledRead the static layout safelyNo uploaded JavaScript
Enable JavaScriptTry the intended interactionCode inside an isolated browser frame
SourceInspect the exact HTMLNo page script execution
DownloadKeep the original fileNothing until the recipient opens it elsewhere

Important limits to explain

An ArtifactPass URL is a temporary bearer link. Anyone who receives the live URL can open and redistribute the artifact until it expires. Send it only to the people who should see it.

Enabling JavaScript does not turn ArtifactPass into a hosted application server. The code runs on the recipient's device, inside the browser preview. ArtifactPass does not allocate a server process for each open demo, and the preview cannot make network requests.

Expiry stops access through ArtifactPass, but it cannot remove a copy that someone already downloaded. If the work needs durable permissions, revocation, audit history, or a permanent URL, use a system designed for that job.

Common questions

Can the preview call an API?

No. Network access is blocked inside the enabled JavaScript preview. Embed representative sample data for the review.

Does the recipient need to sign in?

No. Only the publisher signs in. Anyone with the live share URL can open the artifact until it expires.

Can an agent read the HTML too?

Yes. A connected agent can read a valid ArtifactPass link and inspect the supported source instead of relying on a screenshot or copied chat text.

What if the prototype needs several files?

Bundle it into one self-contained HTML file, or use normal application hosting. ArtifactPass publishes one supported artifact per link.