Repository navigation
Gamma 0.4.10
Download
Windows 10/11 x64 · macOS 13 or later on Apple Silicon (also as .zip) · Debian / Ubuntu x64. The desktop app is self-contained — no Python or Node needed — and updates itself (Help → Check for Updates…).
First launch, install and updates
- Stores — the Mac App Store and the Microsoft Store install Gamma signed and keep it up to date. Each takes a release after its store's review, so it can trail this one. The Mac App Store's runs in Apple's sandbox: it opens PDFs from the Finder but not folders, and keeps its data apart from a dmg install's.
- Windows — unsigned. SmartScreen: More info → Run anyway (Edge: … → Keep → Keep anyway).
- macOS — ad-hoc signed, not notarized. The first launch says Apple could not verify Gamma: close it, open System Settings → Privacy & Security, scroll to Security and click Open Anyway (once per download).
- Linux —
sudo apt install ./Gamma-0.4.10-linux-amd64.debinstalls to/opt/Gamma; the command isgamma. - Updates — Windows installs on restart, Linux asks for your password to run dpkg, macOS offers the download until builds are notarized. The
latest*.ymland.blockmapassets are the update feed; there is no need to download them.
What's new since v0.4.9
- Two settings steps wait for a model pick to be saved instead of reading it once: "a task's model on a removed connection" failed in the merge's local run of the browser suite at CI's worker counts, reading roles.metadata as the old pick (second-model, missing) right after the row showed test-model-b. A task's pick is written at once in the page (useAiModels' setRole, an optimistic write through modelsSync) and its PUT lands after, so a step that waits for the row and then reads /api/ai/models once can read before the save. The step's first pick already waited for the server (until); its last read and the shared-provider step's read of the chat pick (the same shape, after the chat's menu shows lab-model) now do too. The settings group passed three runs side by side, 65 of 65 steps each
- A table's cells take pictures, long links and |x| math, and the table keeps its shape while they are edited: a picture sized in its cell broke the table into a third column, and a link in a cell stretched the table across the screen once the note was open for typing. A picture's size is written at the end of its alt,
, and on a table's row that pipe splits the cell. The rendered view hid it (sizedImagesHtml turns a sized picture into anbefore the table is read), but the table's model, the cell's field and the next commit read three cells, and the commit wrote a third column with no header, as a user's table showed. A picture's grip and caption edits now write
on a table's row (applyImageEdit through linkEdit's tablePipe), as Obsidian writes it there, and both readers take the escaped pipe (mdMarks ALT_WIDTH_RE, note_markup ALT_SIZE_RE); the Logseq size rewrite and the Obsidian import of![[pic.png\|300]]write it on a row too (table_pipe). The cell's field escapes every pipe, so$|x|$in a cell was stored$\|x\|$and KaTeX drew ‖x‖: the rendered view now reads a cell's escaped pipe in math as\vert(mdScan tableMathPipes), as GFM reads it in code and in a link's words and the PDF export already did - The iPad's Pencil recognizer settles after every touch it does not claim, and three switches in the iPad's Settings app say which native piece makes the Pencil Pro freeze if that does not end it. PencilCapture stayed possible after an unclaimed touch, a finger or a Pencil's tap, and UIKit never reset it (14 Pencil taps of a stand-in, 14 ends, no reset; a claimed stroke is reset at once), so a recognizer waiting on it never settles either. With no Pencil touch of the page's left and no stroke captured it now fails (settle), and UIKit resets it, with a palm down too. In the iPad Air 11-inch simulator (27.2), a finger standing in for the Pencil (PencilStandIn, a debug simulator build under -gamma.pencilStandIn) and one made-up Pencil-only recognizer between WebKit's tap recognizer and the capture give the reports' picture: after one unclaimed Pencil tap no finger's tap is answered, a reload included, WebKit's tap recognizer left failed with one touch, while pointer events go on; with the fix every one is answered. Which of the system's recognizers waits so on the reporter's iPad is not known, so the cause is likely, not confirmed. The same web code in Safari on that iPad (demo.gammapdf.com) does not freeze, which leaves the shell's three pieces on the page's web view; each has a switch under Gamma in the Settings app (NativePieces, Settings.bundle), on by default and read at launch: native Pencil drawing (off, the shell declares no ink and no hold and the page draws as in Safari), hiding the keyboard bar (the content view's class), and the Pencil gestures. The touch report names them. TapsTests taps with the stand-in Pencil; its first version could not fail in the PDF (it took the word "Settings" of the welcome PDF for the menu's item), Escape never closed the menu there, so its taps just after a menu hit the open menu, and the three passes ebece9a reports came with three failures and a skip. Both are put right, and the edit menu's part, tested again, still holds. Seven of seven stand-in strokes claimed and delivered, and a resting palm's claims and sample counts unchanged. GammaIPad suite on the iPad mini simulator 143 passed, 1 skipped (that simulator's leftover data); GammaIPadUITests pass on a fresh install and again after it, and the stand-in test fails its four checks on the old behaviour; each switch off, and all off, checked by the touch report with a stroke landing and a tap answered; Release device build without the stand-in; host unit tests 155 of 155; browser groups ipad, android and ink 69 of 69
- Backup tasks copy to OneDrive too, and every cloud signs in through one layer: Settings → Backups lists Google Drive, OneDrive and the bucket as Backup destinations, one row each, and a task picks among them under Copy off this server
- A note's web links stay chips while it is edited, and a link's title is read the way each platform answers a server: the editor drew every bare address as its raw text, so a note of Bilibili and Xiaohongshu links opened into a wall of addresses, and a chip's title came from one regex over the first 128 KB decoded as UTF-8, so Bilibili, which sends gzip unasked, never had one. BlockCmEditor's LinkChipWidget draws the rendered view's chip (LinkCard.jsx webLinkLabel and siteIconUrl, which BlockTree's LinkChip now shares, the site's preview asked once per address by loadSitePreview): a link shows its source only while an end of the selection stands inside it or while it is being typed (typedLink: typed or deleted in, source until the caret leaves it), a caret at its edge keeps the chip, a press puts the caret after it and pins its card, and Ctrl/Cmd with the press opens it. The links are read by linkEdit.js linkSpans before the inline marks, so a mark around a whole link still applies and none cuts into an address. linkSpans links a bare address after anything but an ASCII letter, as remark-gfm does ("旅行社攻略:https://…" was a chip whose card offered no Edit, and raw in the editor), and a "- words" item gets its bullet in the editor. gamma/link_preview.py asks YouTube, X, Reddit, TikTok, Vimeo and Spotify through their oEmbed endpoints (an X post's text for its title) and reads any other page's head only (web_page.head, now public with every meta tag by name, and web_page.decode's charsets), with the browser's headers in the reader's Accept-Language: og:title, else twitter:title, else <title>, the site's name cut from either end ("…_哔哩哔哩_bilibili", "GitHub - …"), and the author, which the link card shows before the address. A redirect to a sign-in, visitor, check or 404 page or to the site's home page (Xiaohongshu without its share token, Weibo, Douban), and a title that is only the site's name or an error's, give none, so the chip shows the host; a miss is asked again after 15 minutes. research/link-previews.md has what each platform answered a server; mentions.md, api.md and the routers README say how it works now. Backend: the full suite, 3,319 and then 9,923 passed (one test_mcp failure in the first run, passing alone, beside the new tests and in the rerun of test_mcp.py onward: Known flakes), tests/test_link_preview.py 14 of them. Frontend: lint and 3,121 unit tests; e2e notes steps 50 of 50 with a new one for the editor's chips (titles, a press's card, typing and stepping in); and the note's real links through an isolated server: every Bilibili title and uploader, YouTube's, X's post text
- The page header has an Export button, right before the trash can, that opens the Export dialog for the open page as the View menu's Export… does; Settings → Toolbars › Page header › Export button turns it off. It is the account preference pageExportButton (gamma-page-export-button), on by default, and the View menu keeps its row either way. A share's visitors get the button too, as they get the menu's row, so the trash button now carries the share-mode check itself. A pane beside the live one while pages are side by side draws the button as well (PagePane's shared exportButton), and a press there makes that page live, as its other header buttons do. The Settings search finds the row, the Chinese catalog has its four strings, and import_export.md, settings.md and the user guide say where the button is and how to hide it. Checked: lint, the sectionPrefs, settingsSearch, i18n and appState tests (27 of 27), the doc links, and in the browser a new settings e2e step (the button before the trash can, a Markdown export whose job names the open page, off and on again from Toolbars, stored on the account), with the trash header step, the 24 comments steps and the 8 tab-groups steps passing against the same build
- The launcher's card for a packaged server that cannot import a module says the copy is missing a file and to install again, and the Windows installer refuses an install folder deep enough to lose one: a user's server stopped at startup with "ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'", and the card told them to install backend/requirements.txt into a virtualenv. The release carries that extension (the Store's 0.4.9 here has it and its server starts), so that copy lacks it: an antivirus's quarantine, an update cut short, or an install folder deep enough to put the file past Windows' 259 characters, which the installer cannot write and the server cannot load while long paths are off. It is the deepest native module the server needs to start, 59 characters below gamma-server, so a deep folder loses it first. lib/startup.js gives the module rule a frozen variant, chosen when lib/sidecar.js passes a frozen server's folder and who installed it: "This copy of Gamma is missing one of its files.", then install again over this copy (the installer), Repair in Windows Settings (the Microsoft Store) or download again (the Mac App Store), and on Windows the folder to look for in an antivirus's quarantine and the path limit; a dev run keeps the requirements.txt hint. assets/installer.nsh holds the install folder to GAMMA_INSTDIR_MAX, 120 characters counting the \Gamma electron-builder's instFilesPre adds to a folder not naming it: past it .onVerifyInstDir turns the directory page's Next off and says why in the page's top text, in Chinese for a Simplified Chinese install and English otherwise, the page's own words back once the folder fits; an update or a silent install keeps its folder. afterPack measures the packed app (scripts/install-depth.cjs) and fails an NSIS build whose deepest file would not fit beneath such a folder (0.4.9's, botocore's endpoint rules: 121 of 138). release.md and architecture.md say so. Desktop unit tests 242 passed, startup, installer and sidecar among them; the 5 that fail load none of these files (the macOS and Linux clipboard formats, the CRLF copy of electron-builder's Store template, the Open-with DLL harness). An NSIS installer built from this code compiled under -WX, and its directory page, driven by window messages and cancelled, kept Next on at 120 characters and turned it off at 121 (114 and 115 for a folder that gets \Gamma), the Chinese explanation shown and the page's own text back on the default folder
- The Network proxy step reads the server after the save is in, not when Save is renamed: while the PUT is out the button reads "Saving…" (SettingsProxy's MorphText label), which the step's
savelocator, name "Save" exact, no longer matches, sosave.waitFor({ state: "detached" })passed at the click and the next GET /api/admin/proxy raced the PUT. On CI's pace the GET won (e2e-2 on #183: "the server stored mode: "system" !== "manual"", the server log answering the GET before the PUT). Both saves the step reads back after, Manual and back to the system's settings, now go through saveAndWait, which waits for the Connection rule to have no button left, the state the step already asserts before its first edit. No other e2e step waits for a Save locator to detach before reading the server. Forced (a 1.5 s sleep in PUT /api/admin/proxy, not committed): the old step failed with CI's message, the new one passed; without it, the step 3 of 3 in three runs side by side - The Docker image builds again: tesserocr's marker puts the release on the right, "24" <= platform_release, where
platform_release >= "24"crashed pip 24.1 to 25.3 on Linux. pip works out the whole marker on every system, and those pips read the left side of a comparison as a version, so a Linux kernel release, which is no version ("7.0.0-1020-azure" on GitHub's runners), raised InvalidVersion before anything was installed: the image's pip 25.0.1 failed the four Docker builds since the OCR commit reached main (the 11-21 and 11-22 merges, v0.4.8, v0.4.9), and a fresh venv's pip on Linux would fail the developer guide's install the same way. CI upgrades pip first, to a 26.x that compares a release that is no version as text, so the PR checks passed. With the release on the right, it is the value the specifier is built from, and one that is no version is compared as text by every pip. requirements.txt and debugging.md's "Text recognition" say why it stays there. The old and new markers in python:3.12-slim under pip 21.3.1, 23.3.2, 24.0, 24.1, 24.3.1, 25.0.1, 25.1.1, 25.3, 26.0 and 26.1.2: the old one crashes on 24.1 to 25.3, the new one never, true on Linux, Windows and macOS 15 and 26, false on macOS 14; the image built from HEAD plus this change (amd64, its own pip 25.0.1 on a WSL2 kernel) installs the tesserocr wheel, runs healthy and reports the engine on the server in /api/server-config; tests/test_ocr_engine.py 22 of 22
iPad app
Install Apple's TestFlight app, then open the link on the iPad. The iPad build of this release reaches TestFlight once it has been built and Apple has processed it.
Android app
Android 10 or later on 64-bit ARM, phones and tablets; a stylus (S Pen, USI, Wacom) writes with the pressure and tilt it reports. Open the APK on the device and allow your browser to install apps when Android asks. The app carries its own Gamma server, so a workspace on the device works with no connection. Update by installing the next release's APK over it.
Server (Docker)
docker run -d --name gamma -p 9001:9001 -v gamma-data:/data ghcr.io/tim4431/gamma:0.4.10 # or :latestAI assistant plugins
Let an AI assistant search and read your Gamma library.
Codex
In Gamma, open Settings → AI → Integrations → Codex CLI and copy the setup command. It installs the plugin and connects your Gamma server, then asks you to approve a workspace in your browser. Requires the Codex CLI; works with browser and self-hosted Gamma.
Claude Code
- Extract the ZIP into a permanent directory.
- Run
claude plugin marketplace add <path>/gamma-marketplaceandclaude plugin install gamma@gamma-local --scope user. - Connect your server with
claude mcp add --transport http --scope user gamma <your-gamma-address>/mcp, then open/mcpin Claude Code to sign in and approve a workspace. - Start a new session and use
/gamma:gamma.
DeepSeek Harness
In Gamma, open Settings → AI → Integrations → DeepSeek Harness: create a read-only token, then copy the install command (it downloads dsh-gamma.tgz, also attached here, and runs dsh plugin --profile web add on it) and the start command, which sets GAMMA_URL and asks for the token. Requires DeepSeek Harness and pnpm.
Browser extension
For Chrome, Edge and other Chromium browsers. Install Gamma Connector from the Chrome Web Store and it updates itself; this release reaches it once Google has reviewed it (usually 1–3 days). Or load the zip by hand: unzip it into a permanent folder, open chrome://extensions, turn on Developer mode, click Load unpacked and choose the unzipped folder.