ai newsDi., 1. Dez.

Offline-Alternative zu Claudes "Install as App": deskhatch startet ohne Login

Anthropics neue Funktion Install as App in Claude Desktop funktioniert nur online und angemeldet. Das Open-Source-Tool deskhatch installiert beliebige HTML-Seiten als Desktop-App, offline auf macOS und Linux, mit einem 5,6 MB kleinen notarisierten Runtime.

dev.toDonnerstag 05:13 · 26.11.DE6 Min. Lesezeit
Bild: dev.to

Veröffentlicht am 26. Nov. • Original erschienen auf besk.tech

Claudes neue Funktion Install as app öffnet Apps nur online und angemeldet, auf Mac oder Windows. deskhatch installiert jedes HTML als Desktop-App offline, auf macOS und Linux, aus einer einzigen 5,6 MB großen macOS-Runtime, die Apple einmal pro Release notarisiert hat.

Am 24. November fügte Anthropic die Funktion Install as app zu Claude Desktop hinzu. Ein Claude-Artifact erhält ein eigenes Icon und Fenster und öffnet sich wie jede andere App, allerdings nur online, bei Claude angemeldet, auf einem Mac oder einem Windows-PC. Am nächsten Tag veröffentlichte ich deskhatch, eine offene Version für HTML von überall. Es funktioniert offline, läuft auf macOS und Linux und ruft das Modell deiner Wahl auf. Jede App läuft auf einer einzigen Runtime: 5,6 MB auf macOS, einmal pro Release signiert und notarisiert. Notarisierung ist Apples automatisierte Prüfung auf Malware und Signierungsprobleme, keine Sicherheitsprüfung von deskhatch.

Anthropic stellt die Funktion für Wissensarbeiter und Entwickler vor. Die Hilfeseite schlägt Anfragen vor wie einen Pomodoro-Timer in der Menüleiste oder eine Erinnerung, sich jede Stunde zu strecken. Eine installierte App kann auf Browser-Ebene bleiben, nach Benachrichtigungen, Shortcuts und einem Menüleisten-Eintrag fragen oder Vollzugriff erhalten, womit sie Programme ausführen und Dateien lesen, ändern oder löschen kann, ohne jeweils zu fragen.

Die Hilfeseite listet auch die Einschränkungen auf, Stand 25. November 2026:

Die Funktion wird derzeit als Beta auf den Free-, Pro-, Max-, Ultra-, Team- und Enterprise-Plänen ausgerollt. Auf Enterprise muss ein Eigentümer sie zuerst aktivieren.

Für jemanden, der den ganzen Tag in Claude arbeitet, ist das kein Problem. Ein Problem ist es für HTML, das von irgendwoanders stammt, für ein Laptop ohne Netzwerkverbindung und für Linux.

deskhatch macht dasselbe mit HTML von überall: Claude, ChatGPT, Gemini, einem Editor, einer alten Seite.

Eine App ist ein Ordner mit drei Dateien: app.json, index.html und icon.png. Das ist das Manifest des Pomodoro-Beispiels aus dem 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" } } Enter fullscreen mode Exit fullscreen mode Und das ist alles, was die Seite braucht, um ein Protokoll zu führen, zu benachrichtigen und auf einen Hotkey zu reagieren:

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 ( ); } ); Enter fullscreen mode Exit fullscreen mode npx deskhatch export my-app packt den Ordner in eine.hatch-Datei. Die andere Person installiert sie mit einem Befehl oder zieht sie auf die Runtime. Es gibt keinen Store und keinen Account.

Ich habe gemessen, was eine Installation auf einem Mac hinterlässt. Das installierte Paket des Pomodoro-Beispiels ist 20 KB. Sein Launcher in Applications ist 148 KB. Mit bereits heruntergeladener Runtime dauerte die Installation 0,47 Sekunden.

Ich habe viele Desktop-Apps einzeln gebaut und signiert. Um jemandem auf einem Mac eine App ohne Gatekeeper-Warnung zu übergeben, muss sie mit einer Developer ID signiert und von Apple notarisiert sein. Das erfordert eine bezahlte Mitgliedschaft im Apple Developer Program und eine Signierungs- und Notarisierungsrunde für jeden Build.

deskhatch verlagert diese Arbeit an einen Ort. Die Runtime wird einmal pro Release signiert und notarisiert, und spctl meldet sie als Notarized Developer ID. Eine App ist kein Programm. Sie ist ein Ordner mit Dateien, den die Runtime öffnet, braucht also keine eigene Signatur, und die installierende Person braucht keinen Apple-Account.

Auf macOS verleiht die Option --standalone einer App eine eigene Kopie der Runtime, etwa gleicher Größe, sodass das System den eigenen Namen der App in der Menüleiste und im App-Switcher anzeigt. Diese Kopie wird auf dem Rechner des Nutzers erzeugt und dort ad hoc signiert. Sie durchläuft nie einen Browser-Download, trägt also kein Quarantine-Flag. Gatekeeper prüft diese Kopie nicht, und die Notarisierung der Runtime deckt sie nicht ab.

