Skip to content

TernaryCode 0.1.29

Choose a tag to compare

@ilhamnadhif ilhamnadhif released this 16 Nov 18:40

The browser panel does what a browser does: dialogs, camera and microphone, downloads, find, zoom and the Web Inspector.

Fixed

  • Page dialogs show. A site's alert(), confirm() and prompt() showed nothing before, and
    confirm() answered "Cancel" at once, so buttons like "Remove this item?" never worked. Each
    dialog now shows as a bar above its page (OK, Cancel, a field for a prompt; Enter and Esc).
    Only that page waits; the rest of the app does not. Pop-up windows show theirs as a sheet.
  • Camera and microphone work. Sites could not use them at all (video calls, voice notes,
    scanning a QR code). macOS now asks once for TernaryCode, and each site asks you first.

New

  • Downloads are listed. A download goes to your Downloads folder as before, and now shows as a
    chip in the page's toolbar: open the file, or show it in the Finder.
  • Find in page: ⌘F while a page has the keyboard (matches counted; Enter, ⇧Enter, Esc).
  • Zoom: ⌘= and ⌘− while a page has the keyboard; the toolbar shows the zoom, and a click
    resets it.
  • Web Inspector: Inspect Element in the page's ⋯ menu or its right-click menu (Safari's
    Web Inspector). Print… is in the ⋯ menu too.
  • Agents: an agent is told when its click opens a dialog and answers it with the new
    browser_handle_dialog tool, and hears where a download went.

Install

macOS (Apple Silicon and Intel): run this in Terminal, or download the .dmg below.

curl -fsSL https://raw.githubusercontent.com/ilhamnadhif/ternarycode/main/scripts/install.sh | bash

Windows: run TernaryCode-<version>-windows-x64-setup.exe (no administrator rights needed), or
unpack the portable .zip.

Linux: the .deb (Debian, Ubuntu, Mint), the .rpm (Fedora, RHEL, openSUSE), or the
.AppImage and the .tar.gz for any distribution, for x86_64 and aarch64 (arm64).

Installed copies update themselves from the app (the .deb and .rpm through a new package).

macOS says “TernaryCode” Not Opened / “Apple could not verify…”? This build is not notarized by
Apple yet, so macOS blocks a .dmg or app downloaded with a browser. Since macOS 15,
right-click → Open no longer gets past it. Do one of these:

  • Use the one-line installer above. Nothing downloaded with curl is blocked.
  • Allow it once: click Done in the warning, open System Settings → Privacy & Security,
    scroll down to Security, and click Open Anyway next to “TernaryCode was blocked…”. Confirm with
    your password, then open it again.
  • Or in Terminal, after dragging the app to Applications:
    xattr -dr com.apple.quarantine /Applications/TernaryCode.app