Skip to content
hyperyaiPublic

About

A desktop AI app from one prompt: Claude Code + Install as app + Hypery (auth, AI, agents, payments)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Deskmate

A native-feeling Mac desktop AI app built with Claude Code and Claude's new Install as app, with Hypery as the whole backend: sign-in, teams, ~1,000 models, image generation, agents with subagents, and credits. One HTML file, no server, no build step, no app store.

Deskmate: two taco pictures from one prompt, in a native macOS window

  • Sign in with your Hypery account (device code, approved in your browser)
  • Pick the team that pays; its credits show in the toolbar
  • Chat with any of ~1,000 models (searchable picker)
  • Auto / Ultra orchestration from the Hypery SDK: helpers (planner, explorer, reviewer) run in parallel on the models an orchestration skill picks
  • Image generation as a tool, so any chat model can make pictures
  • Chat history in a native macOS sidebar

Architecture

What's here

Path What it is
app/index.html The whole app (~730 lines, including CSS and markup).
skills/hypery/SKILL.md A Claude Code skill that teaches Hypery as a backend. Copy it to .claude/skills/.
llms.txt The same guide for any other agent.
PROMPT.md The first prompt that produced v1.
docs/findings.md 22 things we learned about Install as app, Hypery and the SDK.
probe/probe.html A tiny page that reports what an installed artifact can reach.

Run your own

  1. Hypery client ID. hypery.ai → Your apps → Create app; scopes read ai:chat ai:models billing:read; Settings → turn on Sign in from other devices. Put the client ID in CLIENT_ID in app/index.html.
  2. Publish it from Claude Code (the Claude desktop app's Code tab): ask Claude to publish app/index.html as an artifact with the desktop capability.
  3. Install it. Open the artifact in Claude Desktop (a current version), choose Install as app, and allow full access.

Or start from scratch: copy the skill into your project and ask Claude Code for the app you want.

How it works

Artifacts can't fetch() other sites, but an installed app with full access can run processes. A 40-line curlFetch turns curl into a standard fetch that returns a streamed Response, and the Hypery SDK runs on top of it unchanged. Details in docs/findings.md.

Checks

node scripts/check.mjs                                   # syntax, curlFetch edge cases, single-flight token refresh
npx @biomejs/biome@2.2.0 lint scripts/.app.mjs scripts/check.mjs   # lint (run check.mjs first; it extracts the app script)

GitHub Actions runs both on every push and pull request (.github/workflows/ci.yml).

The app was also code-reviewed (high effort); the 10 findings, including a token-refresh race, a curlFetch hang on unexpected curl output and chat history surviving sign-out, are fixed and covered by the checks above where they can be tested without a browser.

License

MIT

About

A desktop AI app from one prompt: Claude Code + Install as app + Hypery (auth, AI, agents, payments)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages