clipboard-history

SUPERCILEXApache-2.0活跃维护

Linux 上的剪贴板管理器,用 Rust 编写,提供命令行、TUI 和图形界面,帮你保存和回溯历史复制内容。

Ringboard—the clipboard manager for Linux

0.17.0发布于 2026-06-22 00:04 UTC492star22fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
curl -s https://raw.githubusercontent.com/SUPERCILEX/clipboard-history/master/install-with-cargo-systemd.sh | bash
硬件要求按 README 说明

仅支持 Linux,需要 6+ 内核;README 未说明 GPU 或显存要求,可纯 CPU 运行。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Linux 上的剪贴板管理器,跨重启保存并搜索你复制过的任何内容

Linux 上的剪贴板管理器,用 Rust 编写,提供命令行、TUI 和图形界面,帮你保存和回溯历史复制内容。

核心能力

  • 跨重启持久保存剪贴板历史
  • 支持保存图片和任意字节数据
  • 用正则或原始查询检索历史
  • 客户端-服务器架构,CLI、GUI、TUI 均可读写
  • 自定义二进制格式加 mmap,最多约百万条记录

容易踩的坑

需先安装 Rust cargo;手动安装要按 Wayland 或 X11 分别装对应 watcher;systemd 用户需自行 enable ringboard-wayland 或 ringboard-x11 服务。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本0.17.0
  1. 0.17.0v0.17.0最新正式版2026-06-22 · 2026-06-22 00:04 UTC
    • All published crates now use the stable patch! This means you know longer need nightly to install ringboard.
    • Improved the search CLI command to return results in time order, only use ansi control codes when in a terminal, and support context flags to show entries before and after matches.
    • Fixed a stutter in egui when pasting during a search.
  2. 0.16.22026-05-10 · 2026-05-10 17:24 UTC

    这个版本没有写更新说明。

  3. 0.16.12026-05-05 · 2026-05-05 03:39 UTC
    查看更新说明
    • Fixed a bug causing auto-paste to fail in Firefox on Wayland
    • Fixed a crash when importing Gnome Clipboard History files that contained deletions
    • Avoid loading the server config twice on startup
  4. 0.16.02026-04-28 · 2026-04-28 01:07 UTC
    查看更新说明
  5. 0.15.02026-04-12 · 2026-04-12 03:04 UTC
    查看更新说明

    WARNING

    This release might break your x11 config. If you have a file at ~/.config/ringboard/x11.toml, please re-generate it with ringboard config x11 --<your-settings-here>. I switched the versioning scheme to use https://github.com/SUPERCILEX/stable-type, so this won't happen again.

    Additionally, please make sure you rustup update nightly before updating.

    Finally, the stable patch technically requires beta right now, but that will be fixed in 5 days: https://releases.rs/docs/1.95.0/

    Features

    • Added a ringboard last command to retrieve entries positionally. This can be useful for scripting purposes.

    Bug fixes

    • Fixed various bugs with our lock file implementation (#87)
    • Fixed some keyboard crashes in the Wayland watch implementation thanks to @2asoft (#66)

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Ringboard

    Ringboard is a fast, efficient, and composable clipboard manager for Linux.

    Basic features:

    • Ringboard remembers what you've copied across reboots.
    • Ringboard can save anything, including images or arbitrary bytes.
    • Your clipboard history is searchable with either Regex or raw queries.
    • Ringboard can be installed anywhere (on Linux) and has no ties to a specific desktop environment or framework.

    Differentiators:

    • Ringboard is efficient: it uses a custom binary format to save space on disk, io_uring to avoid allocations and be fast with just a single thread, and mmap to require minimal working set memory.
    • Ringboard is fast and scalable: it was architected to load only the data needed, when needed. For example, displaying the last 100 most recent clipboard entries requires loading just those 100 entries. Ringboard can support up to ~1 million saved clipboard entries. If you copied 100 things every day, it would still take almost 30 years before old entries are overwritten.
    • Ringboard is composable: it uses a client server architecture to support any app modifying or reading data. For example, you can add data via a CLI or an X11 or Wayland clipboard watcher. Different GUIs can each display the clipboard as they wish, enabling deep integration with desktop environments.

    A detailed technical breakdown of the project is available at https://alexsaveau.dev/blog/ringboard.

    Demo

    A screenshot demo-ing the various clients.

    Installation instructions

    Note: Ringboard is Linux-only and requires a relatively recent Kernel (6+).

    The easiest way to get going is to install cargo and then run the installation script for systemd:

    curl -s https://raw.githubusercontent.com/SUPERCILEX/clipboard-history/master/install-with-cargo-systemd.sh | bash
    

    Additionally, consider using https://github.com/nabijaczleweli/cargo-update to update your cargo apps or re-run the installation script whenever you need to update.

    Manual installation

    DO NOT RUN if you already installed via the script above.

    Common core

    You'll need the server, an X11 or Wayland clipboard watcher, and a way to view your clipboard:

    1. Install the server from source with cargo install clipboard-history-server --no-default-features --features systemd or download a prebuilt binary.
    2. Determine whether you are using Wayland or X11 with bash -c 'echo $XDG_SESSION_TYPE':
      1. If on Wayland, install from source with cargo install clipboard-history-wayland --no-default-features (prebuild binaries are also available as before).
      2. If on X11, install from source with cargo install clipboard-history-x11 --no-default-features.
    3. Install a client of your choice:
      • egui: cargo install clipboard-history-egui --no-default-features --features wayland/x11
      • ratatui: cargo install clipboard-history-tui
      • CLI: cargo install clipboard-history
    4. Add a custom shortcut to start your GUI. See the egui docs for example.
    For systemd

    Install the server and X11 or Wayland services into ~/.config/systemd/user and enable them: systemctl --user enable ringboard-{wayland,x11}.

    For framework-less systems

    You'll need to start the Ringboard server and X11/Wayland clipboard watcher on boot.

    Uninstalling

    Run

    curl -s https://raw.githubusercontent.com/SUPERCILEX/clipboard-history/master/uninstall.sh | bash
    

    Migrating from existing clipboard managers

    Tooling is provided to migrate from other clipboard managers. Run:

    Project breakdown

    Each submodule contains its own README with details on the submodule.

    • cli/: The Ringboard Command Line Interface contains tools for working with the Ringboard database.
    • client-sdk/: The client SDK offers APIs to read and write Ringboard data.
    • core/: The core code shared across many Ringboard crates.
    • egui/: The egui Ringboard client displays clipboard entries in a standard GUI.
    • server/: The Ringboard server writes data to the Ringboard database.
    • tui/: The ratatui Ringboard client displays clipboard entries in your terminal.
    • wayland/: The Wayland clipboard watcher sends new clipboard entries to the Ringboard server.
    • wayland-interface-check/: The Wayland interface checker allows the installation script to use the X11 watcher as a fallback if the user's Wayland compositor does not support the necessary interfaces.
    • x11/: The X11 clipboard watcher sends new clipboard entries to the Ringboard server.