Skip to content

Releases

Apargon 0.8.0

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 25 Nov 12:45

Security

  • The yes now also covers each .js and .css file, and each other .papp file, that a .papp file loads. A change to one asks again. Before, only the .papp file's own bytes counted.
  • Not covered: code loaded under any other ending, and a file the .papp file may write itself.
  • A .papp file 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 Notification works with papp-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. Use window.getScreenDetails().
  • papp.notify answers 'click' when the user clicks the notification itself. Before, it answered null.

Fixed

  • papp.notify gives 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 25 Nov 07:07

Security

  • A pick to write now lasts until the .papp file 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 in papp-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. Call papp.pick again when the app opens, or name the folder in papp-write.
  • Apargon keeps its data in ~/.apargon/.data on every OS. Nothing moves over from before: each .papp file 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/Apargon on macOS, ~/.config/Apargon on Linux, %APPDATA%\Apargon on Windows.
  • The papp skill's first example works as written, and its papp-write examples use a path from the .papp file'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 .papp file 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 14 Nov 10:12

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-write folders with one name show their places in full.
  • What This File Can Do… groups its lines the same way.
  • Every .papp file 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.md now names these gaps. 0.5.0 had them too:
    • Linux: a papp-write folder on a network drive is not hidden, and what's written there leaves the computer.
    • Linux in a virtual machine: papp-socket reaches the machine's host.
    • macOS: a .papp file with papp-write all, or papp-write on ~/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 under papp-write all.
    • Windows: a .papp file writes to your temp folder, which other apps share.
  • SECURITY.md now says macOS 13 or newer. It said 12.

Changed

  • A .papp file with papp-read or papp-open is 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 12 Nov 09:02

Security

  • Apargon now keeps one promise: a .papp file can't send anything off your computer unless you said yes. Each tag is that yes, one line in the popup.
  • A .papp file 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, localhost too. The proxy checks that a site is allowed before it looks up its name.
  • papp-net takes exact sites only, no *. Links open only to a site in papp-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-run get the same limits as the .papp file: they read everything, write only its folders, reach only its sites, through the proxy, and get only its papp-env variables.
  • macOS: files a .papp file or its programs write are marked as downloaded, so the Mac asks before one runs.
  • Windows: files Apargon writes for a pick or papp.save are marked as downloaded.
  • Approvals, picks, window places and secrets are kept in Apargon's own data, where no .papp file writes.
  • A .papp file quits if Apargon's own process dies.
  • A .papp file 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 .papp file 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 .papp file reads the folders at the root of each local drive and your user folder. Network drives are skipped, and OneDrive unless papp-use cloud.
  • Windows: papp-run no 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-write can run later, outside Apargon. Dropbox and iCloud upload what's written in their folders.
  • A hard link already inside a papp-write folder reaches the file it links to.
  • Linux: papp-socket turns the socket block off. The popup says "Control any program on this computer".
  • Linux: with papp-use sound, a .papp file 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 .papp file 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.pick needs no tag and restarts nothing. Picks are kept after a restart. With write: true, Apargon writes the picked file, or plain file names in the picked folder. papp.picks() lists them.
  • papp.save saves one file where you pick. It can replace a file, after the OS asks.
  • papp.getSecret, papp.setSecret and papp.deleteSecret keep 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/tool runs a program the .papp file ships.
  • papp-listen, or papp-listen network: Apargon answers requests for the .papp file, from this computer or your network. papp.listen gets each one.
  • papp.connect: a TCP connection, with or without TLS, to a site in papp-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.window moves, resizes, minimizes, maximizes, fades and shows the window. papp.displays lists the screens.
  • window.open on its own file takes papp-window settings for that window.
  • Windows reopen where you left them.
  • New papp-use features: background, login, usb, serial, hid, midi, cursor, cloud, and on macOS broadcasts, share and bluetooth.
  • papp.print() and window.print() open the system print panel, with no tag. papp.pdf() makes a PDF of the window.
  • papp.menu, papp.contextMenu and papp.onMenu: menus of its own.
  • papp.tray takes items, a checkbox or radio button, an icon, and clicks for a tray popover.
  • papp.progress, papp.badge and papp.attention on the dock or taskbar icon.
  • papp.onSystem, papp.power and papp.keepAwake: sleep, wake, lock, battery, idle time, and keeping the computer awake.
  • papp.trash moves a file to the Trash. papp.quit and papp.closeWindow end it or close its window.
  • papp-global-shortcut any lets papp.shortcuts pick keys while it runs. Media keys work alone, like MediaPlayPause.
  • Notifications show the .papp file's icon and up to three buttons.
  • The favicon can come from a site in papp-net.
  • Linux and Windows: each .papp file has its own taskbar icon and title.
  • Windows: camera, microphone and location work. papp-net to localhost works, 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 .papp file asks again once, and starts with empty localStorage and IndexedDB, kept now in its own folder.
  • papp-read is gone: every .papp file reads the local disks. Remove the tag.
  • papp-open is gone: put its sites in papp-net.
  • papp-node is now papp-system, with no content. It can't be combined with papp-write, papp-run, papp-net, papp-socket, papp-listen or papp-env. @electron/remote is gone.
  • papp-shortcut is now papp-global-shortcut.
  • papp-write takes one folder, no *. Not your home folder, or one that holds it.
  • papp-net takes a host and an optional port, 443 if none. No scheme, no *.
  • papp-use takes one feature per tag.
  • papp.saveAs is now papp.saveAll.
  • papp.readFile takes its options in one object: { encoding: null } for bytes, { offset, length } for part of a file.
  • papp.rm removes a folder only with { recursive: true }.
  • papp.watch gives a handle: close() stops it, closed resolves once it has stopped.
  • papp.spawn: kill() is now close(), and done is now closed.
  • papp.run keeps up to 64 MB of a program's output. Past that, it stops the program and fails. Use papp.spawn for more.
  • papp-listen: with 32 requests waiting for an answer, the next one gets 503.
  • papp.open takes only an http(s) link to a site in papp-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-socket and papp-use bluetooth refuse the file, for now.

