deskhatch turns HTML from Claude into a real program: a 5.5 MB runtime instead of 100 MB per app
Anthropic has added the "Install as app" beta to Claude, which lets you install a chat page on your computer as a program, but only through an account. The open-source deskhatch alternative keeps one shared runtime at 5.5 MB (macOS) and runs any HTML page inside it, whereas Electron would pull in about 100 MB for each app. It works without a network or an account, with any model, including a local one. It's handy for internal utilities, but full access should not be given to other people's packages.
AI-processed from Habr AI; edited by Hamidun News
You ask Claude to build a Pomodoro timer or a task tracker, you get a working HTML page, and you want to use it like a normal program: with an icon, its own window, and no browser tab. On November 24, Anthropic began rolling out the "Install as app" beta in Claude, which does exactly that. But it is closed, requires an account, works only with Claude, and Anthropic itself warns that it does not check such apps before installation.
An independent developer has published deskhatch, an open-source alternative: it installs any HTML from Claude, ChatGPT, Gemini, or your editor as a desktop app. The number in the headline is easy to explain. No separate program is built for each page.
There is one shared runtime of 5.5 MB (on macOS) that runs all of your apps. If each app were packaged with Electron, it would take about 100 MB.
How it works
A neural network writes a single HTML file, and deskhatch turns it into an app. The first command, npx deskhatch install page.html, installs a ready page. The second, npx deskhatch new "pomodoro timer with a tray icon and a daily log" --run, asks your model to write an app from a description and launches it right away.
You can use any model with an OpenAI-compatible API: local Ollama, LM Studio, or llama.cpp, or your own key for OpenAI, OpenRouter, Groq, Mistral, or DeepSeek. With your permission, the app can access notifications, a tray icon, global hotkeys, and folders you choose. Keys are stored in the system keychain and are not included in the package, so a .hatch file can be sent to a colleague: double-click it, and the app is installed.
Under the hood, the design is lean. The runtime is written in Tauri 2 and Rust. An app package is a folder with app.json (name, icon, window size, access level, hotkeys, model), index.html, and an icon. On installation it is copied to ~/.deskhatch/apps/<id>, and the shortcut launches the shared runtime with the right app. Nothing needs to be compiled. On Linux, the AppImage is about 80 MB and the .deb package about 4 MB, because it uses the WebKitGTK already on the system.
Compared with Claude's feature: deskhatch is MIT-licensed, works without a network or an account, lets you use any model instead of Claude and not count against your subscription limits, and supports macOS and Linux. Claude is available on macOS and Windows. Claude's full computer access is granted only to apps that you or your organization made (on Team and Enterprise plans), and it asks for permission again after every update. deskhatch does not verify authorship.
Access rights and security audit
A page written by a neural network is, in effect, someone else's code. So each app gets its own process, its own address, and its own storage. There are three levels:
- web (default): the page cannot reach the network, and the model is available only through the runtime;
- desktop: hosts from the allowedHosts list, notifications, the tray, and only the folders and files you select are allowed;
- full: the home folder is added, except sensitive locations such as ~/.ssh, ~/.aws, browser profiles, and mail.
If a package requests desktop or full access, global hotkeys, or replacement of an already installed app, the runtime shows a dialog and waits for your "yes." In non-interactive mode the default answer is "no"; scripts can use the --yes flag.
A day after release, the author reviewed the code through the eyes of an attacker who slips in a package from a stranger. Serious holes were found in all versions up to 0.2.4:
- a line break in an app name could replace the launch command in a Linux shortcut;
- a model address in app.json could send your API key to a third-party server;
- double-clicking a .hatch file installed and launched an app of any access level without asking;
- all apps lived at the same address and could see each other's localStorage.
All of this was fixed in 0.2.4, and 0.2.5 is the current version. The author is not aware of any cases where these holes were exploited. If you installed an older version, run npx deskhatch@latest update and manually delete the old folders in ~/.deskhatch/runtime/. Those who installed the .deb or Deskhatch.app should reinstall them from the latest release.
Limitations and what to do
The access levels are enforced by deskhatch's own code, not by an operating system sandbox. A bug in the runtime or in WebKit could bypass the rules. The list of protected paths is incomplete: a full-level app can modify documents, write hooks into .git/hooks, or rewrite scripts in ~/.cargo/bin. On macOS older than 14, there is no protective proxy. The model is accessible even at the web level, so an untrusted app can spend your paid API key. Windows is not supported yet.
The practical takeaway: for internal utilities that a team generates with a model, this is a way to distribute them as ordinary programs without a build step or vendor lock-in. With a local 7-billion-parameter model, such as qwen2.5-coder:7b, the new command produces a simple working app. For anything you would be comfortable handing to colleagues, use a stronger model through an API. Read index.html before installing, grant full access only to your own apps, and for truly untrusted code use a virtual machine or a separate user account. You need Node 18 or newer, and the code is on GitHub.
- Nov 27, 2026Claude Sonnet 5.5 Costs 32% to 304% of the Official Price at Russian Resellers
- Nov 27, 2026Agents Built a Hearthstone Bot in 20 Days and Raised Its Rating from 6,000 to 15,000
- Nov 27, 2026Hugging Face Hosts 95 GB of Cybersecurity Data, Including 600,000 HackerOne Reports
- Nov 27, 2026Seven of the Top 10 Repos on GitHub Trending This Week Are About Skills for AI Agents
Key Questions Answered
How it works?
A neural network writes a single HTML file, and deskhatch turns it into an app. The first command, npx deskhatch install page.html, installs a ready page. The second, npx deskhatch new "pomodoro timer with a tray icon and a daily log" --run, asks your model to write an app from a description and launches it right away. You can use any model with an OpenAI-compatible API: local Ollama, LM Studio, or llama.cpp, or your own key for OpenAI, OpenRouter, Groq, Mistral, or DeepSeek.
What are the key details on Access rights and security audit?
A page written by a neural network is, in effect, someone else's code. So each app gets its own process, its own address, and its own storage. There are three levels: web (default): the page cannot reach the network, and the model is available only through the runtime; desktop: hosts from the allowedHosts list, notifications, the tray, and only the folders and files you select are allowed; full: the home folder is added, except sensitive locations such as ~/.ssh, ~/.aws, browser profiles, and mail.
What are the key details on Limitations and what to do?
The access levels are enforced by deskhatch's own code, not by an operating system sandbox. A bug in the runtime or in WebKit could bypass the rules. The list of protected paths is incomplete: a full-level app can modify documents, write hooks into .git/hooks, or rewrite scripts in ~/.cargo/bin. On macOS older than 14, there is no protective proxy. The model is accessible even at the web level, so an untrusted app can spend your paid API key. Windows is not supported yet.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