In jeder Stufe wird das Modell über die Runtime erreicht. Die Runtime ist so gebaut, dass sie die Stufe in Rust und über die Content-Security-Policy der Seite durchsetzt, sodass das HTML seine eigene Stufe nicht sollte anheben können. Eine Web-App darf keine Netzwerkanfragen stellen, keine Remote-Skripte laden und keine Dateien lesen. Jede Seite wird daran gehindert, von ihrem eigenen Paket wegzunavigieren oder ein neues Fenster zu öffnen. ~/.ssh, ~/.gnupg, ~/.aws und deskhatchs eigener Ordner sind in jeder Stufe blockiert.

Zwei dieser Regeln entstanden durch den Abgleich dieses Artikels mit dem Code. Version 0.2.2 ließ eine Seite per location.href weggehen, was die Content-Security-Policy nicht abdeckt, und ließ volles Lesen außerhalb des Home-Ordners zu. Beides ist in 0.2.3 behoben, und das Repository enthält einen Test, der auf 0.2.2 fehlschlägt und jetzt besteht. Wenn du 0.2.2 installiert hast, aktualisiere. Niemand hat deskhatch unabhängig auditiert, betrachte diese Regeln also als Designziele, nicht als Zertifizierung.

Es gibt keine API, um ein Programm zu starten, in keiner Stufe. Das macht full nicht harmlos: Es kann jede Datei in deinem Home-Ordner schreiben, einschließlich Shell-Startup-Dateien, und Code dort läuft bei deiner nächsten Anmeldung. Gib full nur Apps, die du selbst geschrieben hast oder denen du vertraust. Claudes Full access kann direkt Programme ausführen.

Claudes Version hat Dinge, die meine nicht hat. Ihre Apps nutzen die Connectors, die du in Claude eingerichtet hast, sie aktualisieren sich, wenn du das Artifact bearbeitest, und sie laufen auf Windows. Für eine App, die andere Programme starten muss, ist deskhatch das falsche Werkzeug.

npx deskhatch gallery npx deskhatch install examples/pomodoro npx deskhatch new "a pomodoro timer with a tray icon and a daily log" Enter fullscreen mode Exit fullscreen mode new sendet die Anfrage und die hatch-API-Referenz an dein Modell, nimmt das HTML aus der Antwort und installiert es. Ich habe nicht gemessen, wie oft ein lokales Modell es beim ersten Versuch richtig macht. Der npx-Wrapper braucht Node 18 oder neuer. Auf Linux kommt die Runtime als AppImage oder.deb; keines von beiden ist bisher signiert.

Windows ist der Punkt, an dem ich Hilfe brauche. Tauri, auf dem deskhatch aufbaut, unterstützt Windows als Ziel, aber das Release enthält noch keinen Windows-Build. Was fehlt, ist in Issue #1 aufgelistet:

Code-Signing für SmartScreen kann warten. Ein Pull Request zu einem dieser Punkte ist willkommen, und ich prüfe und merge ihn selbst. Ein Daumen nach oben auf #1 entscheidet über die Reihenfolge der Arbeit.

Drei weitere Punkte sind offen: Streaming-Antworten von hatch.llm.chat ( #3 ), der Import eines Claude-Artifacts über seinen Share-Link ( #4 ) und der App-Name auf macOS, wo eine App auf der gemeinsamen Runtime in der Menüleiste Deskhatch heißt, sofern sie nicht mit --standalone installiert wurde ( #2 ).

deskhatch ist ein unabhängiges Open-Source-Projekt. Es steht in keiner Verbindung zu Anthropic, wird von Anthropic weder unterstützt noch gesponsert. Claude ist eine Marke von Anthropic.

Wenn auf deinem Rechner etwas nicht funktioniert, öffne ein Issue und sage mir, was du ausgeführt hast. Wenn du etwas damit baust, hat das Repository eine Showcase-Datei, die Pull Requests annimmt, und ein Stern zeigt mir, dass sich die Idee weiterzuverfolgen lohnt. deskhatch steht unter der MIT-Lizenz.

Vladimir Beskorovainyi, Enterprise AI Architect & CTO, Autor des Amazon-Bestsellers "Enterprise AI: The KATA Way", Gründer von Besk Tech (besk.tech)

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

Posted on Nov 26 • Originally published at besk.tech

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.

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:

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.

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

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" } } Enter fullscreen mode Exit fullscreen mode 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 ( ); } ); Enter fullscreen mode Exit fullscreen mode 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.

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.

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.

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.

npx deskhatch gallery npx deskhatch install examples/pomodoro npx deskhatch new "a pomodoro timer with a tray icon and a daily log" Enter fullscreen mode Exit fullscreen mode 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.

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:

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.

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

Originaltitel: Claude's Install as App Needs You Online. I Built an Open Version That Doesn'tQuelle: dev.to (dev.to). Original öffnen