npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tabby-multi-clipboard

v1.1.1

Published

Tabby plugin to manage multiple clipboards - Tabby 多剪贴板管理插件

Readme

Tabby Multi Clipboard Plugin

Plugin Introduction

Tabby Multi Clipboard Plugin is a clipboard management plugin designed for Tabby Terminal. It provides multiple independent clipboards that are separate from the system clipboard, allowing users to copy and paste multiple pieces of content without overwriting each other.

Main Features

  1. Multiple Independent Clipboards

    • Provides 9 visible clipboards for storing different content
    • Uses a separate temporary clipboard (clipboard 0) for the "Paste Selected Content" feature
    • All clipboards are independent of the system clipboard
  2. Right-click Menu Integration

    • Adds "Copy to Multi Clipboard" option to the terminal right-click menu
    • Adds "Paste from Multi Clipboard" option with submenu for each clipboard
    • Adds "Paste Selected Content" option for quick pasting of selected text
  3. Content Preview and Management

    • Displays clipboard content in the menu (up to 100 characters)
    • Shows "空" (empty) for empty clipboards
    • Provides confirmation dialog for multi-line content pasting
  4. Smart Content Handling

    • Automatically normalizes line endings (converts \r\n to \n)
    • Preserves original formatting for pasted content
    • Focus returns to terminal after pasting
  5. Multi-language Support

    • Supports multiple languages: English, Chinese (Simplified/Traditional), Japanese, Korean, Russian, German, French
    • Menu and dialog texts automatically adapt to Tabby's language settings
    • Properly localized for different regions

Installation Method

  1. Copy the compiled dist folder contents to the Tabby plugin directory
    • Windows: %APPDATA%\tabby\plugins\node_modules\tabby-multi-clipboard\
  2. Restart Tabby Terminal
  3. Right-click on the terminal to see the multi-clipboard menu options

Build Method

cd tabby-multi-clipboard
npm install
npm run build

Usage Method

  1. Copy to Multi Clipboard

    • Select text in the terminal
    • Right-click and select "Copy to Multi Clipboard"
    • Choose a clipboard (1-9) from the submenu
    • The selected text will be stored in the chosen clipboard
  2. Paste from Multi Clipboard

    • Right-click and select "Paste from Multi Clipboard"
    • Choose a clipboard from the submenu
    • For single-line content: directly pastes to the terminal
    • For multi-line content: shows a confirmation dialog before pasting
  3. Paste Selected Content

    • Select text in the terminal
    • Right-click and select "Paste Selected Content"
    • The selected text will be pasted immediately
    • Uses a temporary clipboard that is cleared after pasting

Disclaimer

⚠️ Important Notice

This plugin was written by AI and is not an official plugin. The author has limited knowledge of TypeScript programming, so code quality and testing may be insufficient.

Risk Warnings

  1. Insufficient Testing: Due to the author's lack of TypeScript development experience, the plugin may have undiscovered bugs
  2. System Impact: Modifying clipboard behavior may affect system operations
  3. Production Environment: It is strongly recommended not to use this plugin in formal production environments

Usage Restrictions

  • For learning and personal testing purposes only
  • The user assumes full responsibility for any consequences caused by using this plugin
  • If you need clipboard management functionality in production environments, please use mature official or third-party solutions

Feedback and Support

  • If you have feedback issues, the author will try to solve them within their ability
  • Due to limited technical level, the resolution time may be longer
  • It is recommended to submit issues through the code repository or contact the author directly

Code License

This plugin uses the MIT License, which is a very permissive open-source license:

  • You can freely use, modify, and distribute this plugin
  • Can be used for personal or commercial projects
  • Only need to retain the original copyright notice and license information
  • No warranty or liability is provided

Please refer to the LICENSE file in the project root directory for detailed license information.


Technical Description

This plugin is implemented using the following technologies:

  • ClipboardManager: Manages multiple clipboard contents and operations
  • TabContextMenuItemProvider: Provides right-click menu options
  • NgbModal: Creates confirmation dialogs for multi-line content
  • Angular Components: Implements dialog UI and functionality
  • TranslateService: Provides multi-language support

File Structure

src/
├── clipboardManager.ts    # Clipboard management logic
├── index.ts               # Module entry and registration
├── menu.ts                # Right-click menu and dialog components
└── translations.ts        # Multi-language translation strings

Changelog

v1.1.1

  • Fix multi-language support issue to avoid overwriting system translations

v1.1.0

  • Add multi-language support (Chinese, English, Japanese, Korean, French, German, Russian)

v1.0.0

  • Initial version
  • Support 9 independent clipboards
  • Support right-click menu integration
  • Support multi-line content confirmation dialog
  • Support line ending normalization
  • Support "Paste Selected Content" feature