Fixed

  • A local video can seek.
  • Live reload follows only the .papp, .css and .js files it loaded. A file it saves itself no longer reloads it.
  • papp.copyFile no 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 .papp file or fails past about 380 MB.
  • papp.readFile with { encoding: null }, papp.writeFile and papp.appendFile stream their bytes too.
  • A program or connection that sends faster than the .papp file takes it now waits, instead of filling memory. write() on papp.spawn and papp.connect resolves 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 .papp file is logged, not shown as an error box.
  • Windows: a papp-system output line that starts with { is shown as output, not taken for a request.
  • Windows: a .papp file 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 01 Nov 09:58

Security

  • Apargon now reads a page's tags the way a browser reads <meta> tags. A tag counts only if papp- is in its name. Write name="…" and content="…" with quotes and no spaces around the =.
  • papp-run refuses two programs with the same name. A full path must be plain (no ., .. or //) and point to a file.
  • papp-net refuses 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.saveAs refuses folders where files run on their own: hidden folders, ~/Library on macOS and AppData on Windows.
  • A page's file API no longer shows or changes Apargon's own data.
  • papp-net refuses localhost:* and 127.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-node pages 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 SHA256SUMS in the release before you run it.
  • On Windows, pages can use papp-run, papp-env and papp-node. Programs must be .exe or .com files. Pages with papp-socket, or papp-net to localhost, 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 and window.open open http(s) links in your browser. Apargon shows the address and asks first, unless the page lists the site in papp-open or 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-net with localhost:* or 127.0.0.1:* no longer opens. Name the port, as in localhost: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.dmg and apargon_amd64.deb. If a script downloads them by name, update it. install.sh and 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 29 Oct 07:05

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 osascript or 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 .deb against the release's SHA256SUMS and installs it with apt. It also installs the papp skill for coding agents; sh -s -- --no-skill leaves that out.
  • macOS: Homebrew. brew trust --cask orcaryn/tap/apargon, then brew 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

Choose a tag to compare

@HaMMeRSI HaMMeRSI released this 28 Oct 08:43

Security

  • papp-net no 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, curl and 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 <script or <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, /tmp or /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 /dev they see only the GPU, plus the camera, microphone or sound devices when a tag asks for them. With papp-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-use gives a page one more ability per tag:

    • notifications, shown with papp.notify
    • clipboard, to read it from code (pasting always worked)
    • location, macOS only
    • sound, camera and microphone
    • screen, the whole main screen through getDisplayMedia, 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-shortcut names a key combination the page answers in every app, such as CommandOrControl+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 take Ctrl+C from other apps.

  • papp-socket names 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 .papp are refused.
    • appendFile and copyFile. 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 file changed or was removed.
    • run takes and returns bytes with encoding: null, and stops the program after timeout milliseconds.
    • spawn runs 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 run and spawn stop 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/papp and ~/.agents/skills/papp.

Changed

  • resworb is now Apargon. Rename pages from .lmth to .papp, tags from resworb-* to papp-*, and window.resworb to window.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 apargon package, then run sudo 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-net with a local device's name, such as nas.local:5000, no longer connects. Use its address in numbers, such as 192.168.1.5:5000.
  • A tag after the first <script or <body, or inside a comment, is no longer read. Move it into <head> before any script.
  • Linux: papp-read, papp-write and papp-socket are refused for /tmp, /var/tmp, /run and 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.