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-ssh-image-clipboard

v0.1.0

Published

Paste clipboard images to remote SSH servers via SFTP for Tabby terminal

Readme

Tabby SSH Image Clipboard

npm version License: MIT

Paste clipboard images directly to remote SSH servers via SFTP in Tabby terminal.

Demo

Why?

When using AI coding assistants like Claude Code or OpenCode on remote servers, sharing screenshots is painful. You have to manually upload images via SCP/SFTP, find the path, and type it out. This plugin eliminates all of that — just copy an image and paste it.

Features

  • One-key pasteCtrl+Shift+V (Tabby's default paste hotkey) uploads clipboard images via SFTP and outputs the quoted file path to terminal
  • Smart detection — Only triggers when the clipboard contains an image. If there's no image, normal text paste behavior is preserved
  • Zero configuration — Works out of the box with any SSH connection that supports SFTP
  • Split tab support — Works with Tabby's split pane layout, correctly detecting the active SSH session
  • Configurable notifications — Optional success/error notifications (can be toggled in settings)

How It Works

  1. You press Ctrl+Shift+V while in an SSH tab
  2. The plugin checks if the clipboard contains an image
  3. If yes: converts to PNG → uploads via SFTP to /tmp/clipboard_<timestamp>.png → types the quoted path into the terminal
  4. If no: falls through to Tabby's normal text paste

The uploaded image path is automatically quoted (e.g., "/tmp/clipboard_1234567890.png"), so you can directly use it as an argument for CLI tools or AI assistants.

Installation

From Tabby Plugin Manager (Recommended)

  1. Open Tabby Settings
  2. Go to Plugins
  3. Search for tabby-ssh-image-clipboard
  4. Click Install
  5. Restart Tabby

From npm

npm install -g tabby-ssh-image-clipboard

From Source

git clone https://github.com/coderredlab/tabby-ssh-image-clipboard.git
cd tabby-ssh-image-clipboard
npm install
npm run build

Then link it to Tabby's plugin directory:

Windows:

npm link
cd %APPDATA%\tabby\plugins
npm link tabby-ssh-image-clipboard

macOS/Linux:

npm link
cd ~/.config/tabby/plugins
npm link tabby-ssh-image-clipboard

Restart Tabby after linking.

Usage

  1. Connect to an SSH server in Tabby
  2. Copy an image to your clipboard (screenshot, browser image, etc.)
  3. Press Ctrl+Shift+V
  4. The image is uploaded to /tmp/clipboard_<timestamp>.png on the remote server
  5. The quoted file path appears in your terminal, ready to use

Example with Claude Code

$ claude
> Here's the screenshot of the error: "/tmp/clipboard_1707500000000.png"

Settings

Open Tabby Settings → PluginsClipboard Sync:

| Setting | Default | Description | |---------|---------|-------------| | Enabled | true | Enable or disable the plugin | | Show Notifications | true | Show success/error toast notifications |

Requirements

  • Tabby 1.0.x or later
  • SSH server with SFTP support
  • Remote server with a writable /tmp/ directory (Linux/macOS)

Troubleshooting

Image paste not working

  • Make sure you're in an active SSH tab (not a local terminal)
  • Check that the SSH connection supports SFTP
  • Verify the plugin is enabled in Settings → Plugins → Clipboard Sync

Nothing happens on Ctrl+Shift+V

  • If the clipboard has no image, Tabby performs a normal text paste — this is expected behavior
  • Check that the SSH session is fully connected (wait for the shell prompt)

Permission denied on remote server

  • Ensure /tmp/ is writable on the remote server
  • Some hardened servers may restrict SFTP access

Building from Source

npm install          # Install dependencies
npm run build        # Production build → dist/index.js
npm run watch        # Development build with file watching
npm run lint         # Run ESLint

License

MIT