Dev.to AI 🤖 Ai 👁 0 📖 7 min read

Claude's Install as App Needs You Online. I Built an Open Version That Doesn't

Claude's new Install as app opens only online and signed in, on Mac or Windows. deskhatch installs any HTML as a desktop app offline, on macOS and Linux, from one 5.6 MB macOS runtime that Apple notarized once per releas

Claude's new Install as app opens only online and signed in, on Mac or Windows. deskhatch installs any HTML as a desktop app offline, on macOS and Linux, from one 5.6 MB macOS runtime that Apple notarized once per release.

On November 24 Anthropic added Install as app to Claude Desktop. A Claude artifact gets its own icon and window and opens like any other app, but only online, signed in to Claude, on a Mac or a Windows PC. The next day I published deskhatch, an open version for HTML from anywhere. It works offline, runs on macOS and Linux, and calls the model you choose. Every app runs on one runtime: 5.6 MB on macOS, signed and notarized once per release. Notarization is Apple's automated check for malware and signing problems, not a security review of deskhatch.

What Anthropic shipped

Anthropic presents the feature for knowledge workers and developers. Its help page suggests requests like a Pomodoro timer in the menu bar or a reminder to stretch every hour. An installed app can stay at browser level, ask for notifications, shortcuts and a menu bar item, or get Full access, which lets it run programs and read, change or delete files without asking each time.

The help page also lists the limits, as of November 25, 2026:

  • an app opens only online and signed in to Claude Desktop;
  • Mac and Windows only, with no Linux, web or mobile;
  • building an app and every request it makes to Claude count toward the plan's usage limits;
  • only Claude artifacts can be installed, and not every one qualifies: Docs, Slides and Sheets cannot be;
  • Anthropic does not review apps before install.

It is rolling out as a beta on the Free, Pro, Max, Ultra, Team and Enterprise plans. On Enterprise an owner has to turn it on first.

For someone who works in Claude all day, none of this is a problem. It is a problem for HTML that came from somewhere else, for a laptop without a network, and for Linux.

What I built

deskhatch does the same with HTML from anywhere: Claude, ChatGPT, Gemini, an editor, an old page.

npx deskhatch install page.html

The page gets an icon in the dock or the app menu, its own window, and a hatch object in JavaScript: model calls, a store per app, notifications, a tray icon, global hotkeys and access to folders the user picked. The model is the one you configure: Ollama, LM Studio or llama.cpp on your own machine, or your own key for any OpenAI-compatible API. The key sits in the system keychain, never in the app.

An app is a folder of three files: app.json, index.html and icon.png. This is the manifest of the Pomodoro example from the repository:

{
  "schema": 1,
  "id": "pomodoro",
  "name": "Pomodoro",
  "permissions": "desktop",
  "window": { "width": 420, "height": 560 },
  "tray": { "enabled": true, "tooltip": "Pomodoro", "hideOnClose": true },
  "hotkeys": { "toggle": "CmdOrCtrl+Shift+P", "startStop": "CmdOrCtrl+Shift+O" }
}

And this is all the page needs to keep a log, notify and answer a hotkey:

await hatch.store.set('log', log);
const saved = await hatch.store.get('log');
await hatch.notify('Focus session done', 'Take a break.');
hatch.on('hotkey', name => { if (name === 'startStop') running ? stop() : start(); });

npx deskhatch export my-app packs the folder into one .hatch file. The other person installs it with one command or drops it on the runtime. There is no store and no account.

I measured what an install leaves on a Mac. The installed package of the Pomodoro example is 20 KB. Its launcher in Applications is 148 KB. With the runtime already downloaded, install took 0.47 seconds.

Why one signed runtime

I have built and signed many desktop apps one at a time. To hand an app to someone else on a Mac without a Gatekeeper warning, it has to be signed with a Developer ID and notarized by Apple. That needs a paid Apple Developer Program membership and a signing and notarization round for every build.

