clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

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

Results 33 clipboard issues
Sort by recently updated
recently updated
newest added

in the win ,normal exe ,is work good but in the win service is not work same code can't read and watch

WaitingForInfo

(1. https://github.com/golang/go/issues/26445 2. https://github.com/golang/go/issues/33254 )

I have been using clipboard to build a small personal application as a replacement for xclip. The first time I built and tested the application, it threw this error: ```...

help wanted
NeedsInvestigation
platform-specific

Did you consider using https://github.com/BurntSushi/xgb which is Cgo free/native binding to XCB? I am not sure though, but it should be possible to rewrite with XCB instead of Xlib so...

enhancement
NeedsInvestigation
platform-specific

Hey @changkun, Thank you for your great work. I am wondering how hard it would be to implement the equivalent of the `-l, -loops` switch of xclip (X11Β tool on...

enhancement
platform-specific

Hey quick question. Are there plans to support wayland in the future? Thank you for you time :)

help wanted
NeedsInvestigation
platform-specific

Currently, we only support UTF-8 text and PNG-encoded image data. However, there are much more formats than that. Let's support registering custom format and handlers so that this package can...

enhancement
NeedsInvestigation

Image from [file_example_PNG_500kB.png](https://file-examples.com/storage/fec71f2ebe65d8e339e8b9c/2017/10/file_example_PNG_500kB.png) ```console ➜ ~ go install golang.design/x/clipboard/cmd/gclip@latest ➜ ~ gclip -copy -f ~/Downloads/file_example_PNG_500kB.png ``` Takes 10-30 seconds to copy it to clipboard ```console ➜ ~ cat /etc/os-release PRETTY_NAME="Ubuntu...

```go package main import ( "bytes" "image" "image/png" "os" "golang.design/x/clipboard" _ "image/jpeg" ) func main() { if err := clipboard.Init(); err != nil { panic(err) } // open some jpeg...

invalid