How to share a single-file HTML app from Claude Code with only your team
Quick answer
To share a single-file HTML app from Claude Code so only your colleagues can open it, with no server to deploy, publish it as a page behind a password and post that one link in the team channel. SharePoint and OneDrive keep the file but don't run it: Microsoft says an HTML file with script is "downloaded or shown as raw content". On Convika, upload the file or connect Claude Code with one command, choose "Only people with the password" as you publish, and every new version goes live at the same link. A password comes with the Pro pass ($5 once for 30 days) or Pro ($12 a month).
Start with the Pro pass: $5 once for 30 days, no renewal. Pro is $12 a month.
On this page
- Get a link straight from Claude Code
- What SharePoint, OneDrive, Google Drive, Slack, and Teams do with an .html file
- Why the app breaks when colleagues open the file from disk
- Ways to share an HTML app with only your team, compared
- Share the app at one link in 5 steps
- When someone leaves the team, change the password
- Why a password prompt written in JavaScript keeps no one out
- Saving your colleagues' data
- What runs on the page
- Frequently asked questions
- Sources
Claude Code turned your quote sheet into one HTML file: prices, margins, a total that updates as you type. Ten people in sales need it. You drop the file in the team channel, fix a formula the next week, and drop it again. By month's end nobody knows who has which copy.
A single-file app needs no server. It needs one link that only your team opens and that always shows the latest version. This guide gets you that link in a few minutes. The vendor pages quoted here were read on November 17, 2026.
Get a link straight from Claude Code
Connect Convika to the Claude Code session that built the app. Run this in your terminal:
claude mcp add --transport http convika https://mcp.convika.com
Run /mcp inside Claude Code, sign in to Convika in your browser, and click Allow. Then say: “Save quote-calculator.html to Convika and give me the preview link.” Claude Code sends the file and returns a private preview link that works for 1 hour. Each fix goes to the same page the same way.
Who can open the page is your choice, made on the dashboard as you publish: a password, or a private link. The 5 steps below cover it, and how to deploy from Claude Code has every detail of the connection. No Claude Code? Drop the file into the upload box at the top of this page.
What SharePoint, OneDrive, Google Drive, Slack, and Teams do with an .html file
Each of them stores the file. None of them runs it as an app from a shared file link.
- SharePoint and OneDrive download it or show its code. Microsoft Learn says files that can run code, “e.g. a html file having embedded script”, are “not executed in the browser but downloaded or shown as raw content”, and “you already cannot switch your tenant to the permissive model.” How to share an HTML file in SharePoint or OneDrive has the full reading.
- SharePoint's HTML pages run it in a sandbox. Moved to the Site Pages library, the file shows as a page. Microsoft's help says the sandbox “can't access the browser localStorage”, runs libraries only “from a Microsoft-managed CDN”, and “blocks arbitrary fetch requests and outbound API calls”.
- Teams keeps it in SharePoint or OneDrive. Microsoft's help says “Files you upload to a channel are stored in your team's SharePoint folder” and “Files you send in chat are stored in your OneDrive for Business”, so the same rule applies. See how to share an HTML file in Teams.
- Google Drive previews or downloads it. Drive lists
.HTMLunder “Markup/Code” files, and Google ended web hosting in Drive on August 31, 2016, when “serving content via googledrive.com/host/” stopped. See how to share an HTML file on Google Drive. - Slack attaches it as a file. Slack's help says “Slack will include a preview of a file as part of your message” and names images and Office files; it doesn't say how an HTML file is shown. To use the app, each colleague downloads it. See how to share an HTML report in Slack.
So a file link ends in a download, and a downloaded app opens from the colleague's disk.
Why the app breaks when colleagues open the file from disk
A downloaded file opens at a file:// address, and browsers treat that address differently from a website.
- Requests fail. MDN: “CORS requests may only use the HTTP or HTTPS URL scheme”, and the error “often occurs if the URL specifies a local file, using the
file:///scheme.” MDN's guide to local testing adds that “Some browsers (including Chrome) will not run async requests” from a local file, and that “Browsers commonly treat requests to load resources using thefile://scheme as cross-origin requests.” Afetchof a data file or a module script stops there. - Saved data can fail. MDN lists a
SecurityErrorforlocalStoragewhen the origin “uses thefile:ordata:schemes”. - Phones don't run it. In our test in the iPhone simulator (iOS 26.3, October 6, 2026), the Files app's preview of an HTML file ran no JavaScript.
- Every fix means a new file. The old copies stay on each colleague's disk.
At an https:// address none of this applies: the app runs as a web page, on a phone too, and everyone opens the same version.
Ways to share an HTML app with only your team, compared
| Route | Runs the app or downloads it | Who can open it | Update at the same link | Setup |
|---|---|---|---|---|
| Convika | Runs it as a page: its scripts and libraries from https:// CDNs | Only people with the password, checked on the server before the page is sent; or anyone with a private link | Yes: upload the new file as the next version and publish it at the same link, with version history | Upload the file, or one claude mcp add command |
| SharePoint or OneDrive, as a file | “downloaded or shown as raw content” (Microsoft Learn) | “Only people added”, people in your organization, or “Anyone” (Microsoft's sharing help) | The file is replaced: “it becomes the latest version” in the library (Microsoft's upload help). Colleagues download it again | A Microsoft 365 library |
| SharePoint HTML page | Runs in a sandbox: no localStorage, no CDN but Microsoft's, no outbound requests (Microsoft's help) | “people who have permission to view the page” | Edit the page and select Publish | A site where Allow HTML files is on |
| Google Drive | Preview or download; Drive's web hosting ended August 31, 2016 | “Restricted”, “Your Organization”, or “Anyone with the link” (Drive Help) | Upload new version under Manage versions replaces the file | A Google account |
| Netlify | Runs it: drag the project folder to deploy | A shared password on Pro ($20 a month): “Password protection isn’t available on Credit-based Free and Personal plans”. A private project needs a Netlify login | “drag and drop your updated project folder into the Deploy zone” | A Netlify account and a project folder |
| Cloudflare Pages | Runs it at <PROJECT_NAME>.pages.dev | A Cloudflare Access policy that emails each allowed address a PIN. The built-in setting “will only protect your preview deployments”; the *.pages.dev address takes the extra steps in Cloudflare's Known issues | A new deployment to the production environment | A Cloudflare account, a Pages project, and an Access application |
| A password prompt written in JavaScript, on any host | Runs it | Anyone who opens View Source: the password and the app arrive together | As the host allows | Paste a script |
Convika is the short route: one file in, one link out, a password your team types once, and the same link for every version.
Share the app at one link in 5 steps
Drop the file in the upload box and keep the page
Drop the file into the upload box at the top of this page, or paste its code, and click Get my preview link. No account yet. Convika takes .html and .htm files up to 2 MB. This first preview shows the page with its scripts and forms off. To try the calculator right away, click Open it running in this browser: the app runs in your own browser, on your device.
Then click Keep this page — free, no card and sign up. No credit card. The page moves into your account as you uploaded it.
Already signed in? On the dashboard, click Upload an HTML file, drop the file onto the Upload a file tab or paste the code under Paste code, and click Create my preview. With Claude Code connected, ask it to save the file to Convika.
Check the preview in your account
In your account the preview runs the app: its scripts, its buttons, and its libraries from https:// CDNs, as the live page does. The preview link is private. Open it and try the app as a colleague would: type numbers, press the buttons, open it on your phone.
Publish with a password or a private link
Click Publish page. Under Who can open this page?, choose Only people with the password and type a password of 8 to 128 characters: letters A–Z, numbers, symbols, or spaces. Or choose Private link: anyone with the link opens the page, and it stays out of search results and out of Convika's gallery. For prices, margins, or customer names, pick the password.
With the password typed, the same dialog shows two ways to pay on a Free account. The first button is Pro pass: publish with a password, 30 days for $5 (for a private link, Pro pass: publish as a private link, 30 days for $5). The pass is paid once and doesn't renew, and the button opens the payment at Stripe. Under it, Or subscribe to Pro monthly opens the order for Pro at $12 a month. The pass suits a first month; Pro monthly suits a tool the team keeps.
The page goes live once the order goes through, at the convika.page address the dialog shows under its heading. To give it a name of your own, open Settings, and under This site's URL click Change the URL, type the new one, and click Change URL. The old address sends visitors on to the new one. For an address like tools.yourcompany.com, click Connect my domain under Custom domain on the page's screen.
Post the link in the team channel
Paste the link into Slack or Teams, and send the password in another message. Anyone who has only the link sees the password screen: Convika checks the password on its server before it sends the page, so the screen holds none of the app. A browser that entered the password opens the app without being asked again, and the screen returns only after 30 days without opening the page.
Publish a fix at the same link
Fix the app in Claude Code. On the page's screen, under Update from an HTML file, click Upload as a new version, or ask Claude Code to save the file to the same page. You get a private preview of the new version, and colleagues keep seeing the current one until you click Publish v2 at the same link. The link and the password stay the same.
Pro keeps 50 versions of each page. If a fix was wrong, click Roll back to this version under Version History.
When someone leaves the team, change the password
Open Page settings, and under Page password click Change password. Everyone who entered the old password sees the password screen on their next visit, and the link stays the same. Send the new password to the people who stay.
Why a password prompt written in JavaScript keeps no one out
AI assistants often suggest adding “a simple password prompt” to the app itself. The browser downloads the whole file before any script runs, so the password and everything the prompt hides arrive together. Anyone presses Ctrl+U and reads both. In our test on October 13, 2026, curl fetched a page with such a prompt, and the response held the password and the hidden text.
MITRE lists this as CWE-602: “client-side checks for authentication can be easily bypassed”. The check has to run on a server before the page is sent, which is what Convika's page password does. How to password protect an HTML page compares the methods.
Saving your colleagues' data
localStorage saves in one browser. Each colleague sees only their own entries, on that one device. That suits personal settings, such as a salesperson's default discount. For data the team shares, a published page has two ways:
- A form. Click Add a form to my page on the page's screen, or ask Claude Code to add one. Entries land in your dashboard and export as CSV. On a page with a password, only people who entered the password can send one.
- Shared values. An app that saves with
window.storageandshared: true, the storage API of Claude's artifacts, gets one set of values for everyone who opens the page: a shared checklist, a stock count, a sign-off list. A page holds 10 MB and 10,000 keys on Pro. On a page with a password, saving needs the password too. The leaderboard guide has the prompt that makes an AI write against this API.
What runs on the page
Convika serves the file as you uploaded it. Scripts written in the page run, and so do libraries loaded from https:// CDNs such as cdnjs and jsDelivr: Chart.js, Tailwind, and the rest. A quote or cost calculator, a unit converter, an inspection checklist, a work instruction, a training quiz, an engineering calculation moved out of Excel: an app that computes in the browser works as it is.
A script's fetch, XHR, and WebSocket requests on a Convika page reach the page's own address. Have Claude Code write the price list or the lookup table into the file, and publish a new version when the numbers change. To move a workbook's formulas into one file first, see turning an Excel calculator into a web app and a quote calculator from an Excel price sheet.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trialFrequently asked questions
How do I share a single-file HTML app internally so only my colleagues can open it?
Publish it as a page behind a password and post the link. On Convika, upload the file, click Publish page, choose Only people with the password, and send the link and the password in separate messages. Colleagues open the link in any browser and type the password once. A password comes with the Pro pass ($5 once for 30 days) or Pro ($12 a month).
Can I share an HTML app without deploying a server?
Yes. A single-file app needs a place that serves it at an https:// address, and Convika does that from an upload: no repository, no build, no hosting account to configure. From Claude Code, claude mcp add --transport http convika https://mcp.convika.com connects it, and saving the file returns a preview link.
Why do SharePoint HTML files download instead of render?
Because SharePoint Online handles files that can run code under its strict model. Microsoft Learn says a “html file having embedded script” is “not executed in the browser but downloaded or shown as raw content”, and that a tenant can't switch to the permissive model. OneDrive and Teams keep files the same way. Publish the app and put its link in the library or the channel.
Why does my HTML app break when I open it as a local file?
Because the browser opens it at a file:// address. MDN says “CORS requests may only use the HTTP or HTTPS URL scheme”, so a fetch of a data file or a module script fails, and localStorage can throw a SecurityError there. At an https:// address the same file runs as written.
Can I secure the app with a simple password prompt?
Not with one written in the app's JavaScript. The file reaches the browser before the prompt runs, so View Source shows the password and the app. Have a server check the password before it sends the page: on Convika, choose Only people with the password as you publish.
Can I add local storage so colleagues can save data?
Yes, and each colleague then saves in their own browser. localStorage works on a published page, and nobody else sees those entries. For data everyone shares, add a form, whose entries land in your dashboard, or have the app save with window.storage and shared: true, which gives every colleague the same values.
How do I update the app without sending a new link?
Upload the fixed file as a new version of the same page. Under Update from an HTML file, click Upload as a new version, check the private preview, and publish it at the same link. Colleagues see the current version until you publish, and the password stays the same.
Does everyone type the password every time?
No. A browser that entered the password opens the app without being asked again. The password screen returns after 30 days without opening the page, or when you change the password.
Can Netlify or Cloudflare Pages keep a site to my team?
Yes, with more setup. Netlify's shared password is on Pro at $20 a month; its docs say “Password protection isn’t available on Credit-based Free and Personal plans”. Cloudflare Pages uses an Access policy that emails a PIN to each allowed address, and its built-in setting “will only protect your preview deployments”. On Convika the password is one choice in the publish dialog, from $5 for 30 days.
Will the app show up in Google?
No. On a page with a password, search engines see only the password screen, which is marked noindex, and the page stays out of the sitemap. A Private link page is kept out of search results and out of Convika's gallery too.
Sources
- Migrating from the permissive browser file handling to the default strict browser file handling (Microsoft Learn) (read November 17, 2026)
- Create, upload, edit, and publish HTML pages in SharePoint (Microsoft) (read November 17, 2026)
- Share SharePoint files or folders (Microsoft) (read November 17, 2026)
- Share files and folders in Microsoft OneDrive (Microsoft) (read November 17, 2026)
- Upload files and folders to a library (Microsoft) (read November 17, 2026)
- File storage in Microsoft Teams (Microsoft) (read November 17, 2026)
- Files you can store in Google Drive (Google Drive Help) (read November 17, 2026)
- Share and manage access to files and folders in Google Drive (Google Drive Help) (read November 17, 2026)
- Manage file versions in Google Drive (Google Drive Help) (read November 17, 2026)
- Deprecating web hosting support in Google Drive (Google Workspace Updates, August 31, 2015) (read November 17, 2026)
- Add files to Slack (Slack Help Center) (read November 17, 2026)
- Reason: CORS request not HTTP (MDN) (read November 17, 2026)
- How do you set up a local testing server? (MDN) (read November 17, 2026)
- Window: localStorage property (MDN) (read November 17, 2026)
- Password Protection (Netlify Docs) (read November 17, 2026)
- Project visibility (Netlify Docs) (read November 17, 2026)
- Create deploys (Netlify Docs) (read November 17, 2026)
- Pricing (Netlify) (read November 17, 2026)
- Direct Upload (Cloudflare Pages docs) (read November 17, 2026)
- Preview deployments (Cloudflare Pages docs) (read November 17, 2026)
- Known issues (Cloudflare Pages docs) (read November 17, 2026)
- One-time PIN login (Cloudflare One docs) (read November 17, 2026)
- CWE-602: Client-Side Enforcement of Server-Side Security (MITRE) (read November 17, 2026)
Next step
How to see who visits a page you made with AI
Convika shows a page's visits, sources, and button clicks with no tag. GA4, Plausible, Clarity, and Cloudflare: free tier, tag, and source report.
Related articles
- How to share an HTML app internally: 9 ways compared (GitHub Pages, SharePoint, Google Drive, your own server)One password link for your HTML app, with fixes at the same link. Convika, GitHub Pages, SharePoint, Google Drive, Apps Script, Netlify, and more compared.
- Password-protected HTML hosting compared: Netlify, Vercel, Cloudflare Access, Tiiny Host, GitHub PagesPut a password on an HTML page: Convika from $5 once for 30 days, checked on the server. Netlify, Vercel, Cloudflare Access, Tiiny Host, and GitHub Pages by plan, price, and setup.
- How to password protect an HTML page or websiteA JavaScript password script leaves the password in the page source. To password protect an HTML page or link, encrypt the file or let a server check it.
- How to deploy and publish a website from Claude CodeYes, you can publish a website from Claude Code, but a claude.ai artifact can't keep signups. Deploy with Convika to add a form, your domain, and visit stats.
- How to host or share an HTML file on SharePoint or OneDrive so it opens as a pageCan SharePoint or OneDrive host an HTML page? Both download an .html file or show its code. Use SharePoint's HTML pages, or host it on Convika and share a link.
- Share an HTML file in Teams and have it open as a pageTeams keeps an HTML file in SharePoint or OneDrive, which will not run scripts. Post a link to the published page for colleagues or a class team.