{"id":20388383,"url":"https://github.com/ntsd/cross-clipboard","last_synced_at":"2025-08-20T06:37:29.497Z","repository":{"id":37464544,"uuid":"477342599","full_name":"ntsd/cross-clipboard","owner":"ntsd","description":"An open source cross-platform clipboard sharing.","archived":false,"fork":false,"pushed_at":"2025-05-17T08:05:26.000Z","size":213444,"stargazers_count":38,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-17T09:18:38.732Z","etag":null,"topics":["clipboard","golang","hacktoberfest","libp2p","p2p","tview"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntsd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-03T12:59:52.000Z","updated_at":"2025-05-17T08:00:07.000Z","dependencies_parsed_at":"2024-10-27T17:38:01.773Z","dependency_job_id":"75d81dfb-3ac9-4104-bbc3-ae0d9bd40d00","html_url":"https://github.com/ntsd/cross-clipboard","commit_stats":{"total_commits":133,"total_committers":1,"mean_commits":133.0,"dds":0.0,"last_synced_commit":"401365948d78d8f57236c08fb139a12a014baee6"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ntsd/cross-clipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fcross-clipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fcross-clipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fcross-clipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fcross-clipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntsd","download_url":"https://codeload.github.com/ntsd/cross-clipboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fcross-clipboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271279103,"owners_count":24731900,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clipboard","golang","hacktoberfest","libp2p","p2p","tview"],"created_at":"2024-11-15T03:09:34.598Z","updated_at":"2025-08-20T06:37:29.397Z","avatar_url":"https://github.com/ntsd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross Clipboard\n\nA multi device clipboard sharing over P2P network.\n\n![Cross Clipboard Preview](/docs/preview-home.jpg)\n\n![Cross Clipboard Preview](/docs/preview-setting.jpg)\n\n## Features\n\n- Share text/image clipboard data (Done) - user can share clipboard data with other devices.\n- P2P connection (Done) - the device will connect to others using the P2P connection.\n- Multicast DNS (Done) - discover a device in the same network with multicast DNS.\n- E2E encryption (Done) - encrypt the clipboard data using OpenPGP.\n- Terminal GUI (Done) - terminal user interface for the end user.\n- Cross-platform desktop (Done) - support Windows, Linux, and Darwin (macOS).\n- Cross-platform mobile (Ongoing) - support iOS and Android.\n\n## Libraries\n\n- [libp2p](https://github.com/libp2p/go-libp2p)\n- [clipboard](https://github.com/golang-design/clipboard)\n- [tview](https://github.com/rivo/tview)\n- [protobuf](https://developers.google.com/protocol-buffers)\n\n## Installation\n\n### Homebrew tap install\n\n```shell\nbrew tap ntsd/cross-clipboard\nbrew install cross-clipboard\n```\n\n### Binary File (MacOS, Windows, Linux)\n\nDownload from the release page \u003chttps://github.com/ntsd/cross-clipboard/releases\u003e.\n\n### Go install\n\nfor Go user you can just install using go package\n\nRequired: Go 1.23 or above\n\n```shell\ngo install github.com/ntsd/cross-clipboard@latest\n```\n\n### Headless Linux\n\nfor headless linux you might need to install `xvfb`.\n\n```shell\n# install libx11-dev abd Xvfb\nsudo apt install -y libx11-dev xvfb\n\n# initialize a virtual frame buffer (can put in .profile)\nXvfb :99 -screen 0 1024x768x24 \u003e /dev/null 2\u003e\u00261 \u0026\nexport DISPLAY=:99.0\n```\n\n## Run\n\nUI mode\n\n`cross-clipboard`\n\nTerminal mode\n\n`cross-clipboard -t`\n\n## Development\n\n```shell\ngit clone https://github.com/ntsd/cross-clipboard\ngo run main.go\n```\n\n## Build\n\n### Build Desktop\n\n`go build .`\n\n### Build Mobile (Ongoing)\n\n- Install NDK \u003e=21.3.6528147\n\n- Install Go mobile\n\n```shell\ngo install golang.org/x/mobile/cmd/gomobile@latest\n```\n\n`gomobile build mobile/...`\n\n### Protobuf gen\n\nGenerate a protobuf go file using protoc\n\n`protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative data.proto`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fcross-clipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntsd%2Fcross-clipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fcross-clipboard/lists"}