Repository navigation
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.16-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.15
- test_tls_trust: an unpinned certificate's description is checked against the certificate's own expiry date, not the current year. Every test certificate expires 30 days after the module's NOW, so from December 2 to December 31 its not-after falls in the next year and test_an_unpinned_certificate_is_refused_and_described failed every run (it failed the same on dev at the last merge and would have failed the PR's backend job all month). The expiry is a module constant, EXPIRES, used by _cert and by the assertion, which now compares the whole date. tests/test_tls_trust.py 29 passed
- A long chat no longer slows the paper view beside it (#194): the transcript draws only the rows near its view, as the PDF viewer draws its pages, and none of them again on a keystroke elsewhere. Measured on the reporter's export (76 messages, 629 KaTeX formulas, 44,229 of the page's 54,016 elements): hit testing and paint walked the chat's paint layers on every wheel step over the PDF, every App render drew every row again, React walked the whole conversation's fibers on every keystroke for App's per-keystroke contexts (gammaNav, placeOf), and a tab switch built all 76 rows in one 1.1–1.4 s frame. Windowing: chat/nearRows.js puts two IntersectionObservers on the scroller, a row drawn within a view's height of what is shown (in a transition, as a comment's text is) and let go beyond three views, standing at the height it was drawn at (120 px before it ever was); a row stays while it replies, holds Find's match, the selection or the focus, a selection over rows let go draws them so a copy takes them whole, and the rows held are observed afresh when the selection or the focus moves on; a transcript out of sight (a folded window) or with no room says nothing. A conversation (its bucket, known by its first message, its rows keyed by it) opens at its end: its last rows are drawn before paint, doubled until they fill twice the view, and the dock keeps its end in view before each paint (keepEnd); a row that comes later (a message sent, a reply, one back from being edited) is drawn from the start. Rows are memoized: what they are handed goes through makeStableActions, made again for each conversation so an Undo that ends after a switch reaches its own; titleOf is memoized by the dock, App's paperSave kept (paperOptions), error buttons worked out per row, and a computer agent's messages keep their identity across polls (keepEach, moved from comments.js keepThreads into shared/lib/keepIfSame.js, which comments read too). ChatMarkdown keeps react-markdown's tree for the last 100 texts drawn (chatMarkdownTree, keyed by the workspace and share link assetUrl adds). The dock's scroll handler no longer unsticks on a move up that leaves the view at the end. Where the browser has no scroll anchoring (Safari 26 and older), a row drawn wholly above the view moves the view by what it grew, and Find draws its match (flushSync) before scrolling to it, gliding only where the browser anchors. As measured back to back: a key 48 / 56–72 ms (p50 / p95) before, 32 / 40 after, 24–32 / 32–40 with an empty chat; PDF scroll frames over 33 ms 3–6 → 0–3; notes 9–10 → 1–5; switching back to the page 1.2–1.4 s → 0.5–0.6 s. Scrolling the chat itself into old heavy replies pays each row's first draw (9 frames over 50 ms against 1–2). content-visibility on the rows was tried and dropped: it fixed the scrolls but opened the chat 3,992 px short of its end. Reviewed by GPT-6 Astra (Codex CLI, read-only) and six fresh reviewers with a skeptic per finding; the confirmed findings are fixed (History in the same bucket, Undo after a switch, cards' state and selections over rows let go, Find before its row was drawn, the fallback at the end and its rounding, computer-agent memo). Docs: ai.md "A long conversation", research/chat-performance.md (the measurements, what was tried, the review), comments.md, ui-design.md, research/README.md, frontend/src/README.md. No backend change, no migration. Frontend lint, 3352 unit tests, build, doc links; the full browser suite 916/928, its 12 failures (sub-pages, scan-layer, https, zotero-link, vaults, trash, standby, under a 30-minute run) passing on their own (82/82); the chat groups (chat-navigation, touch, local-agents, remote-chat, comments) 146/146 with two new steps (a long conversation; no scroll anchoring) and three changed with the behaviour; the full backend suite 13484 passed, its failures test_tls_trust (failing the same on dev alone) and five timing tests under load (passing on their own)
- Settings: Integrations leads with the setup and folds the connected apps to a digest, Chat's models are a list, the pens are edited in Handwriting, OCR is named so everywhere and lives in Maintenance, and Network proxy is a section of Server. Integrations: Connect an assistant always first and open (the first-visit and returning-visit orders, Setup steps and its guide watcher gone); Connected apps folded by the kit's fold with its new
summary(a card of its own that gives way to the rows as they unfold) to a digest, how many of each group with an amber "N expired" tag and Show all, over every app once as a chip, its logo before its name and ×2 where two share it (connections.js connectionsDigest), unfolded by its title, Show all, a search or a jump, the assistants guide pointing at it, or a connection made while the pane is open; Section'sfold.idnames the unfolding card for the summary's control, and a fold given nodisablednow says aria-expanded="false" (it said nothing). Models › Chat: the chat models as rows under the Chat row (ChatModels.jsx: logo, model, connection, facts, a default tag, Make default, Remove off on the default, one no longer offered kept as unavailable), Choose models… the model menu as a checklist (ModelMenuListchecked/onToggle, the default ticked and inert); a task's menu (metadata, handwriting, Translate with) has no stars or Chat models group, the chip's All models… keeps the star; a chat pick joins the chat models, and a write starts from the list as shown, the chat model in use first when the list lacked it (ai_roles.set_roles, mirrored by aiModels.js shownChatModels, withPick, toggledChatModel, chatModelList, which the chip's quick list now reads too). Handwriting › Your pens: PenEditor.jsx edits the presets as the strip does, with the strip's own controls (.penEditor shares .pdfInkBar's control styles): a press picks one, a drag or ←/→ moves it, the strip's Style, Color and Width rows and a Tool row (Duplicate, Hide/Show, Remove with Undo, Reset); the strip's preset code is shared, ink/PresetOptions.jsx (PresetMark with the near-black ink's edge, now on the strip too, PresetOptionRows, PresetGhost, movedStatus, inkSeg) and ink/presetList.js (the edits, pure; Move left on the first preset no longer scrambles the list). OCR: one name in every string people read, the Document menu's Run OCR on this PDF and Continue OCR on this PDF, the popover's Run OCR, OCR text, Running OCR on "…", the tasks' summaries, the server's messages (ocr_engine, routers/ocr, ocr_run, ocr_auto, server_options) and the docs; its settings are Maintenance › OCR for admins (SettingsOcr.jsx, from SettingsTextRecognition.jsx: OCR for scanned PDFs, Automatic OCR, OCR jobs at once, tagged admin, the pane's reads adding /admin/settings), and Server's Files & scans is Work folders. Network proxy: Server's section after Online services (NetworkProxySection), Save on its rule, the Overview's Network tile landing on it; the pane is gone from the rail, andproxyis a section entry point, so the chat's network Fix… and old links land there. Reports unchanged. Docs: settings.md, ai.md, handwriting.md, mcp.md, network_proxy.md, documents.md and the OCR mentions across docs/dev, the user guide, research/settings-layout.md (Network proxy into Server, taken up). No migration. Frontend lint, 3576 unit tests (presetList, the digest, the chat models' list and joins new), i18n (zh complete), build and budget, doc links; the backend tests of ai_roles and the OCR modules; the browser groups settings, mcp, ink, chat-navigation, scan-layer, help, guide, work-folders, touch, ipad and android, their five failures (four steps the change outdated, the digest's Show all off the grid by its padding) fixed and passing again; one-off drives of the five panes on an isolated server at 1440 px - Google Play: each release goes to the closed test's track as well as the internal one, so nothing is promoted to closed testing by hand. The upload action's
trackstakes a comma-separated list and gives the bundle to each track in one edit, so this needs no code: the repository's PLAY_TRACK variable is now internal,alpha (alpha being Play's id for Closed testing - Alpha), the workflow's default stays internal. The closed copy reaches its testers once Google has reviewed it; a version already on the internal track before the variable was set is promoted by hand once, since its versionCode is never sent again; promotion to production stays manual. desktop.yml's play comment says so and its notice names the tracks ("on internal,alpha"); github_actions.md gains step 7 (the closed track) in "Google Play, once", with the play job, the flow chart and the variables table; android.md and android/STORE.md no longer say the closed track is fed by hand. Docs and a workflow comment only: doc links checked, desktop.yml parses - Help: a Help panel of short looping clips takes in the tours, (?) buttons explain Settings and the panels that need it, What's new opens by itself on a version that brought a feature, and the user guide and the website show the same clips. Help (F1, Mod-Shift-/, the account menu's Help in place of Tours) is a panel at the right, docked as a column inside Settings while Settings is open and a full panel on a phone: a home with a search over topics, tips, shortcuts and Settings rows, New in {version}, 30 topics in groups, and the keyboard's shortcuts. A topic is one to three parts of a clip and its two to four steps, the step lit as the clip reaches it and a pressed step seeking to it; the clip plays in view, pauses out of view or on Pause, and rests on its still under reduced motion. The clips are 58 SVGs in frontend/src/help/clips with one grammar (clips.css: one animation drives --m-t and --m-o on the clip's clock, beats in seconds, light and dark from the app's tokens), checked by helpClips.test and clipShows.js, drawn from shared parts (tools/clip-parts) and sampled frame by frame by tools/clipFrames.mjs; new ones explain synced folders, agents on this computer, a folder as a dynamic label against a label, and the newer chat and notes features. Tours: 25 are gone, their ideas now clips; the first-run tour, the Zotero link and the assistants' setup stay, and a topic's Show me rings its control once as a transient guide run with no step count and a way back to Help. Tips and hints point to their topic (Learn more), and Settings › Help has Show tips and Show tips again. (?) buttons (HelpButton, startup-light) sit on Settings sections, dialogs, pane heads and dock headers; resting on one shows a hover card with its clip (HelpCard, after 450 ms, kept while hovered), a press opens its topic, and a phone tap opens Help with no card. What's new: the account keeps the version it last saw (helpSeenVersion); the first load of a newer version whose topics or parts carry a
sinceafter it opens "What's new in Gamma {version}" once, beside the work without taking the focus, and a bug-fix release, a new account, Show tips off, a guest, a demo server or the share view get nothing (whatsNew.js, useWhatsNew.js, one automatic surface a load through guide.claimLoad). Closing Help no longer flashes: the leave copy kept the floating panel's way in, which outranked its leave rule and slid it back in before it went; each place's leave rule now names its place, and leave.js drops at once a copy whose place was hidden in the same commit. Docs: the clips are generated for the user guide (tools/helpClips.mjs → docs/user_guide/clips, self-contained light and dark, and docs/user_guide/help.md), which replace docs/user_guide/assets; the site serves them at /media/clips and the Help pages at /docs/help/; docs/dev/help.md is new, onboarding.md, settings.md, ui-design.md, hotkeys.md, repository.md updated, a survey in docs/research/help-systems.md, and the user guide gains Labels or folders?, Agents on your computer, Help, Background tasks, and Windows and tabs. Cleanup: anchors, events and scene kinds only deleted tours used are gone, HelpPanel is split into its views, tips.js merges into hints.js, clipFormat.js is the one clip parser for the app and the tools, and the landed mark's timing is a token (--dur-landed). No migration. Frontend lint, 3567 unit tests, i18n (zh complete), build and budget, helpClips --check, sites build --strict, doc links; the whole browser suite, 998 of 1000 steps, its two failures cloud-sign-in's locators of a removed guide wrapper, fixed (8/8), then help 17/17 and motion 24/24 on the final build; the full backend suite 13479 passed, its 11 failures ten parallel flakes passing when their files run alone and test_tls_trust::test_an_unpinned_certificate_is_refused_and_described (calendar-dependent, failing the same on dev) - Page pickers weigh the open tabs, a sent message's @ mentions are chips, a metadata save says what it kept, the popover offers Recognize text, and the notes' page buttons stand in the Notes window's title bar. Pickers: one rule in librarySearch.js for every page picker (the chat's @ and +, Ctrl+P, the link dialog, and now the [[ picker and the note editor's @ menu, which ignored tabs and recents): nearRank orders an empty query and ties (recently viewed, then the open tabs, then the rest), and nearBonus adds to a query's hit an open tab's two thirds of an exact phrase (40) and a recent page's up to a third, so the paper on screen or beside it comes first among close matches while a title holding the query as a phrase still wins; App hands the editor's pickers its {recentViews, openTabs} as
near(rowProps, the comment fields' links, the link card). Chat: a sent message's @“title” is drawn as an accent @title without the quotes, a button opening the page when its context carried it, copied as written (paperMentions.pageMentions, which skills.js now reads too), and the pills over its text list each thing once (sentChips: the files and the open page's PDF, then each page of its context, a button, with the PDF icon when its PDF went along), where an attached paper used to show as a PDF pill, a crumb and raw text. Metadata: a draft whose fields are all blank is no record, so with none yet a Type or a Cite key alone offers no Save (the server dropped it and the popover said "Metadata saved."), and over a record the button reads Clear metadata and the status line says what the answer kept; a lookup not forced checks again inside its write and leaves a record saved while it ran (the lookup the app starts on open landing after a hand edit used to replace it), answering with it (_stored_answer; _save_props takes a change function that returns None to write nothing), ↻ still replacing it; the URL row reads an address typed without its scheme as https (it was dropped). OCR: the Status row's text cell says whose text the file has (text, recognized text, little text, recognizing…, no text: ocrState.textStatus, one pure function for its tone, label and title in place of the popover's ternaries), and where the Document menu offers Recognize text the popover offers it beside the cell (App's recognizeText, the menu row's run). Notes: DockWindow gives its body a slot in the header (InWindowHeader, a portal into .dockHeaderSlot), so the live page's buttons and a pane's stand-ins stand in the Notes window's title bar as the chat's controls do, beside the title where the notes are the center or a group's page, onto a second row of the bar in a narrow window. Docs: paper_metadata.md, pdf_loading.md, ai.md, home_library.md, mentions.md, settings.md, ui-design.md. No migration. Frontend lint, 3354 unit tests (ranking, mentions, sent chips and the text cell new), build, doc links; the browser groups notes-pdf-share, settings, chat-navigation, touch, comments, motion, sub-pages, scan-layer, quick-open, tab-groups, mentions, chat-skills, citations and note-mentions, 413 steps, three steps changed with the behaviour (the recognized cell's label, the no-text cell's title and its new Recognize text, the sent message's page pill), motion's two timing steps passing on their own after a run beside the backend suite; one-off drives on an isolated server (the title bar at 1440 and 900 px, the @ picker's order, the sent message's chips, a Type-only draft, a save, a clear, a scan recognized from the popover); the full backend suite 13490 passed, its two failures test_tls_trust::test_an_unpinned_certificate_is_refused_and_described (failing the same on dev alone) and test_backup_schedule::test_task_retention_catchup_and_manual_isolation (passing on its own) - Dark PDF pages can follow the theme (#190): Appearance › Theme's Dark PDF pages row is a three-way choice, Off, With theme or Always (the settings kit's Segmented, its page icon drawn as the viewer draws the pages now), where With theme draws them dark while the theme on screen is dark: a pinned Dark or Gamma Dark, or System while the device is dark, followed live. The choice is two account flags, the new pdfFollowTheme for With theme and pdfDarkPage for Off or Always, kept while With theme is on, so leaving it gives the earlier choice back and a Gamma from before it still reads a choice it knows. App.jsx resolves the shown theme with useSyncExternalStore over theme.js's new onSystemScheme and puts it on in a layout effect, so the pages' class and the interface change in the same frame; Gamma Dark still draws its pages dark whatever the choice, the row showing Always, fixed; the settings search finds the row by follow, match, system and auto. Reworks LantoZheng's #190, which had the behaviour and the flag but put With theme on a second switch that disabled the first. No backend change, no migration. Frontend lint, 3352 unit tests, build, doc links; the browser group settings 69/69, its theme step on the new control and a new step (With theme under System as the OS turns dark and light again, under a pinned Dark, Always kept meanwhile and chosen back), and motion's theme-change step; the full backend suite 13489 passed, its one failure (test_tls_trust::test_an_unpinned_certificate_is_refused_and_described, which expects a certificate made in December to expire the same year) failing the same on dev alone
- A library card's glyph stays bare once the Settings chunk is in: the toolbar tile editor's round chip (5d2be57) took .tileGlyph, the class every card's and row's file and folder glyph carries, so once the dialog's chunk loaded (preloaded while the app is idle, or opened) its global rule put a 32 px accent circle behind every glyph on Home. The editor's chip is .tileIcon (TileEditor.jsx, tileEditor.css), and docs/dev/settings.md says a Settings stylesheet's classes are names no other surface uses. No backend change, no migration. Frontend lint on the changed files, build, the browser group folders 10/10 with a step (the pinned card's glyph after Settings has loaded) that fails without the fix, and a one-off drive: the Toolbars tiles keep their round chip under the new class
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.16 # 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.