Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

clipboard

> 开发工具
Open source

clipboard for golang

1.4K stars0 likes2 views
WebsiteGitHub

About

clipboard for golang

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:

  • http://godoc.org/github.com/atotto/clipboard

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goclipboardgo

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具