Repository navigation
Releases
Apargon 0.8.0
Security
- The yes now also covers each
.jsand.cssfile, and each other.pappfile, that a.pappfile loads. A change to one asks again. Before, only the.pappfile's own bytes counted. - Not covered: code loaded under any other ending, and a file the
.pappfile may write itself. - A
.pappfile can now do these without a tag: keep the screen awake, read each screen's size and place, see when the user is idle, list installed fonts, lock the keyboard, ask to keep its storage, and pick a speaker. None of them reaches off the computer.
New
- The web's
Notificationworks withpapp-use notifications. - A download, such as
<a download>, saves through Apargon's save dialog. - When a script or style changed since the yes, the popup names the file.
Changed
papp.displays()is gone. Usewindow.getScreenDetails().papp.notifyanswers'click'when the user clicks the notification itself. Before, it answerednull.
Fixed
papp.notifygives an error when the system refuses the notification. Before, it never answered.
Apargon checks for a new version once a day when a .papp file opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.7.0
Security
- A pick to write now lasts until the
.pappfile closes. Before, a file or folder you picked or saved to stayed writable for good, even after a restart. To keep a folder writable, name it inpapp-write.
New
- When a papp crashes or runs out of memory, Apargon asks whether to reload it or quit. Before, its windows stayed blank.
Changed
papp.picks()is gone. Callpapp.pickagain when the app opens, or name the folder inpapp-write.- Apargon keeps its data in
~/.apargon/.dataon every OS. Nothing moves over from before: each.pappfile with tags asks again, saved secrets aren't read, windows open at their default place, and the automatic update check is on again. - You can delete the old data folder:
~/Library/Application Support/Apargonon macOS,~/.config/Apargonon Linux,%APPDATA%\Apargonon Windows. - The papp skill's first example works as written, and its
papp-writeexamples use a path from the.pappfile's folder or~/.
Fixed
- Live reload no longer reloads when only a file's attributes change, such as its Finder icon or tags.
- A PDF shows inside a frame.
- A papp that fails to start shows the error and quits. Before, it stayed open with no window.
- macOS: a papp's Dock icon uses less memory.
- Finder and Windows call a
.pappfile a "papp file", not a "papp page".
Apargon checks for a new version once a day when a .papp file opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.5.1
Security
- The popup groups its lines under headings: "Change files in", "Use", "Send your files to", "Control", "Share with its programs" and "Also".
- The full place a line names, such as a folder's path, now shows when you hover over the line or focus it, not under it. Two
papp-writefolders with one name show their places in full. - What This File Can Do… groups its lines the same way.
- Every
.pappfile with a tag asks again once, as the popup's lines changed. The popup says the file changed since you said yes. It didn't. SECURITY.mdnow names these gaps. 0.5.0 had them too:- Linux: a
papp-writefolder on a network drive is not hidden, and what's written there leaves the computer. - Linux in a virtual machine:
papp-socketreaches the machine's host. - macOS: a
.pappfile withpapp-write all, orpapp-writeon~/Library/Logs, can change the egress log. - macOS: a file that
papp.*writes over is not marked as downloaded, and neither is what programs write underpapp-write all. - Windows: a
.pappfile writes to your temp folder, which other apps share.
- Linux: a
SECURITY.mdnow says macOS 13 or newer. It said 12.
Changed
- A
.pappfile withpapp-readorpapp-openis still refused, now as an unknown tag. The message no longer says what to write instead.
Apargon checks for a new version once a day when a page opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.5.0
Security
- Apargon now keeps one promise: a
.pappfile can't send anything off your computer unless you said yes. Each tag is that yes, one line in the popup. - A
.pappfile with no tags now reads every local disk. Before, it saw only its own folder. It writes only its own folder,~/.apargon/<id>, has no network, and opens with no popup, downloaded or not. - All network goes through Apargon's proxy,
localhosttoo. The proxy checks that a site is allowed before it looks up its name. papp-nettakes exact sites only, no*. Links open only to a site inpapp-net. Any other link is dropped, with no dialog.- A yes belongs to the file's exact bytes. Any change, even a comment, asks again. So does a tag that now leads to another folder or program.
- The popup no longer asks you to tick "I trust this page".
- Programs from
papp-runget the same limits as the.pappfile: they read everything, write only its folders, reach only its sites, through the proxy, and get only itspapp-envvariables. - macOS: files a
.pappfile or its programs write are marked as downloaded, so the Mac asks before one runs. - Windows: files Apargon writes for a pick or
papp.saveare marked as downloaded. - Approvals, picks, window places and secrets are kept in Apargon's own data, where no
.pappfile writes. - A
.pappfile quits if Apargon's own process dies. - A
.pappfile whose name or folder has a line break is refused. - macOS: network drives and cloud folders (iCloud Drive, Dropbox and the like) can't be read without
papp-use cloud. - macOS: no mounting, no opening other apps, no Apple Events, and only the basic devices. Programs get no system services.
- Linux: Apargon runs on GNOME with Wayland. On X11 it asks first, as there any app can type into and read other windows. Other desktops are refused until tested.
- Linux: a
.pappfile and its programs can't reach D-Bus or any socket file. Network drives, and drives plugged in after it opens, stay hidden. - Linux: sound passes through a filter that allows only playing and recording on the default device.
- Windows: a
.pappfile reads the folders at the root of each local drive and your user folder. Network drives are skipped, and OneDrive unlesspapp-use cloud. - Windows:
papp-runno longer needs "I trust this page". A program can still make Windows look up a name, as in\\<data>.example.com\x. That's Microsoft's to fix, and it has been reported. - Apargon tells you, but doesn't block: an allowed site can receive any file you have. Code written with
papp-writecan run later, outside Apargon. Dropbox and iCloud upload what's written in their folders. - A hard link already inside a
papp-writefolder reaches the file it links to. - Linux:
papp-socketturns the socket block off. The popup says "Control any program on this computer". - Linux: with
papp-use sound, a.pappfile plays to your default speakers, even when they are on the network. ~in a path can no longer lead elsewhere when the home folder's name has a$.- Linux and Windows: Apargon no longer decodes an image a
.pappfile sends with a notification. The icon arrives as plain pixels. - minimatch updated to 11.0.3 (GHSA-g3hv-75wg-m249).
New
papp.folder: its own folder, the one place it writes without a tag.papp.pickneeds no tag and restarts nothing. Picks are kept after a restart. Withwrite: true, Apargon writes the picked file, or plain file names in the picked folder.papp.picks()lists them.papp.savesaves one file where you pick. It can replace a file, after the OS asks.papp.getSecret,papp.setSecretandpapp.deleteSecretkeep keys sealed with your computer's own store.papp-write all: change any file but Apargon's own.papp-run unfenced: one program with no limits.papp-run ./bin/toolruns a program the.pappfile ships.papp-listen, orpapp-listen network: Apargon answers requests for the.pappfile, from this computer or your network.papp.listengets each one.papp.connect: a TCP connection, with or without TLS, to a site inpapp-net. For database, mail or chat clients.papp-window: size, minimum size, resizable, title bar, frame, see-through, on top, every Space, click-through, hidden from screen sharing, no dock icon, blur and no Apargon mark.papp.windowmoves, resizes, minimizes, maximizes, fades and shows the window.papp.displayslists the screens.window.openon its own file takespapp-windowsettings for that window.- Windows reopen where you left them.
- New
papp-usefeatures:background,login,usb,serial,hid,midi,cursor,cloud, and on macOSbroadcasts,shareandbluetooth. papp.print()andwindow.print()open the system print panel, with no tag.papp.pdf()makes a PDF of the window.papp.menu,papp.contextMenuandpapp.onMenu: menus of its own.papp.traytakes items, a checkbox or radio button, an icon, and clicks for a tray popover.papp.progress,papp.badgeandpapp.attentionon the dock or taskbar icon.papp.onSystem,papp.powerandpapp.keepAwake: sleep, wake, lock, battery, idle time, and keeping the computer awake.papp.trashmoves a file to the Trash.papp.quitandpapp.closeWindowend it or close its window.papp-global-shortcut anyletspapp.shortcutspick keys while it runs. Media keys work alone, likeMediaPlayPause.- Notifications show the
.pappfile's icon and up to three buttons. - The favicon can come from a site in
papp-net. - Linux and Windows: each
.pappfile has its own taskbar icon and title. - Windows: camera, microphone and location work.
papp-nettolocalhostworks, through the proxy.
Changed
Every .papp file needs an edit:
- Add
<meta name="papp-id" content="<uuid>">. A file without one doesn't open. Its folder and secrets follow the id through renames and new versions. - Each
.pappfile asks again once, and starts with emptylocalStorageand IndexedDB, kept now in its own folder. papp-readis gone: every.pappfile reads the local disks. Remove the tag.papp-openis gone: put its sites inpapp-net.papp-nodeis nowpapp-system, with nocontent. It can't be combined withpapp-write,papp-run,papp-net,papp-socket,papp-listenorpapp-env.@electron/remoteis gone.papp-shortcutis nowpapp-global-shortcut.papp-writetakes one folder, no*. Not your home folder, or one that holds it.papp-nettakes a host and an optional port, 443 if none. No scheme, no*.papp-usetakes one feature per tag.papp.saveAsis nowpapp.saveAll.papp.readFiletakes its options in one object:{ encoding: null }for bytes,{ offset, length }for part of a file.papp.rmremoves a folder only with{ recursive: true }.papp.watchgives a handle:close()stops it,closedresolves once it has stopped.papp.spawn:kill()is nowclose(), anddoneis nowclosed.papp.runkeeps up to 64 MB of a program's output. Past that, it stops the program and fails. Usepapp.spawnfor more.papp-listen: with 32 requests waiting for an answer, the next one gets 503.papp.opentakes only anhttp(s)link to a site inpapp-net. It no longer opens files or folders.- Permissions → This Page's Permissions… is now What This File Can Do…, and Approved Pages is now Files You Said Yes To.
- Linux: KDE, sway and other desktops on Wayland are refused for now. Ubuntu 24.04 or newer is needed.
- Windows:
papp-socketandpapp-use bluetoothrefuse the file, for now.
Fixed
- A local video can seek.
- Live reload follows only the
.papp,.cssand.jsfiles it loaded. A file it saves itself no longer reloads it. papp.copyFileno longer loads the whole file into memory.- Saving, and writing to a file or folder you picked, streams the file. It no longer freezes the
.pappfile or fails past about 380 MB. papp.readFilewith{ encoding: null },papp.writeFileandpapp.appendFilestream their bytes too.- A program or connection that sends faster than the
.pappfile takes it now waits, instead of filling memory.write()onpapp.spawnandpapp.connectresolves once the data is taken. papp.spawn: a character split between two chunks of output no longer arrives broken.- Linux: one slow connection through Apargon no longer holds up the others.
- A bad request from a
.pappfile is logged, not shown as an error box. - Windows: a
papp-systemoutput line that starts with{is shown as output, not taken for a request. - Windows: a
.pappfile draws with the GPU.
Apargon checks for a new version once a day when a page opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.4.0
Security
- Apargon now reads a page's tags the way a browser reads
<meta>tags. A tag counts only ifpapp-is in itsname. Writename="…"andcontent="…"with quotes and no spaces around the=. papp-runrefuses two programs with the same name. A full path must be plain (no.,..or//) and point to a file.papp-netrefuses a port that starts with 0.- A page could type commands into the terminal that started Apargon. Now it gets no input from it, and its output shows as plain text.
papp.saveAsrefuses folders where files run on their own: hidden folders,~/Libraryon macOS andAppDataon Windows.- A page's file API no longer shows or changes Apargon's own data.
papp-netrefuseslocalhost:*and127.0.0.1:*on every OS. Any port there includes other pages' connections.- Red in the popup now means one thing: the page can send data to places its tags don't name. Full Node and "any server" are red. Secrets, screen recording and hidden folders are yellow.
- Running programs is now yellow. On Linux and Windows it is red if the page can also write files, because its programs can then change any file in those folders. A page that runs programs still needs you to tick "I trust this page".
- Windows: programs and
papp-nodepages can send any file they see to the internet, through Windows itself. Apargon cannot stop this. You must tick "I trust this page" before such a page opens. - The popup's warning names the programs a page runs and the sockets it talks to.
New
- Apargon now runs on Windows. There is an installer for x64 and arm64, but only arm64 is tested.
- The Windows installer is not signed, so Windows shows a warning. Check the file against
SHA256SUMSin the release before you run it. - On Windows, pages can use
papp-run,papp-envandpapp-node. Programs must be.exeor.comfiles. Pages withpapp-socket, orpapp-nettolocalhost, do not open. - On Windows, stopping a program does not stop the programs it started. They keep running until they finish.
- Pages can open links.
papp.open,target="_blank"links andwindow.openopen http(s) links in your browser. Apargon shows the address and asks first, unless the page lists the site inpapp-openor you ticked "Always". - Pages can open files (images, video, audio, PDF, text) and folders in their usual app, if the page may see them.
- A page keeps its storage (
localStorage, IndexedDB) when you move or rename it, if the file hasn't changed since it was last open. So after you edit a page, open it once before you move it. A copy starts with empty storage.
Changed
papp-netwithlocalhost:*or127.0.0.1:*no longer opens. Name the port, as inlocalhost:11434.- macOS: a page's programs can't open a terminal. Tools that need one may fail.
- Download file names no longer include the version, for example
Apargon-arm64.dmgandapargon_amd64.deb. If a script downloads them by name, update it.install.shand Homebrew already use the new names.
Apargon checks for a new version once a day when a page opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.3.0
Security
- macOS: 0.2.0 cut the page's process off from the Apple Events service, which also stopped the events macOS sends to it: Dock → Quit, logout, and a page opened while another was open. Now only sending is blocked, so a page's programs still cannot script other apps with
osascriptor Apple Events, and Apargon answers macOS again.
New
- Install from the terminal:
curl -fsSL https://apargon.com/install.sh | sh. On macOS it checks the app's signature and notarization before it replaces the installed one; on Ubuntu 24.04 it checks the.debagainst the release'sSHA256SUMSand installs it with apt. It also installs the papp skill for coding agents;sh -s -- --no-skillleaves that out. - macOS: Homebrew.
brew trust --cask orcaryn/tap/apargon, thenbrew install --cask orcaryn/tap/apargon. The cask follows each release. - The popup groups what a page asks for under Programs, Files, Network and This computer, shows the page's folder and where it came from under its name, and scrolls when the list is taller than the screen.
Changed
- The window title no longer lists the servers a page may reach. The popup still does, and the approval does not change.
Apargon checks for a new version once a day when a page opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.
Apargon 0.2.0
Security
papp-netno longer reaches your local network through a name or a wildcard. Private addresses, VPN ranges such as Tailscale's, NAT64 addresses (64:ff9b::/96) and the link-local range, where cloud machines keep their keys, are refused, as this computer already was. So a server cannot point a name you approved at your network.- A red line, or lines that together can send your files out, now need the checkbox for every page. Before, only downloaded pages did, but
git clone,curland USB sticks don't mark a file as downloaded. - A downloaded page with no tags is now asked about once, so you see where it came from before it reads its folder.
- Approving a downloaded page covers its exact content. If the page changes, Apargon asks again.
- Pages no longer share
localStorage, IndexedDB or the cache. - A frame can no longer load another file, and a link to another file does not open: that file would run with the page's permissions.
- Tags count only in
<head>, before the first<scriptor<body, outside comments. - macOS: a page opens only once the sandbox has proved it is on. Before, a check that failed for any other reason counted as proof.
- macOS: a page's programs can no longer script other apps (
osascript, Apple Events), or get a system service to fetch a certificate's issuer from outside the sandbox. - Linux: a page and its programs no longer see
/run,/tmpor/var/tmp. These hold sockets to programs outside the sandbox, such as D-Bus, name lookup, the sound server, tmux, screen and Docker. Only the display's socket and what the tags name come back. - Linux: a page and its programs can no longer make namespaces, which most Linux privilege escalations need. In
/devthey see only the GPU, plus the camera, microphone or sound devices when a tag asks for them. Withpapp-use sound, the page's programs can also record from the microphone. - Linux: a page's programs can no longer read the environment Apargon started with.
- Linux: two open pages can no longer use each other's declared servers.
New
-
papp-usegives a page one more ability per tag:notifications, shown withpapp.notifyclipboard, to read it from code (pasting always worked)location, macOS onlysound,cameraandmicrophonescreen, the whole main screen throughgetDisplayMedia, not on Wayland
Clipboard, location, camera and microphone are yellow; screen is red. With
papp-net, the popup says what can be sent. On macOS the system also asks the first time a page uses location, camera, microphone or screen. -
papp-shortcutnames a key combination the page answers in every app, such asCommandOrControl+Shift+N, and brings the page to the front. It needs two different modifiers, not only Option and Shift, or one modifier with a function key, so a page cannot takeCtrl+Cfrom other apps. -
papp-socketnames a socket file, or a folder of them, that the page and its programs may connect to. It is always red: what answers runs outside the sandbox. -
A page can reach a device on your local network, such as a smart-home hub, a NAS or a router, if the tag names its address in numbers and one port:
192.168.1.5:8123. The line is red, because Apargon cannot tell what answers. -
New in
window.papp:pick()shows an Open dialog for files or folders. The page can read what you pick until it reloads. Links, names with*and your home folder or above are refused.saveAs({ 'name.txt': data })saves files to a folder you pick, Downloads by default. A taken name gets a number, so nothing is replaced. Names with a folder, a leading dot or.pappare refused.appendFileandcopyFile. A copy keeps only the bytes, so it is never a program to run.readFile(file, encoding, { offset, length })reads part of a file.readdir(folder, { stats: true })returns each entry's kind, plus size and date if the page may read it.watch(folder, callback, { recursive: true })watches subfolders too. The callback learns if a filechangedor wasremoved.runtakes and returns bytes withencoding: null, and stops the program aftertimeoutmilliseconds.spawnruns a long job: the page reads its output as it comes, writes to it and can stop it.tray(title)puts Apargon's icon in the menu bar, with the title beside it on macOS or as its tooltip on Linux. A click brings the page to the front.
Programs from
runandspawnstop when the page closes or reloads. -
window.open('#name')opens a second window of the page. Other files and sites still do not open. -
With
papp-node,require('@electron/remote')gives the page Electron's main process, so it can shape its own window, for example keep it on top. It stays offline. -
A page's favicon becomes its icon, with Apargon's badge: in the Dock and app switcher on macOS, as the window icon on Linux. On macOS, a page made on this computer also gets it in Finder.
-
Apargon offers to install the papp skill, so coding agents such as Claude Code can build apps for it. It asks when you open Apargon without a page, the first time you open a page, and from Help → Install the papp Skill for Agents…. The skill goes in
~/.claude/skills/pappand~/.agents/skills/papp.
Changed
- resworb is now Apargon. Rename pages from
.lmthto.papp, tags fromresworb-*topapp-*, andwindow.resworbtowindow.papp. Approvals do not carry over, so Apargon asks again about each page with tags, and pages start with empty storage. - macOS: resworb 0.1.1 cannot update itself to Apargon. Download Apargon from this release, then delete resworb from Applications.
- Linux: install the
apargonpackage, then runsudo apt remove resworb. It needs bubblewrap 0.8.0 or later; Ubuntu 24.04 has it. - A page plays sound only with
papp-use sound. Without it the window is muted, on every OS. On Linux the tag also brings the sound server into the sandbox. papp-netwith a local device's name, such asnas.local:5000, no longer connects. Use its address in numbers, such as192.168.1.5:5000.- A tag after the first
<scriptor<body, or inside a comment, is no longer read. Move it into<head>before any script. - Linux:
papp-read,papp-writeandpapp-socketare refused for/tmp,/var/tmp,/runand anything in it, and folders that hold them, such as/. So is a page inside one of them. Move the files elsewhere.
Apargon checks for a new version once a day when a page opens, unless you turned that off under Permissions. If you did, watch this repository to hear about security fixes: Watch → Custom → Releases.