{"id":17041664,"url":"https://github.com/xlab/clipboard","last_synced_at":"2026-05-07T17:39:14.152Z","repository":{"id":17343100,"uuid":"20114461","full_name":"xlab/clipboard","owner":"xlab","description":"Clipboard for Go (go-qml applications, uses Qt)","archived":false,"fork":false,"pushed_at":"2015-07-23T11:21:15.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T09:02:32.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-23T21:22:55.000Z","updated_at":"2019-05-23T00:13:54.000Z","dependencies_parsed_at":"2022-07-26T16:15:15.290Z","dependency_job_id":null,"html_url":"https://github.com/xlab/clipboard","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xlab/clipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fclipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fclipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fclipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fclipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab","download_url":"https://codeload.github.com/xlab/clipboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fclipboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095302,"owners_count":23108782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:13:08.311Z","updated_at":"2026-05-07T17:39:09.132Z","avatar_url":"https://github.com/xlab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Clipboard for Go ([go-qml](http://godoc.org/gopkg.in/qml.v1) applications)\n\nUses Qt's facilities to store or load text in/out of the clipboard. This branch utilizes `qml.Common` to make calls to QClipboard wrapper. This way is a little slower (than [master](https://github.com/xlab/clipboard/tree/master)), but code is much cleaner and tends to be safer.\n\n### Installation:\n\nSee the [requirements](https://github.com/go-qml/qml/tree/master) of go-qml. If they're met and `PKG_CONFIG_PATH` is set:\n\n    $ go get gopkg.in/xlab/clipboard.v2\n\n### Platforms:\n\nThis clipboard package can be used on all platforms that are supported by go-qml. Requires installed `gopkg.in/qml.v1` package (N.B. `clipboard.v1` depends on `qml.v0` respectively).\n\n### Doc: \n\n* http://godoc.org/gopkg.in/xlab/clipboard.v2\n\n### Additional info:\n\nThe package [atotto/clipboard](https://github.com/atotto/clipboard) might be incompatible with go-qml machinery, see progress on [Issue #26](https://github.com/go-qml/qml/issues/26).\nThis package utilizes CGO and `qml.Common` in order to use `QApplication::clipboard`. Also the benchmarks are better:\n\n```\nBenchmarkReadAll      200000          9770 ns/op\nBenchmarkWriteAll      10000        185354 ns/op\nok      github.com/xlab/clipboard.v2   5.079s\n```\n\n```\nBenchmarkReadAll\t     100\t  20067708 ns/op\nBenchmarkWriteAll\t     100\t  19592142 ns/op\nok  \tgithub.com/atotto/clipboard\t4.119s\n```\n\nLicense is [MIT](http://xlab.mit-license.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fclipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab%2Fclipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fclipboard/lists"}