{"id":25994757,"url":"https://github.com/sebastianmusic/nvimclipboardsyncdaemoncpp","last_synced_at":"2026-04-18T10:38:30.773Z","repository":{"id":276779550,"uuid":"930257933","full_name":"SebastianMusic/nvimClipboardSyncDaemonCpp","owner":"SebastianMusic","description":"Daemon to synchronize system and neovim clipboard between local and remote machine","archived":false,"fork":false,"pushed_at":"2025-03-05T11:03:23.000Z","size":856,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T06:47:53.869Z","etag":null,"topics":["clipboard","cpp","daemon","neovim","nvim","ssh"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SebastianMusic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-10T10:42:11.000Z","updated_at":"2025-03-05T11:03:27.000Z","dependencies_parsed_at":"2025-02-10T12:23:52.127Z","dependency_job_id":"7c227b38-bda6-4540-8929-5a278690d7f2","html_url":"https://github.com/SebastianMusic/nvimClipboardSyncDaemonCpp","commit_stats":null,"previous_names":["sebastianmusic/nvimclipboardsyncdaemoncpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SebastianMusic/nvimClipboardSyncDaemonCpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianMusic%2FnvimClipboardSyncDaemonCpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianMusic%2FnvimClipboardSyncDaemonCpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianMusic%2FnvimClipboardSyncDaemonCpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianMusic%2FnvimClipboardSyncDaemonCpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SebastianMusic","download_url":"https://codeload.github.com/SebastianMusic/nvimClipboardSyncDaemonCpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianMusic%2FnvimClipboardSyncDaemonCpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272100683,"owners_count":24873442,"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-25T02:00:12.092Z","response_time":1107,"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","cpp","daemon","neovim","nvim","ssh"],"created_at":"2025-03-05T15:16:49.059Z","updated_at":"2026-04-18T10:38:30.733Z","avatar_url":"https://github.com/SebastianMusic.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nvim Clipboard Sync Daemon\n\nSync Neovim clipboards between local and remote machines over SSH reverse tunnels.\n\n## Known Dependencies\n\n- `zip`\n\n## Installation (Linux Only)\n\n```bash\n# Clone the necessary repositories\ngit clone https://github.com/SebastianMusic/nvimClipboardSyncDaemonCpp.git /tmp/nvimClipboardSyncBuild \u0026\u0026 \\\ngit clone https://github.com/microsoft/vcpkg /tmp/nvimClipboardSyncBuild/vcpkg \u0026\u0026 \\\n\n# Install vcpkg in the current directory\ncd /tmp/nvimClipboardSyncBuild \u0026\u0026 \\\n/tmp/nvimClipboardSyncBuild/vcpkg/bootstrap-vcpkg.sh \u0026\u0026 \\\n/tmp/nvimClipboardSyncBuild/vcpkg/vcpkg install \u0026\u0026 \\\n\n# Build the daemon\nmkdir /tmp/nvimClipboardSyncBuild/build \u0026\u0026 \\\ncd /tmp/nvimClipboardSyncBuild/build \u0026\u0026 \\\ncmake .. \u0026\u0026 \\\nmake\n```\n\n### Post-Installation\n\nTo make the binary easily executable, move it to a directory in your PATH:\n\n```bash\nmkdir -p ~/.local/bin\nmv /tmp/nvimClipboardSyncBuild/build/nvimClipboardSync ~/.local/bin/\n```\n\nEnsure the directory is included in your PATH:\n\n```bash\n# For Bash users\necho 'export PATH=\"$PATH:$HOME/.local/bin\"' \u003e\u003e ~/.bashrc\n\n# For Zsh users\necho 'export PATH=\"$PATH:$HOME/.local/bin\"' \u003e\u003e ~/.zshrc\n```\n\n### Configuration\n\nEdit the configuration file to specify the command for system clipboard syncing. Common commands are `pbcopy` for macOS and `wl-copy` for Wayland. Ensure the command can handle input piped via stdin (e.g., `echo \"text\" | yourCopyCommand`).\n\n```bash\nmkdir -p ~/.config/nvimClipboardSync/config.toml\necho \u003e\u003e 'copyCmd = \"\"'\nnvim ~/.config/nvimClipboardSync/config.toml\n```\n\n## Usage\n\n1. Start the daemon on your local machine, specifying a port and the `--isLocalMachine` flag:\n\n    ```bash\n    # Start the daemon on the local machine listening on port 3000\n    ./nvimClipboardSync -p 3000 --isLocalMachine \u0026\n    ```\n\n2. SSH into your remote machine, setting up port forwarding:\n\n    ```bash\n    # Forward requests from localhost:2000 on the remote machine to localhost:3000 on the local machine\n    ssh -R 2000:localhost:3000 user@remote-machine\n    ```\n\n3. On the remote machine, start the daemon on the specified port:\n\n    ```bash\n    # Start the daemon on port 2000 on the remote machine\n    ./nvimClipboardSync -p 2000 \u0026\n    ```\n\n**Note:** Install the [companion plugin](https://github.com/SebastianMusic/nvimClipboardSyncPlugin) for Neovim.\n\n### Testing\n\n1. Open Neovim on both the local and remote machines.\n2. Yank text on your local machine and observe its sync to the `\"0` register on the remote machine.\n3. Yank text on your remote machine and see it synchronizing both to your system clipboard (if configured) and the `\"0` register on your local machine.\n\n## Current Limitations\n\n- Currently supports clipboard syncing between one local machine and one remote machine.\n\n## Future Plans\n\n- Streamline installation across multiple operating systems.\n- Enable sync to and from multiple remote machines.\n- Add appropriate licensing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastianmusic%2Fnvimclipboardsyncdaemoncpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastianmusic%2Fnvimclipboardsyncdaemoncpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastianmusic%2Fnvimclipboardsyncdaemoncpp/lists"}