Go BSD-3-Clause

clipboard

clipboard for golang

A

atotto

Dernière activité 26 mars 2026
atotto/clipboard

1,4 k

étoiles

158

forks

37

issues ouvertes

clipboardgo

Ce README est souvent en anglais.

test

GoDoc

Clipboard for Go

Provide copying and pasting to the Clipboard for Go.

Build:

$ go get github.com/atotto/clipboard

Platforms:

  • OSX
  • Windows 7 (probably work on other Windows)
  • Linux, Unix (requires 'xclip' or 'xsel' command to be installed)

Document:

Notes:

  • Text string only
  • UTF-8 text encoding only (no conversion)

TODO:

  • Clipboard watcher(?)

Commands:

paste shell command:

$ go install github.com/atotto/clipboard/cmd/gopaste@latest
$ # example:
$ gopaste > document.txt

copy shell command:

$ go install github.com/atotto/clipboard/cmd/gocopy@latest
$ # example:
$ cat document.txt | gocopy

Projets similaires

Copy and paste between devices

Gocliclipboardcopy-paste
Nnakabonne
816 étoiles29

😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager

C++bashcliclipboard
SSlackadays
5,9 k étoiles177

📋 cross-platform clipboard package that supports accessing text and image in Go (macOS/Linux/Windows/Android/iOS)

Goandroidclipboardclipboard-library
Ggolang-design
863 étoiles83