AIFeed

Show HN:Gamma PDF —— AI 原生、可自托管的 PDF 阅读器

Translation(model translation, not the source's own text)

文章标题:Show HN: Gamma PDF – AI 原生 PDF 阅读器,可自托管

正文: 开源 · 自托管 · 献给读论文的人

读论文。留住所学。

一个 PDF 批注工具,带大纲笔记、实时数学公式,以及一个陪你一起读的 AI——全在你自己机器上。

Windows · macOS · Linux · iPad · Android · Docker · 最新版本

Gamma 打开了一篇 Nature 论文的第一张图:一句话被高亮,其笔记显示在右侧的笔记区,笔记下方是一个 AI 聊天,正在回答这篇论文的核心思想是什么
Gamma 打开了一篇 Nature 论文的第一张图:一句话被高亮,其笔记显示在右侧的笔记区,笔记下方是一个 AI 聊天,正在回答这篇论文的核心思想是什么

高亮、批注和绘制

每一个标记都会变成一条笔记。

在页面上高亮、绘制或输入。每个标记都会落入你的笔记,点击一下即可跳回对应段落。

一篇论文,上面有用 iPad 做的手写标记,笔记区中显示对应的墨迹卡片:Gamma 的笔圈出一个短语,并画一个箭头指向页边注,随后一张新卡片落入笔记
一篇论文,上面有用 iPad 做的手写标记,笔记区中显示对应的墨迹卡片:Gamma 的笔圈出一个短语,并画一个箭头指向页边注,随后一张新卡片落入笔记

带实时数学公式的笔记。

论文旁边就是大纲视图,支持实时 Markdown 和 LaTeX、页面之间的双向链接,以及在一张纸上手写。

一个实时 LaTeX 公式在笔记中渲染,旁边是一个页面链接,随后 /note 在笔记中插入一张纸,一支笔在上面画出结果
一个实时 LaTeX 公式在笔记中渲染,旁边是一个页面链接,随后 /note 在笔记中插入一张纸,一支笔在上面画出结果

向 AI 询问你的论文

向论文提问。

获得带引用的回答,可直接跳转到对应段落,可使用你自己的 Anthropic 或 OpenAI 密钥,或付费的 ChatGPT 套餐。

按住 Ctrl 将一张图拖入聊天,询问它展示了什么,顺着回答中的页码引用跳到标记的段落,然后询问一句高亮句子的参考文献:助手搜索了那三篇论文,阅读并在一张带引用的表格中进行了比较
按住 Ctrl 将一张图拖入聊天,询问它展示了什么,顺着回答中的页码引用跳到标记的段落,然后询问一句高亮句子的参考文献:助手搜索了那三篇论文,阅读并在一张带引用的表格中进行了比较

论文周边的一切。

覆盖每台设备

浏览器、桌面端、iPad 和 Android。离线副本自动同步。

找到任何内容

同时搜索笔记、高亮和所有 PDF。

元数据与引用

打开时自动填充标题、作者和发表场所。一键复制 BibTeX。

一键保存

浏览器扩展把你正在读的论文连同元数据保存到你选定的文件夹。

协作

共享工作区、实时光标,以及对任何笔记或高亮的评论。

你的工具

从 Zotero、Obsidian、Logseq 和 Notion 导入。连接 Codex、Claude Code 和任何 MCP 客户端。

阅读用户指南

无论哪种方式,都归你所有。

SQLite 和文件放在一个文件夹里。无需在我们这里注册账号,无遥测。随时导出全部内容。

隐私政策

桌面应用

免费。你的资料库在你自己的磁盘上。

你自己的服务器

免费。一个 Docker 镜像服务你整个实验室。

Gamma Cloud 即将推出

如果你不想自己运行服务器,我们为你维护一个资料库。

免费,摆上每一张桌子。

一个自包含的应用:无需 Docker、Python 或 Node。最新版本。

Windows

或使用独立安装程序(SmartScreen:更多信息 → 仍要运行)。

macOS

首次启动:系统设置 → 隐私与安全性 → 仍要打开。

Linux

Debian / Ubuntu,x64。

服务器


        docker run -d --name gamma -p 9001:9001 -v gamma-data:/data ghcr.io/tim4431/gamma:latest
      

以管理员身份打开 localhost:9001;密码在 docker logs gamma 中。更多 ↓

iPad

安装 Apple 的 TestFlight 应用,然后在 iPad 上打开链接。在 iPad 上保留一个工作区,供 Pencil 在无网络连接时使用。

Android

Android 10 或更高版本,64 位 ARM,支持手机和平板。在设备上打开 APK,并允许你的浏览器安装它。在设备上保留一个工作区,供触控笔在无网络连接时使用。

浏览器扩展

Gamma Connector,适用于 Chrome、Edge 及其他 Chromium 浏览器。或下载 .zip。

Codex、Claude Code 与 MCP

Codex、Claude Code 和任何 MCP 客户端都可以搜索和阅读你的论文、笔记和高亮,只读,限你授权的一个工作区。


        claude mcp add --transport http --scope user gamma <your Gamma>/mcp
      

        codex mcp add gamma --url <your Gamma>/mcp
      

在设置 → AI → 集成中一键配置。连接指南

一个容器。你的整个实验室。

一个适用于 amd64 和 arm64 的 Docker 镜像,所有数据都放在一个 /data 卷中。

用户和共享工作区在应用中管理。为自己的域名把 Caddy 或 nginx 放在前面。compose 文件中的 Watchtower 服务会让它保持升级。

GitHubUpgrading 上的完整安装说明

docker-compose.yml.example


        services:
  gamma:
    container_name: gamma
    image: ghcr.io/tim4431/gamma:latest
    build: .
    ports:
      - "9001:9001"
    volumes:
      # Named volume: Docker manages the storage location. To keep the data in
      # a real folder next to this file instead, use a bind mount:
      #   - ./data:/data
      - gamma-data:/data
    # environment:
      # With a bind mount, set these to your host user's ids (`id -u` / `id -g`)
      # so the files Gamma creates belong to you instead of root:
      # PUID: 1000
      # PGID: 1000
      # Behind a reverse proxy (Caddy, nginx for a domain with TLS), the
      # proxy's address, so Gamma believes its X-Forwarded-For and rate
      # limits count each visitor instead of the proxy. For a proxy container
      # in this file, the subnet of the network below (pinned, so it is
      # known). Leave it unset when nothing sits in front of the port. The
      # proxy needs no compression of its own for the app's files: Gamma
      # sends the Brotli or gzip copies its build made.
      # FORWARDED_ALLOW_IPS: 10.203.0.0/24
      # Off-site copies of the databases and uploaded files to an S3-compatible
      # bucket are set up by an admin in Settings -> Backups; a container can
      # set them with GAMMA_S3_BUCKET and the other GAMMA_S3_* / GAMMA_OFFSITE*
      # variables instead (docs/dev/debugging.md "Off-site copies in a bucket").
    restart: unless-stopped

# Keeps the gamma container on the newest image: Watchtower polls the
  # registry every six hours, pulls a new image and restarts gamma, which
  # runs an upgrade's global steps as it starts and each workspace's own as
  # the workspace is first opened (a snapshot of the databases is taken
  # first; see docs/dev/migrations.md). Scoped to this container, so it
  # never touches others on the host. The image is the maintained fork of
  # Watchtower (github.com/nicholas-fedor/watchtower), pinned to its major
  # version; it holds the Docker socket, which is root on the host. Remove
  # the service to update by hand with
  # `docker compose pull && docker compose up -d`.
  watchtower:
    container_name: gamma-watchtower
    image: nickfedor/watchtower:1
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    command: --cleanup --interval 21600 gamma
    restart: unless-stopped

volumes:
  gamma-data:

# With a proxy container next to gamma, pin the compose network's subnet and
# name it in FORWARDED_ALLOW_IPS above:
# networks:
#   default:
#     ipam:
#       config:
#         - subnet: 10.203.0.0/24
      

问题

用触控笔或鼠标在任意位置绘制。在 iPad 上,Pencil 会按压力书写:在 iPad 应用(一个 TestFlight 测试版,也可在无连接时使用)中,或从 Safari 添加到主屏幕后。在 Android 上,Android 应用原生捕获 S Pen、USI 或 Wacom 触控笔,并且也可在无连接时使用。参见安装为应用。

桌面端支持 Windows、macOS 和 Debian/Ubuntu;iPad 通过 TestFlight;Android 10 或更高版本在 64 位 ARM 上通过各版本发布的 APK,以及一旦上架后的 Google Play;服务器上支持 Docker(amd64、arm64)或 Python 3.11+ 和 Node 18+。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