# atotto/clipboard

clipboard for golang

Repository: https://github.com/atotto/clipboard
Canonical: https://ross.abutalabs.com/products/atotto-clipboard
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: go, clipboard
Last push: 2026-03-26T01:19:54+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 35, longevity 100
- inputs: {"age_days": 4755, "days_push": 161, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1380, forks 159 (observed 2026-08-28T04:04:33.781557+00:00)

## What it is
A Go library providing simple cross-platform clipboard access for copying and pasting UTF-8 text. It also ships gocopy and gopaste command-line utilities for shell-based clipboard operations.

## Use cases
- copy text to the system clipboard from a Go program
- paste clipboard contents into a Go application
- read and write clipboard across macOS, Windows, and Linux
- pipe shell output to the clipboard with gocopy
- dump clipboard contents to a file with gopaste

## When to choose
- you need simple text-only clipboard access in Go across major platforms
- you want lightweight shell commands to copy or paste from the command line
- your app only needs UTF-8 text, not images or rich content

## When to avoid
- you need image, file, or rich-content clipboard support
- you need clipboard change watching or event notifications
- on Linux you cannot rely on xclip or xsel being installed

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, cli
- domain: developer-tools, cross-platform
- platform: go, windows, cli, cross-platform
- tags: clipboard, copy-paste, utf-8, system-integration, command-line, macos, linux

## Member repositories
- atotto/clipboard (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.781557+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:14.233147+00:00, confidence not recorded.
  - readme: https://github.com/atotto/clipboard (fetched 2026-08-28T04:04:33.781557+00:00, sha ebbfb0bf6ff3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