deskhatch moves that work to one place. The runtime is signed and notarized once per release, and spctl reports it as Notarized Developer ID. An app is not a program. It is a folder of files that the runtime opens, so it needs no signature of its own, and the person who installs it needs no Apple account.

On macOS the option --standalone gives an app its own copy of the runtime, about the same size, so the system shows the app's own name in the menu bar and the app switcher. That copy is made on the user's machine and signed ad hoc there. It never passes through a browser download, so it carries no quarantine flag. Gatekeeper does not check that copy, and the runtime's notarization does not cover it.

Permissions

Tier Requests from the page Notifications, tray, hotkeys Files
web, the default none no none
desktop only listed hosts yes folders the user picked
full only listed hosts yes the home folder

In every tier the model is reached through the runtime. The runtime is built to enforce the tier in Rust and through the page's content security policy, so the HTML should not be able to raise its own level. A web app is not allowed to make network requests, load remote scripts or read files. Every page is blocked from navigating away from its own package or opening a new window. ~/.ssh, ~/.gnupg, ~/.aws and deskhatch's own folder are blocked in every tier.

Two of those rules came from checking this post against the code. Version 0.2.2 let a page leave by setting location.href, which the content security policy does not cover, and let full read outside the home folder. Both are fixed in 0.2.3, and the repository has a test that fails on 0.2.2 and passes now. If you installed 0.2.2, update. Nobody has audited deskhatch independently, so treat these rules as design goals, not a certification.

There is no API to start a program, in any tier. That does not make full harmless: it can write any file in your home folder, shell startup files included, and code there runs at your next login. Grant full only to apps you wrote or trust. Claude's Full access can run programs directly.

Side by side

Claude Install as app deskhatch
Opens offline no yes
Account Claude, signed in none
Model Claude, counted against the plan any: local, or your own key
Platforms macOS, Windows macOS, Linux
Source of the HTML Claude artifacts any file
Starting programs with Full access no API for it

Claude's version has things mine does not. Its apps use the connectors you have set up in Claude, they update when you edit the artifact, and they run on Windows. For an app that has to start other programs, deskhatch is the wrong tool.

Try it

npx deskhatch gallery
npx deskhatch install examples/pomodoro
npx deskhatch new "a pomodoro timer with a tray icon and a daily log"

new sends the request and the hatch API reference to your model, takes the HTML out of the reply and installs it. I have not measured how often a local model gets it right on the first try. The npx wrapper needs Node 18 or newer. On Linux the runtime comes as an AppImage or a .deb; neither is signed yet.

What is open, Windows first

Windows is where I need help. Tauri, which deskhatch is built on, targets Windows, but the release has no Windows build yet. What is missing is listed in issue #1:

  • a launcher in runtime/src/packages.rs: a Start menu shortcut that starts the runtime with --app <id>, with the icon converted from icon.png to .ico;
  • an NSIS or MSI bundle in the release workflow;
  • opening .hatch files with the runtime;
  • the win32 asset name and binary path in cli/index.js;
  • a test of the tray and the global hotkeys on Windows.

Code signing for SmartScreen can wait. A pull request for any one of these items is welcome, and I review and merge them myself. A thumbs-up on #1 decides the order of work.

Three more items are open: streaming replies from hatch.llm.chat (#3), importing a Claude artifact from its share link (#4), and the app name on macOS, where an app on the shared runtime is called Deskhatch in the menu bar unless it is installed with --standalone (#2).

deskhatch is an independent open source project. It is not affiliated with, endorsed by or sponsored by Anthropic. Claude is a trademark of Anthropic.

If something breaks on your machine, open an issue and tell me what you ran. If you build something with it, the repository has a showcase file that takes pull requests, and a star tells me the idea is worth continuing. deskhatch is MIT-licensed.

Sources

Vladimir Beskorovainyi, Enterprise AI Architect & CTO, author of the Amazon bestseller "Enterprise AI: The KATA Way", founder of Besk Tech (besk.tech)

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.