Paper Mirror

Experience your Paper design in a real browser

Select a frame in Paper and Paper Mirror shows it in your browser as real HTML and CSS. Edit the frame and the page follows.

View on GitHub
localhost:47831

Get started

Install it once, in about a minute, and your mirror is always a bookmark away. You need Paper Desktop and Node.js 22 or newer.

  1. Run this once in Terminal, or PowerShell on Windows. macOS may show a “Background Items Added” notice: that is the helper.

    npx paper-mirror install
  2. Open localhost:47831 in your browser and bookmark it. You won’t need the terminal again.

  3. Select a frame in Paper. The preview appears.

From then on the helper starts by itself when you log in, and updates itself from npm. Only want a quick look first? Run npx paper-mirror without “install” and it works until you close the terminal. To remove it, run npx paper-mirror uninstall.

Host your own copy

No Node.js, or want your own address and your own code? Host a copy on Vercel’s free plan. It takes about 10 minutes, once, and needs free GitHub and Vercel accounts.

  1. Fork the repository on GitHub.

  2. Import your fork into Vercel and deploy. The default settings work.

  3. Open your site. It shows one line to paste into Terminal, or PowerShell on Windows.

    curl -fsSL https://your-site/install | sh
  4. Go back to your site and select a frame in Paper. The preview appears.

The helper brings its own copy of Node.js, starts by itself at login and updates from your site. When it isn’t running, your site shows the line to run. One line in Terminal removes it again.

Using it

Once it is installed, every day is the same: open Paper, then open your bookmark. The preview follows the frame you are working in.

  • Select a frame: it appears as a real web page, at its real size.

  • Select a layer inside it: the preview stays on that frame. Select another frame and it switches.

  • R and Space: R refreshes now. Space pauses and keeps the current preview on screen.

  • Close Paper: the page waits on “Select a frame in Paper”, and picks your selection up by itself when Paper is back.

  • Close the tab: the helper stops reading Paper at once.

How it works

Paper only shares designs with programs on your computer, and blocks web pages from asking. So Paper Mirror has two parts.

  • The helper: a small program on your computer. It reads the frame you select and streams it to your open tab.

  • The mirror page: where you watch. From npm, the helper serves it itself at localhost:47831. On Vercel it is your own site, and your frames never go to it.

What you see is the frame rebuilt as static HTML and SVG. Text, web fonts and Paper shaders are live. Buttons and inputs look right but do not respond.

Modes: Saver and Live

Paper counts the calls tools make against a weekly allowance: about 100 on the free plan and 1 million on Pro. Two modes let you choose how much the mirror spends.

  • Saver, the default: about one call per update you see, and none while idle. Layout edits show a second after you stop. Color and text edits show when you return to the tab.

  • Live: about one call a second while the tab is visible. Every edit shows within a few seconds. It rests after 5 minutes without changes, so a tab left open over lunch doesn’t use up your week. Best on Paper Pro.

If the allowance runs out, the mirror keeps the last frame on screen and stops spending calls.

Privacy and security

Paper Mirror runs on your computer, from npm or from your own Vercel site. There is no Paper Mirror server or account between Paper and your browser.

  • Designs stay on your computer: they go from Paper to the helper to your tab, and never reach npm or Vercel.

  • The helper is local: it listens on 127.0.0.1 only, answers only its own page or your site, and reads Paper only while a mirror tab is open.

  • Nothing from Paper runs: the frame is rebuilt from an allow-list of HTML and SVG and shown in a sandboxed frame.

  • Nothing is collected: no telemetry, tracking or cookies. The preview only fetches web fonts and the images in your frame.

  • You choose what to trust: installed from npm, the helper takes each new release of the paper-mirror package. Host your own fork to run only code you have reviewed.

Works with

Paper Desktop on a Mac, with any current browser. The npm route also needs Node.js 22 or newer.

  • Installed from npm: every browser opens the same page, localhost:47831.

  • Your own site in Chrome and Edge: allow local network access when asked.

  • Your own site in Firefox and Safari: nothing else to do.

  • Not yet tested: Windows, and the npm install starting at login and updating itself.

Pricing

Free. Paper Mirror is open source under the MIT license.

  • Hosting: none needed from npm. Your own copy runs on Vercel’s free plan.

  • Paper: Saver mode fits Paper’s free plan. Live is meant for Paper Pro.

  • Contributing: fork it, make it better, raise a PR.