Skip to content
sinhong2011Public

About

Turn websites into standalone desktop apps. Build, install, update, and manage your web apps — all locally.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

98 stars

Watchers

0 watching

Forks

Latest commit

 

History

145 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MyPack

Any website. Any desktop. One beautiful native builder.

Turn a website, or a local HTML project, into a real, standalone desktop app in a few clicks. No Go, Rust, Node or Xcode project required.

License: Apache-2.0 CI Go Platforms PRs welcome Listed on Awesome MyGo

English · 繁體中文 · 简体中文 · 粵語 · Español · Français · 日本語

Features · Install · Getting started · CLI & agents · Contributing · Inspiration

MyPack Library

Paste a URL  →  confirm name & icon  →  Build  →  Install & Open

MyPack is free and open source under the Apache License 2.0. Every feature is included: no app limits, no license keys, no account.

Why MyPack?

A lot of our work lives in web apps, but a browser tab is a poor home for them. Tabs get lost among other tabs, every site shares one set of cookies, and none of them get their own Dock icon, notifications or window.

MyPack gives each site a proper app of its own, and then keeps looking after it:

  • No toolchain on your machine. MyPack doesn't compile anything. It uses a small prebuilt runtime and writes your app's settings into it, so a build takes seconds.
  • Apps that stand on their own. Every app has its own name, icon and separate sign-in, uses the system WebView, and keeps working if you uninstall MyPack.
  • Looked after, not just made. Update an app in one click without losing your logins (if an update fails, the previous version comes back), repair it, or move it to another computer.

Features

Making apps

  • 🌐 From any website: MyPack fetches the name and the best icon. You can change both, or design an icon in the Icon Studio.
  • 📁 From local projects: an HTML file, a folder with index.html, or a Vite, CRA, Astro, Nuxt, SvelteKit or Next export. MyPack runs the project's build first, but only after you approve it.
  • 🧭 Discover: dozens of popular sites, one click to start. The list is a plain JSON file that anyone can add to.
  • 🗂️ Group apps: several sites in one window, with a side rail, a separate session per site and split view.
  • 📥 Pake configs: bring your Pake pake.json along.

Inside the apps you make

  • 🔔 Web notifications and a Dock badge for unread counts
  • 🎵 Media keys and Now Playing for music and video sites (macOS and Linux; Windows already has them)
  • 🔗 Links between your MyPack apps open in the right app
  • 🪟 Window modes: normal, compact, sidebar, or in the menu bar
  • 📑 Tabs with pinned pages
  • 🛡️ Content blocking, custom CSS and JavaScript, proxy and user-agent settings
  • 🔑 Sign-in pop-ups (Google, Microsoft and others) that just work

Managing them

  • 📚 A Library of everything you made, with Install & Open, Update, Repair and Uninstall
  • 🔄 Library sync across computers through a shared folder such as iCloud Drive, or export and import .mypack files
  • 🧩 An optional browser extension that turns the tab you're on into an app
  • 🌏 Seven languages: English, 繁體中文, 简体中文, 粵語, Español, Français, 日本語

For developers and AI agents

  • ⌨️ A headless CLI with --json output and stable exit codes
  • 🤖 A built-in MCP server, so Claude Code, Codex and other agents can create and build apps for you. MyPack itself has no built-in chat or LLM.

A look around

New App: paste an address, check the name and icon, pick how the app looks A build in progress, step by step
New App: paste an address, check the name and icon, choose a window style Build: a few seconds, every step shown
The app is built, installed and opened An app's settings with a Dock preview
Done: installed and opened in one click App settings: window mode, title bar, appearance, and how it looks in your Dock
Discover: popular websites, one click to start Builds: every build with its status, platform and duration
Discover: popular sites, one click to start Builds: every build, from the app, the CLI or an agent

The menu bar flyout: paste an address, open a recent app, follow builds
Menu bar: paste an address, jump to a recent app, follow builds without opening the window

How it works

               ┌───────────── MyPack (the builder) ─────────────┐
  website /    │  name & icon  →  mypack.json  →  assemble app  │      your app
  folder   ──▶ │                                       ▲        │ ──▶  .app / .exe /
               └───────────────────────────────────────┼────────┘      Linux folder
                                                       │
                          prebuilt runtime, downloaded once from a
                          signed (Ed25519) registry, verified and cached

The runtime is one small binary per platform that knows nothing about any particular website. MyPack copies it, adds your app's name, icon and mypack.json, and on macOS signs the result. The details are in ARCHITECTURE.md.

MyPack (the builder) Apps it makes
macOS (Apple silicon & Intel) ✅ Main platform: Homebrew or .dmg ✅ WKWebView
Linux (x64 & arm64) 🧪 APT, DNF/Zypper, AUR, .deb / .rpm ✅ WebKitGTK, tested on Ubuntu 24.04
Windows (x64 & arm64) 🧪 winget, Scoop, Chocolatey, setup .exe 🧪 WebView2, less tested

Getting started

Install

Download for macOS Download for Windows Download for Linux

macOS with Homebrew:

brew install --cask sinhong2011/tap/mypack

Windows with winget, Scoop or Chocolatey:

winget install MyPack.MyPack
scoop bucket add mypack https://github.com/sinhong2011/scoop-bucket
scoop install mypack/mypack
choco install mypack

Debian and Ubuntu (APT):

