SShortSingh.
Back to feed

Developer builds sshpic to paste local screenshots directly into remote SSH sessions

0
·1 views

A developer has released sshpic, an open-source tool that streamlines sharing screenshots between a local Mac and a remote SSH session. The tool was created to eliminate the cumbersome multi-step process of saving a screenshot, transferring it via SCP, and manually pasting the remote file path into a terminal coding agent. When a user presses Cmd+V inside an iTerm2 SSH session, sshpic reads the local clipboard, uploads any image to the remote host over SSH, and inserts the resulting remote path directly into the active terminal. The tool is intentionally scoped to macOS users running iTerm2 with real SSH connections, and performs no cloud uploads nor requires any installation on the remote machine. The developer has cautioned users to be mindful of sensitive content in screenshots, such as passwords or API keys, and has invited feedback from those working with remote SSH coding-agent workflows.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Proposes 'Library of Websites' to Catalog the Entire Internet

A developer raised a discussion on DEV Community questioning whether a structured, browsable database of all active websites on the internet currently exists. Unlike search engines that rank results by popularity, the proposed platform would focus on discovery, allowing users to explore websites regardless of their traffic or prominence. The concept would require website owners to install a verification snippet, similar to Google Search Console, to register their sites in the database. The developer acknowledged key open questions around technical feasibility, owner participation, and whether voluntary registration is the right approach. The post invites community feedback on whether such a platform already exists and how it could realistically be built.

0
ProgrammingDEV Community ·

How to Bundle, Manage, and Self-Update a CLI Sidecar Binary in Tauri v2

A developer building a Tauri v2 desktop app has shared a detailed walkthrough on bundling external CLI binaries — specifically the reverse-proxy client frpc — as sidecars within the application. The process involves declaring the binary in tauri.conf.json and placing platform-specific named files so Tauri can automatically load the correct one at runtime. The guide covers spawning the sidecar via tauri_plugin_shell, storing the process handle for clean termination, and avoiding the common mistake of treating a successful spawn as proof the process is functional. To confirm real connectivity, the author polls frpc's admin API with exponential backoff, only marking the app as connected after a healthy response. The post also outlines a self-update flow that downloads a new binary, verifies its SHA256 checksum, and atomically swaps the old file — all without requiring a full app reinstall.

0
ProgrammingDEV Community ·

Spring AI Graph Offers Developers a Fix for Unstable Multi-Agent AI Loops

Developers building enterprise AI systems are warned against unconstrained ReAct loops, which can lead to infinite cycles, unpredictable failures, and wasted cloud costs. The recommended approach is to model multi-agent workflows as deterministic, cyclic graphs where Java code governs state transitions rather than leaving decisions to the language model. Spring AI 1.2.0 introduces a StatefulGraph API that handles state persistence and thread-safe concurrent transitions natively. Developers are advised to use lightweight models for routing and reserve more capable reasoning models only for complex tasks within individual nodes. This architecture is claimed to reduce token usage by up to 40% compared to traditional prompt-driven ReAct patterns.

Developer builds sshpic to paste local screenshots directly into remote SSH sessions · ShortSingh