Tabby 多剪贴板插件

插件介绍

Tabby Multi Clipboard Plugin 是一个为 Tabby Terminal 设计的剪贴板管理插件,提供多个独立于系统剪贴板的剪贴板,允许用户复制和粘贴多个内容而不会相互覆盖。

主要功能

  1. 多个独立剪贴板

    • 提供 9 个可见剪贴板用于存储不同内容
    • 使用单独的临时剪贴板(剪贴板 0)用于「粘贴选择内容」功能
    • 所有剪贴板都独立于系统剪贴板
  2. 右键菜单集成

    • 在终端右键菜单中添加「复制到多剪贴板」选项
    • 添加「从多剪贴板粘贴」选项,带有每个剪贴板的子菜单
    • 添加「粘贴选择内容」选项,用于快速粘贴选中的文本
  3. 内容预览和管理

    • 在菜单中显示剪贴板内容(最多 100 个字符)
    • 为空剪贴板显示「空」
    • 为多行内容粘贴提供确认对话框
  4. 智能内容处理

    • 自动标准化行尾(将 \r\n 转换为 \n)
    • 保留粘贴内容的原始格式
    • 粘贴后焦点返回终端
  5. 多语言支持

    • 支持多种语言:英语、中文(简体)、日语、韩语、法语、德语、西班牙语、俄语
    • 菜单和对话框文本会自动适应 Tabby 的语言设置
    • 为不同地区提供适当的本地化

安装方法

  1. 将编译后的 dist 文件夹内容复制到 Tabby 插件目录
    • Windows: %APPDATA%\tabby\plugins\node_modules\tabby-multi-clipboard\
  2. 重启 Tabby Terminal
  3. 在终端上右键即可看到多剪贴板菜单选项

编译方法

cd tabby-multi-clipboard
npm install
npm run build

使用方法

  1. 复制到多剪贴板

    • 在终端中选择文本
    • 右键并选择「复制到多剪贴板」
    • 从子菜单中选择一个剪贴板(1-9)
    • 选中的文本将存储在选定的剪贴板中
  2. 从多剪贴板粘贴

    • 右键并选择「从多剪贴板粘贴」
    • 从子菜单中选择一个剪贴板
    • 对于单行内容:直接粘贴到终端
    • 对于多行内容:在粘贴前显示确认对话框
  3. 粘贴选择内容

    • 在终端中选择文本
    • 右键并选择「粘贴选择内容」
    • 选中的文本将立即粘贴
    • 使用粘贴后会清除的临时剪贴板

免责声明

⚠️ 重要提示

本插件由 AI 编写,非官方插件。作者本人对 TypeScript 编程了解有限,代码质量和测试可能存在不足。

风险提示

  1. 测试不足:由于作者缺乏 TypeScript 开发经验,插件可能存在未发现的 bug
  2. 系统影响:修改剪贴板行为可能影响系统操作
  3. 正式环境强烈建议不要在正式生产环境中使用本插件

使用限制

  • 仅供学习和个人测试使用
  • 使用本插件造成的一切后果由使用者自行承担
  • 如需在生产环境中使用剪贴板管理功能,请使用成熟的官方或第三方解决方案

反馈与支持

  • 如有反馈问题,作者会在能力范围内尽量解决
  • 由于技术水平有限,解决时间可能较长
  • 建议通过代码仓库提交 issue 或直接联系作者

代码协议

本插件采用 MIT 许可证,这是一个非常宽松的开源协议:

  • 您可以自由使用、修改和分发本插件
  • 可以用于个人或商业项目
  • 只需保留原始版权声明和许可证信息
  • 不提供任何担保或责任

详细许可证信息请参考项目根目录的 LICENSE 文件。


技术说明

本插件使用以下技术实现:

  • ClipboardManager:管理多个剪贴板内容和操作
  • TabContextMenuItemProvider:提供右键菜单选项
  • NgbModal:为多行内容创建确认对话框
  • Angular Components:实现对话框 UI 和功能
  • TranslateService:提供多语言支持

文件结构

src/
├── clipboardManager.ts    # 剪贴板管理逻辑
├── index.ts               # 模块入口和注册
├── menu.ts                # 右键菜单和对话框组件
└── translations.ts        # 多语言翻译字符串

更新日志

v1.1.1

  • 修复多语言支持问题,避免覆盖系统翻译

v1.1.0

  • 添加多语言支持(中文、英语、日语、韩语、法语、德语、俄语)

v1.0.0

  • 初始版本
  • 支持 9 个独立剪贴板
  • 支持右键菜单集成
  • 支持多行内容确认对话框
  • 支持行尾标准化
  • 支持「粘贴选择内容」功能