curl -fsSL https://sinhong2011.github.io/mypack/mypack.gpg | sudo tee /usr/share/keyrings/mypack.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/mypack.gpg] https://sinhong2011.github.io/mypack/apt stable main" | sudo tee /etc/apt/sources.list.d/mypack.list
sudo apt update && sudo apt install mypack

Fedora, RHEL and openSUSE (DNF, YUM, Zypper):

sudo curl -fsSL -o /etc/yum.repos.d/mypack.repo https://sinhong2011.github.io/mypack/rpm/mypack.repo
sudo dnf install mypack        # or: sudo zypper install mypack

Arch Linux from the AUR:

yay -S mypack-bin

Every Release also has the installers to download directly: a .dmg for macOS (Apple silicon and Intel), setup programs for Windows (x64 and arm64), .deb and .rpm packages for Linux (x64 and arm64), and plain archives of the app and CLI.

Each package manager installs the app and puts a mypack command on your PATH (on Windows, mypack from Scoop, or mypack.exe from the archive), and updates it with that manager's own upgrade command. The Linux packages need GTK 3 and WebKitGTK, which they pull in.

Note

Releases aren't signed yet. On macOS, if Gatekeeper blocks the first launch, right-click MyPack.app and choose Open (Homebrew users can run xattr -dr com.apple.quarantine /Applications/MyPack.app). On Windows, SmartScreen may ask you to confirm (More info › Run anyway).

Build from source

To work on MyPack itself, you need Go 1.27.3 or newer. With GOTOOLCHAIN=auto (the default), Go fetches the right version for you.

git clone https://github.com/sinhong2011/mypack.git
cd mypack
make runtimes   # build the app runtimes and sign them with a local dev key
make app        # build dist/MyPack.app (macOS)
open dist/MyPack.app

make dmg also makes a drag-to-Applications disk image. To look around without building anything, make run-fake starts the app with demo data.

Make your first app

  1. Click New App (⌘N) and paste an address, for example github.com.
  2. Check the name and icon.
  3. Click Build, then Install & Open.

You can also drop an HTML file or a folder onto the window, or pick a site in Discover.

CLI and AI agents

The app's binary is also the CLI:

# installed by a package manager, mypack is already on your PATH; otherwise:
alias mypack=/Applications/MyPack.app/Contents/MacOS/MyPack

mypack create github.com --json          # a draft project; nothing is built yet
mypack build <project-id> --yes --json   # build it (--yes allows the runtime download)
mypack install <artifact-id> --open
mypack apps list

With --json, every command prints one JSON object. Exit codes are stable: 0 ok, 1 error, 2 usage, 3 invalid input, 4 runtime or network, 5 build failed, 6 approval required, 130 cancelled. Run mypack help for every command.

MCP server. Connect an agent with:

claude mcp add mypack -- mypack mcp serve

Settings › Agent Connections in the app has ready-to-copy setups for Claude Code, Codex and other MCP clients. Agents can list, create and build projects, but they can't install apps, and a project's build script only runs after you approve it.

Browser extension (optional). See docs/companion.md.

Project layout

cmd/          entry points: the app, the CLI, the browser native-messaging host
runtime/      the runtime inside every app MyPack makes
internal/     builder, installer, service, storage, CLI, MCP server and the app's UI
pkg/config/   the mypack.json format (and Pake import)
catalog/      the Discover catalog, discover.json
apps/         the browser extension (WXT + SolidJS)

Releases

A release is a vX.Y.Z tag pushed on main. The Release workflow tests that commit, then GoReleaser builds unsigned binaries for macOS, Linux and Windows and publishes them, with checksums, to a GitHub Release whose notes list the pull requests merged since the last one. mygo build adds installers to the same Release: a macOS disk image, Windows setup programs, and Debian and RPM packages. For stable releases the workflow then updates the Homebrew cask, the Scoop bucket, winget, Chocolatey, the AUR package and the APT and RPM repositories. Discover catalog edits reach users without a release. Signed macOS builds are not part of this pipeline yet; docs/releasing.md lists what they need and how the package managers are set up.

Contributing

Contributions of every size are welcome:

  • Add a site to Discover: edit catalog/discover.json. It reaches every user within a day, no release needed.
  • Report a site that misbehaves with the Website compatibility issue form.
  • Test on Linux and Windows: this is where help matters most right now.
  • Translate, fix bugs, improve the docs.

Start with CONTRIBUTING.md. Please report security problems privately as described in SECURITY.md, and follow the Code of Conduct.

Inspiration and thanks

MyPack stands on the shoulders of two projects:

  • Pake by tw93 showed how good a website can feel as a small, focused desktop app, and how many people want that. MyPack takes the same idea a different way: a prebuilt runtime instead of a build toolchain, and a native app for making and looking after your apps over time. It reads Pake configs, so you can bring yours along.
  • MyGo by egoist is the pure-Go native UI toolkit behind MyPack's interface and the apps it makes: no Electron, no web front end, no cgo.

Thanks also to Lucide for the icons and to modernc.org/sqlite. All third-party notices are in NOTICE.

License

MyPack is licensed under the Apache License 2.0.

The name "MyPack" and its logo are trademarks and aren't covered by the code license. If you distribute a modified build, please give it a different name and icon; see TRADEMARKS.md. Forks that distribute builds should host their own runtime registry and sign it with their own key.

About

Turn websites into standalone desktop apps. Build, install, update, and manage your web apps — all locally.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

98 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages