Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atotto/clipboard
clipboard for golang
https://github.com/atotto/clipboard
clipboard go
Last synced: 4 days ago
JSON representation
clipboard for golang
- Host: GitHub
- URL: https://github.com/atotto/clipboard
- Owner: atotto
- License: bsd-3-clause
- Created: 2013-08-26T11:43:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T02:24:21.000Z (almost 1 year ago)
- Last Synced: 2025-01-14T21:09:04.837Z (11 days ago)
- Topics: clipboard, go
- Language: Go
- Size: 48.8 KB
- Stars: 1,254
- Watchers: 16
- Forks: 144
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - atotto/clipboard - 01 star:1.3k fork:0.1k clipboard for golang (Go)
- awesome - clipboard
- awesome-starred-test - atotto/clipboard - clipboard for golang (Go)
- my-awesome-starred - atotto/clipboard - clipboard for golang (Go)
- go-awesome - clipboard - clipboard (Open source library / Not Categorized)
- awesome-golang-repositories - clipboard
README
[![Build Status](https://travis-ci.com/atotto/clipboard.svg?branch=master)](https://travis-ci.com/atotto/clipboard)
[![GoDoc](https://godoc.org/github.com/atotto/clipboard?status.svg)](http://godoc.org/github.com/atotto/clipboard)
# 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 get github.com/atotto/clipboard/cmd/gopaste
$ # example:
$ gopaste > document.txtcopy shell command:
$ go get github.com/atotto/clipboard/cmd/gocopy
$ # example:
$ cat document.txt | gocopy